@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cal+Sans&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --bg-page: #f3f4f6;
    --bg-card: #ffffff;
    --border-subtle: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-link: #4b5563;
    --text-link-hover: #111827;
    --light-blue: #6099b9;
    --color-white: #ffffff;
    --gray-blue: #f6f5f5;
    --midnight-navy: #002855;
    --gray-slate: #5c677d;
    --deep-blue: #001233;
    --navy-dark: #001745;
    --vivid-blue: #0366c8;
    --classic-navy: #023e7d;
    --steel-gray: #33415c;
    --cool-gray: #fdfcfc;
    --accent-blue: #639ebf;
    --accent-blue-dark: #3c708e;
    --accent-blue-dark-1: #4f89a8;
    --accent-blue-dark-2: #3c708e;
    --accent-blue-dark-3: #2b5875;
    --accent-blue-dark-4: #1d405b;
}

* {
    font-family: 'Cal Sans';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
}

/* ------------------------------------------------------ */
/* NAVBAR */
/* ------------------------------------------------------ */

.top-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    width: 100%;
    color: var(--accent-blue-dark-4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 1000;
    background: #ffffff00;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.top-nav-container.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}

.top-nav {
    width: 1500px;
    max-width: 1500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cal Sans';
    position: relative;
    overflow: hidden;
    font-weight: bold;
    font-size: 17px;
    font-family: 'Outfit';
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
}

.logo:hover {
    text-decoration: none;
}

.logo:hover::before {
    animation: shimmer 2s ease;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.logo-text {
    display: flex;
    justify-items: left;
    align-items: center;
    margin-left: 5px;
    color: #3c708e;
}

@media (max-width: 750px) {
    .logo-text {
        display: none;
    }
}

.topnav-title {
    font-size: 16px;
    font-weight: bold;
}

/* ------------------------------------------------------ */
/* SEARCH BAR */
/* ------------------------------------------------------ */

.right-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: clamp(435px, 45vw, 500px);
    align-items: center;
}

.wrap {
    min-width: 0;
}

.searchbar {
    position: relative;
    width: 100%;
}

.pill {
    width: 100%;
    display: flex;
    align-items: center;
    height: 36px;
    background: #ffffff5b;
    border: 1px solid #dfe1e5;
    border-radius: 9999px;
    padding: 0 14px;
    overflow: hidden;
}

.pill:has(input:focus) {
    border-color: #c6dafc;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.18), 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.1);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #9aa0a6;
    margin-right: 8px;
}

.pill input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    line-height: 1;
    margin: 0;
    color: #202124;
}

.pill input::placeholder {
    color: #9aa0a6;
}

input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.clear-btn {
    display: none;
    width: 15px;
    height: 15px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: #9aa0a6;
    color: #fff;
    cursor: pointer;
    margin-left: 8px;
    align-items: center;
    justify-content: center;
}

.clear-btn i {
    font-size: 12px;
    line-height: 1;
}

.clear-btn.visible {
    display: inline-flex;
}

.clear-btn:hover {
    background: #5f6368;
}

.clear-btn:focus-visible {
    outline: 2px solid #c6dafc;
    outline-offset: 2px;
}

.panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: none;
    z-index: 50;
    overflow: hidden;
}

.panel.visible {
    display: block;
}

.list {
    max-height: 60vh;
    overflow: auto;
}

.title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-btn {
    border: 0;
    background: transparent;
    padding: 8px;
    border-radius: 10px;
    color: #1f3d52;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    display: none;
}

.toggle-btn:hover {
    background: #f1f3f4;
}

/* ------------------------------------------------------ */
/* MAIN */
/* ------------------------------------------------------ */

.main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* .main-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
} */

.main-container::before,
.main-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
    pointer-events: none;
}

.main-container::before {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version1.jpg');
    animation: fade-bg-1 30s infinite linear;
}

.main-container::after {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version2.jpg');
    animation: fade-bg-2 30s infinite linear;
}

@keyframes fade-bg-1 {
    0% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version1.jpg');
    }
    20% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version1.jpg');
    }
    30% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version1.jpg');
    }
    50% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version3.jpg');
    }
    60% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version3.jpg');
    }
    80% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version3.jpg');
    }
    90% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version3.jpg');
    }
    100% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version3.jpg');
    }
}

