﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #ffffff;
    overflow: hidden;
    background: #085a5e;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.bg-slideshow {
    position: fixed;
    inset: 0;
    z-index: -4;
    overflow: hidden;
    display: block !important;
    background: #085a5e;
}

.slide {
    position: absolute;
    inset: 0;
    display: block !important;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: bgFade 18s infinite ease-in-out;
    transform: scale(1.05);
}

    .slide:nth-child(1) {
        background-image: url("../Images/image1.jpeg");
        animation-delay: 0s;
    }

    .slide:nth-child(2) {
        background-image: url("../Images/image2.jpeg");
        animation-delay: 6s;
    }

    .slide:nth-child(3) {
        background-image: url("../Images/image3.jpeg");
        animation-delay: 12s;
    }

.bg-slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(8, 90, 94, 0.84) 0%, rgba(12, 114, 119, 0.36) 48%, rgba(8, 90, 94, 0.86) 100% );
    z-index: 2;
}

.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background: radial-gradient(circle at 18% 25%, rgba(12, 114, 119, 0.30), transparent 32%), radial-gradient(circle at 85% 75%, rgba(169, 219, 224, 0.18), transparent 34%);
}

    .grid-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(169, 219, 224, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 219, 224, 0.08) 1px, transparent 1px);
        background-size: 42px 42px;
        opacity: 0.28;
    }

    .grid-bg::after {
        display: none !important;
    }

/* Main Wrapper */
.page-wrapper {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    width: 100%;
    height: 100vh;
}

.brand-display {
    position: relative;
    min-width: 0;
    padding: 56px 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

    .brand-display::before {
        content: "";
        position: absolute;
        inset: 28px;
        z-index: -1;
    }

    .brand-display::after {
        display: none;
    }

.logo-img {
    position: relative;
    width: 420px;
    height: 112px;
    margin-bottom: 240px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #A9DBE0;
    box-shadow: 0 18px 44px rgba(8, 90, 94, 0.34);
}

    .logo-img::before {
        content: "";
        position: absolute;
        top: 0;
        left: -85%;
        width: 55%;
        height: 100%;
        background: linear-gradient( 120deg, transparent 0%, rgba(169, 219, 224, 0.12) 25%, rgba(255, 255, 255, 0.75) 50%, rgba(169, 219, 224, 0.18) 75%, transparent 100% );
        transform: skewX(-22deg);
        animation: logoLightMove 3s ease-in-out infinite;
        pointer-events: none;
        z-index: 2;
    }

    .logo-img::after {
        display: none;
    }

    .logo-img img {
        position: relative;
        z-index: 1;
        width: 72%;
        height: auto;
        padding-left: 22px;
    }

@keyframes logoLightMove {
    0% {
        left: -85%;
    }

    45% {
        left: 125%;
    }

    100% {
        left: 125%;
    }
}

.tagline {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 0;
    padding: 10px 18px;
    color: #ffffff;
    background: rgba(12, 114, 119, 0.68);
    border: 1px solid rgba(169, 219, 224, 0.58);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(8, 90, 94, 0.28);
    backdrop-filter: blur(8px);
}

    .tagline i {
        color: #A9DBE0;
        font-size: 0.95rem;
    }

.matrix-title {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 1.2em;
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
    font-size: clamp(60px, 70px, 80px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -3px;
    color: #ffffff;
    text-shadow: 0 8px 26px rgba(8, 90, 94, 0.65);
}

    .matrix-title span#typing-content {
        display: inline-block !important;
        white-space: nowrap;
        color: #ffffff;
        background: none;
        -webkit-background-clip: initial;
        -webkit-text-fill-color: initial;
        filter: none;
    }

.cursor {
    display: inline-block;
    width: 10px;
    height: 0.78em;
    margin-left: 12px;
    border-radius: 3px;
    background: #A9DBE0;
    animation: blink 0.75s step-end infinite;
}

.text-p {
    position: relative;
    max-width: 590px;
    margin-top: 24px;
    padding: 20px 24px;
    color: #ffffff;
    font-size: 1.03rem;
    line-height: 1.75;
    font-weight: 600;
    background: rgba(8, 90, 94, 0.58);
    border: 1px solid rgba(169, 219, 224, 0.42);
    border-left: 5px solid #A9DBE0;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 16px 34px rgba(8, 90, 94, 0.36);
    backdrop-filter: blur(8px);
}

    .text-p::before {
        display: none;
    }

.copy-info {
    position: absolute;
    left: 76px;
    bottom: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 100px;
    background: rgba(8, 90, 94, 0.62);
    border: 1px solid rgba(169, 219, 224, 0.45);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(8, 90, 94, 0.32);
    backdrop-filter: blur(8px);
}

    .copy-info i {
        color: #A9DBE0;
    }

.login-terminal {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 70px 44px 24px;
    background: transparent;
}

    .login-terminal::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, transparent 0%, rgba(8, 90, 94, 0.22) 35%, rgba(8, 90, 94, 0.66) 100% );
        z-index: -1;
    }

    .login-terminal::after {
        display: none;
    }

    .login-terminal form {
        width: 100% !important;
        max-width: 560px !important;
    }

