html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f7fafd 0%, #e3f0fa 100%);
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-bar {
    width: 100%;
    background: linear-gradient(120deg, #2f80ed 0%, #4f9bff 52%, #79b8ff 100%);
    color: #f8fbff;
    box-shadow: 0 4px 18px rgba(13, 110, 253, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-brand {
    display: flex;
    align-items: center;
}

.header-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
    padding: 0.38rem 0.78rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(0, 0, 0, 0.03) 100%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 3px 8px rgba(8, 43, 98, 0.11),
        0 1px 2px rgba(10, 37, 77, 0.1);
    backdrop-filter: blur(1px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.header-home-link:hover .header-brand-mark,
.header-home-link:focus .header-brand-mark {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 4px 10px rgba(8, 43, 98, 0.13),
        0 1px 2px rgba(10, 37, 77, 0.11);
    filter: brightness(1.03);
}

.header-brand-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.header-brand-text {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-logo {
    height: 40px;
    margin-right: 1rem;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.header-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.header-user-info {
    min-width: 176px;
    text-align: left;
    color: #fff;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
    padding: 0.4rem 0.58rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.056) 0%, rgba(255,255,255,0.021) 100%);
    border: 1px solid rgba(255,255,255,0.112);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.077);
    height: 74px;
    box-sizing: border-box;
}

.header-user-info .logout-btn {
    font-size: 0.82rem;
    color: #fff;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.24);
    cursor: pointer;
    padding: 0.15rem 0.45rem;
    border-radius: 7px;
    font-weight: 700; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-user-info .logout-btn:hover {
    color: #ffd700;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.34);
    transform: translateY(-1px);
}

.company-header-logo {
    display: block;
    flex: 0 0 auto;
    align-self: center;
    vertical-align: middle;
    height: 52px;
    width: auto;
    margin: 0 1rem;
    border-radius: 8px;
    background: transparent;
    border: 0;
    box-shadow:
        0 8px 16px rgba(10, 37, 77, 0.22),
        0 2px 5px rgba(10, 37, 77, 0.18);
    object-fit: contain;
    max-width: 173px;
    padding: 0;
    transform: none;
    transform-origin: center;
    transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.company-header-logo:hover {
    box-shadow:
        0 10px 18px rgba(10, 37, 77, 0.24),
        0 3px 6px rgba(10, 37, 77, 0.2);
    filter: brightness(1.02);
}

.logout-wrap {
    font-size: 0.95em;
    margin-top: 2px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 105;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    transition: background-color 0.3s, transform 0.3s;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
}
.menu-overlay.open {
    display: block;
    opacity: 1;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -500px;
    width: 250px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.12);
    z-index: 103;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.35s cubic-bezier(.77,0,.18,1);
}

.card,
.card-body {
    border: 1px solid #dfe7f5;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.05);
}

.card-body {
    padding: 1.25rem;
    color: #4b5563;
    text-align: left;
}

.card table {
    width: 100%;
    border-collapse: collapse;
    background: inherit;
    border: 1px solid #dfe7f5;
    border-radius: 8px;
    overflow: hidden;
}

.card table th,
.card table td {
    border-color: #e4e8f2;
    padding: 0.65rem 0.85rem;
    background: #ffffff;
    color: #111827;
}

.card table thead th {
    background: #f8fafc;
    font-weight: 600;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tz-switcher {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.4rem 0.58rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.056) 0%, rgba(255,255,255,0.021) 100%);
    border: 1px solid rgba(255,255,255,0.112);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.077);
    min-width: 176px;
    height: 74px;
    box-sizing: border-box;
}

.tz-label {
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.tz-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    border: 1px solid rgba(255,255,255,0.5);
}

.tz-select {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.55);
    color: #0f2f57;
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 4px 9px;
    min-width: 176px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(8, 43, 98, 0.12);
}

.tz-select option {
    color: #1f2a37;
}
.side-menu.open {
    right: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #2563eb;
    align-self: flex-end;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover {
    color: #d32f2f;
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.main-menu li {
    margin-bottom: 1.1rem;
}
.main-menu li:last-child {
    margin-bottom: 0;
}
.main-menu a,
.main-menu .logout-btn {
    background: none;
    border: none;
    color: #222;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: inherit;
    padding: 0.3em 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, transform 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    width: 100%;
}
.main-menu a:hover,
.main-menu .logout-btn:hover {
    color: #2563eb;
    background: none;
    text-decoration: none;
    transform: translateX(2px);
}
.main-menu a.active {
    color: #fff !important;
    background: linear-gradient(90deg, #60aaff 0%, #2563eb 100%);
    border-radius: 6px;
    padding: 0.3em 1em;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(38,99,235,0.08);
    font-weight: 600;
}
.main-menu .menu-logout {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(37, 99, 235, 0.12);
}
.main-menu .menu-logout form {
    display: block;
    width: 100%;
}
.main-menu .menu-logout .logout-btn {
    color: #b42318;
    background: #fff1f0;
    border: 1px solid rgba(180, 35, 24, 0.18);
    align-items: center;
    justify-content: center;
    text-align: center;
}
.main-menu .menu-logout .logout-btn:hover {
    color: #7a1d15;
    background: #ffe4e6;
    transform: none;
}
.menu-icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    align-items: center;
    justify-content: center;
    flex: 0 0 1em;
}
.menu-icon svg {
    width: 1em;
    height: 1em;
    display: block;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 22, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1200;
    padding: 1.5rem;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    background: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 1.5rem 1.5rem 1.25rem 1.5rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(37, 99, 235, 0.08);
}
.modal-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
}
.modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff1f0;
    color: #b42318;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.modal-card h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #101828;
}
.modal-card p {
    margin: 0 0 1.25rem 0;
    color: #475467;
    line-height: 1.45;
}
.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.modal-btn {
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.modal-btn.secondary {
    background: #f2f4f7;
    color: #344054;
}
.modal-btn.secondary:hover {
    background: #e4e7ec;
}
.modal-btn.danger {
    background: linear-gradient(90deg, #d92d20 0%, #b42318 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(217, 45, 32, 0.25);
}
.modal-btn.danger:hover {
    transform: translateY(-1px);
}

main {
    flex: 1 0 auto;
}

.footer-bar {
    width: 100%;
    color: #eef6ff;
    text-align: center;
    padding: 1rem 0;
    border-top: none;
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(120deg, #79b8ff 0%, #4f9bff 50%, #2f80ed 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.footer-bar a {
    color: #ffffff;
}
.footer-bar a:hover {
    color: #e6f0ff;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}
.footer-container::before {
    content: "";
    display: block;
    margin: 0 auto 1rem auto;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}


/*
    The logo and "InfoCloud" are clickable as a single link.
    The underline appears only on hover or focus.
    No inline styles are used.
*/
.header-home-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.header-home-link:hover,
.header-home-link:focus {
    text-decoration: none;
    color: inherit;
}

.main-content {
    margin: 2.5rem 3% 2rem 3%;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(38,99,235,0.07), 0 1.5px 6px rgba(67,206,162,0.06);
    transition: box-shadow 0.2s;
}
.page-instructions {
    background: #f1f7ff;
    border: 1px solid #d6e6ff;
    color: #1f2a37;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.tz-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-content h1 {
    color: #2563eb;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-shadow:
        0 2px 8px rgba(38,99,235,0.10),
        0 1px 2px rgba(38,99,235,0.08);
    background: linear-gradient(90deg, #2563eb 10%, #3977be 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* fallback for non-webkit browsers */
    filter: brightness(1.1);
    padding-bottom: 0.3em;
    border-bottom: 2.5px solid #2563eb33;
    border-radius: 2px;
    display: inline-block;
    transition: text-shadow 0.2s, filter 0.2s;
}

/* Global table zebra (blue/white) */
.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #e7f1ff !important;
}
.table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: #ffffff !important;
}
.table-hover > tbody > tr:hover > * {
    background-color: #dbe9ff !important;
}