@keyframes fade-bg-2 {
    0% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version2.jpg');
    }
    20% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version2.jpg');
    }
    30% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version2.jpg');
    }
    50% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version2.jpg');
    }
    60% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version2.jpg');
    }
    80% {
        opacity: 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version1.jpg');
    }
    90% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version1.jpg');
    }
    100% {
        opacity: 1;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 5%, rgba(255, 255, 255, 0) 50%, var(--bg-page) 100%), url('../media/wave-version1.jpg');
    }
}

.main {
    width: 1500px;
    max-width: 1500px;
    height: 100vh;
}

/* ------------------------------------------------------ */
/* SECTION */
/* ------------------------------------------------------ */

.section-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section {
    width: 800px;
    height: 500px;
}

.banner-container {
    padding: 100px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-text {
    font-size: 30px;
    color: var(--accent-blue-dark-4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.subhead-text {
    font-weight: 100;
    font-size: 10px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.buttons-container button {
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    outline: none;
}

.buttons-container button:first-child {
    background: #081821;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.buttons-container button:last-child {
    background: rgba(255, 255, 255, 0.25);
    color: #032733;
    border-color: #032733;
}

.buttons-container button:first-child:hover {
    background: #053446;
}

.buttons-container button:last-child:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------ */
/* LOGIN */
/* ------------------------------------------------------ */

.table-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(100deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.75));

    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    padding: 24px;
    overflow: hidden;
}

table {
    width: 300px;
    border-collapse: collapse;
}

.text-container {
    padding: 10px;
}

.text-container a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.15s ease-out;
}

.text-container a:hover {
    color: var(--text-link-hover);
}

.text {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3c708e;
    font-family: 'Cal Sans';
    font-weight: bold;
    font-size: 30px;
}

.text-1 {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3c708e;
    font-family: 'Outfit';
    font-weight: 400;
}

.text-2 {
    color: #3c708e;
    font-family: 'Outfit';
    font-weight: 300;
    text-align: center;
}

.smalltext {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3c708e;
    font-family: 'Cal Sans';
    font-weight: bold;
    font-size: 10px;
}

.input-container {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.input {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    border: 1px solid var(--accent-blue);
    overflow: hidden;
}

.input-container i {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-blue-dark);
    background: white;
}

.input-container input {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: none;
    background: white;
    border-radius: 0 15px 15px 0;
}

.button-container {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.button-container button {
    height: 100%;
    width: 100%;
    margin: 0;
    border-radius: 15px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid var(--accent-blue-dark);
    background: var(--accent-blue-dark);
    color: white;
    transition: 0.5s;
}

.button-container button:hover {
    background: aquamarine;
    color: #16425b;
}

/* ------------------------------------------------------ */
/* PASSKEY */
/* ------------------------------------------------------ */

#otpOverlay,
#passkeyOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#otpOverlay .overlay-content,
#passkeyOverlay .overlay-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    max-width: 320px;
    width: 90%;
}

/* ------------------------------------------------------ */
/* AUTHENTICATOR */
/* ------------------------------------------------------ */

#authOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#authOverlay .overlay-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    max-width: 320px;
    width: 90%;
}

#otpOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
}

#otpOverlay .overlay-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    max-width: 320px;
    width: 90%;
}

/* ------------------------------------------------------ */
/* NOTIFICATION */
/* ------------------------------------------------------ */

#notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.notification {
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    min-width: 220px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease forwards;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.notification a {
    color: azure;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

.notification.warning {
    background: #dc3545;
}

.notification.info {
    background: #333;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(40px);
    }
}

.fade-out {
    animation: slideOut 0.4s ease forwards;
}

/* ------------------------------------------------------ */
/* FOOTER */
/* ------------------------------------------------------ */

.footer-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px 48px 32px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
    margin-bottom: 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 420px;
    flex: 1 1 260px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.brand-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}

.brand-logo-text {
    font-weight: 600;
    font-size: 18px;
    color: #3c708e;
}

.brand-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 14px;
    font-size: 18px;
}

.footer-socials a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.15s ease-out, transform 0.15s ease-out;
}

.footer-socials a:hover {
    color: var(--text-link-hover);
    transform: translateY(-1px);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    flex: 1 1 260px;
    justify-content: flex-end;
}

.footer-column {
    min-width: 120px;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li + li {
    margin-top: 8px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.15s ease-out;
}

.footer-column a:hover {
    color: var(--text-link-hover);
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 16px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.15s ease-out;
}

.footer-bottom-links a:hover {
    color: var(--text-link-hover);
}

@media (max-width: 768px) {
    .footer-wrapper {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}