.auth-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    overflow: hidden;
    padding: 46px 46px 40px;
    border-radius: 28px;
    background: rgba(8, 90, 94, 0.92);
    border: 1px solid rgba(169, 219, 224, 0.45);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

    .auth-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 7px;
        background: #0C7277;
        pointer-events: none;
    }

    .auth-card::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -90px;
        top: -90px;
        border-radius: 50%;
        background: rgba(169, 219, 224, 0.16);
        pointer-events: none;
    }

    .auth-card > * {
        position: relative;
        z-index: 2;
    }

.terminal-header {
    margin-bottom: 30px;
}

.secure-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border-radius: 100px;
    color: #ffffff;
    background: rgba(12, 114, 119, 0.78);
    border: 1px solid rgba(169, 219, 224, 0.58);
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 1.7px;
}

    .secure-badge i {
        color: #A9DBE0;
    }

.terminal-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

    .terminal-header h2 i {
        color: #A9DBE0;
        font-size: 1.28rem;
    }

    .terminal-header h2::before {
        display: none;
    }

    .terminal-header h2::after {
        content: "";
        display: block;
        width: 78px;
        height: 4px;
        margin-top: 13px;
        border-radius: 100px;
        background: #A9DBE0;
    }

.terminal-header p {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.55;
    font-weight: 600;
}

.input-box {
    position: relative;
    margin-bottom: 19px;
}

    .input-box input {
        width: 100%;
        height: 58px;
        padding: 15px 58px 15px 56px;
        border-radius: 15px;
        border: 1.5px solid rgba(169, 219, 224, 0.42);
        border-left: 5px solid #A9DBE0;
        outline: none;
        background: rgba(255, 255, 255, 0.96);
        color: #085a5e;
        font-size: 0.98rem;
        font-weight: 700;
        letter-spacing: 0.2px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
        transition: all 0.25s ease;
    }

        .input-box input::placeholder {
            color: #085a5e;
            font-weight: 600;
            opacity: 0.72;
        }

        .input-box input:hover {
            border-color: #A9DBE0;
        }

        .input-box input:focus {
            border-color: #A9DBE0;
            border-left-color: #0C7277;
            box-shadow: 0 0 0 4px rgba(169, 219, 224, 0.22);
        }

    .input-box i.icon {
        position: absolute;
        left: 22px;
        top: 50%;
        z-index: 3;
        transform: translateY(-50%);
        color: #0C7277;
        font-size: 1.05rem;
        pointer-events: none;
        transition: all 0.25s ease;
    }

    .input-box:focus-within i.icon {
        color: #085a5e;
        transform: translateY(-50%) scale(1.06);
    }

.toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    z-index: 8;
    transform: translateY(-50%);
    cursor: pointer;
    color: #0C7277 !important;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

    .toggle-icon:hover {
        color: #085a5e !important;
        transform: translateY(-50%) scale(1.12);
    }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #085a5e;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
    box-shadow: 0 0 0px 1000px #ffffff inset;
    caret-color: #0C7277;
    transition: background-color 5000s ease-in-out 0s;
}

.btn-access {
    position: relative;
    width: 100%;
    min-height: 58px;
    margin-top: 8px;
    padding: 16px;
    overflow: hidden;
    border: none;
    outline: none;
    border-radius: 15px;
    cursor: pointer;
    color: #ffffff;
    background: #0C7277;
    font-size: 0.94rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    transition: all 0.25s ease;
}

    .btn-access i {
        margin-left: 10px;
        color: #ffffff;
    }

    .btn-access::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.20), transparent );
        transform: translateX(-120%);
        transition: all 0.45s ease;
    }

    .btn-access::after {
        display: none;
    }

    .btn-access:hover {
        background: #A9DBE0;
        color: #085a5e;
        transform: translateY(-2px);
        box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
    }

        .btn-access:hover::before {
            transform: translateX(120%);
        }

        .btn-access:hover i {
            color: #085a5e;
        }

    .btn-access:active {
        transform: translateY(0);
    }

.footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    font-size: 0.84rem;
}

    .footer-links a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #A9DBE0;
        text-decoration: none;
        font-weight: 800;
        transition: all 0.25s ease;
    }

        .footer-links a::before {
            display: none;
        }

        .footer-links a i {
            color: #A9DBE0;
        }

        .footer-links a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

            .footer-links a:hover i {
                color: #ffffff;
            }

.footer-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(169, 219, 224, 0.38);
    color: #ffffff;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

    .footer-item::before {
        display: none;
    }

    .footer-item i {
        color: #A9DBE0;
    }

.swal2-popup {
    border-radius: 20px !important;
    border: 1px solid #A9DBE0 !important;
    background: #085a5e !important;
    color: #ffffff !important;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.32) !important;
}

.swal2-title {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.swal2-html-container {
    color: rgba(255, 255, 255, 0.86) !important;
    font-weight: 600 !important;
}

.swal2-confirm {
    background: #0C7277 !important;
    color: #ffffff !important;
    border-radius: 9px !important;
    font-weight: 900 !important;
}

    .swal2-confirm:hover {
        background: #A9DBE0 !important;
        color: #085a5e !important;
    }

.swal2-loader {
    border-color: #A9DBE0 transparent #0C7277 transparent !important;
}

@keyframes bgFade {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    8% {
        opacity: 1;
    }

    32% {
        opacity: 1;
        transform: scale(1.12);
    }

    42% {
        opacity: 0;
        transform: scale(1.14);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

@keyframes blink {
    from, to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1400px) {
    .page-wrapper {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 0.90fr);
    }

    .brand-display {
        padding: 46px 58px;
    }

    .logo-img {
        width: 380px;
        height: 104px;
        margin-bottom: 62px;
    }

    .login-terminal {
        padding-right: 42px;
    }

    .auth-card {
        max-width: 530px;
        padding: 42px;
    }
}

@media (max-width: 1200px) {
    body {
        overflow-y: auto;
    }

    .page-wrapper {
        grid-template-columns: 1fr;
        min-height: 100vh;
        height: auto;
    }

    .brand-display {
        display: none;
    }

    .login-terminal {
        width: 100%;
        min-height: 100vh;
        padding: 30px;
    }

        .login-terminal::before {
            background: rgba(8, 90, 94, 0.72);
        }

    .auth-card {
        max-width: 570px;
        border-radius: 28px;
        padding: 44px;
    }
}

@media (max-width: 768px) {
    .login-terminal {
        padding: 18px;
    }

    .auth-card {
        max-width: 100%;
        padding: 34px 24px;
        border-radius: 22px;
    }

    .terminal-header h2 {
        font-size: 1.42rem;
    }

    .terminal-header p {
        font-size: 0.90rem;
    }

    .input-box input {
        height: 54px;
        font-size: 0.94rem;
        padding: 14px 50px 14px 52px;
    }

    .btn-access {
        min-height: 54px;
        padding: 15px;
        font-size: 0.88rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .login-terminal {
        padding: 0;
    }

    .auth-card {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 0;
        padding: 40px 20px;
        box-shadow: none;
        border-left: none;
        border-right: none;
        background: rgba(8, 90, 94, 0.94);
    }

    .terminal-header {
        margin-bottom: 24px;
    }

        .terminal-header h2 {
            font-size: 1.24rem;
        }

            .terminal-header h2::after {
                width: 62px;
                height: 3px;
            }

    .input-box {
        margin-bottom: 17px;
    }

        .input-box input {
            height: 52px;
            border-radius: 13px;
        }

    .btn-access {
        border-radius: 13px;
    }

    .footer-links {
        margin-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}