﻿/* =========================================================
   TEMPLATE 1
   MODERN ADMIN LOGIN
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    color: #172033;
    background: #eef2f7;
    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   PAGE
   ========================================================= */

.template-auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    overflow: hidden;
    background: linear-gradient( 135deg, #eef3f8 0%, #f7f9fc 48%, #e9eff7 100% );
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.template-auth-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}


.auth-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.7;
}


.auth-shape-one {
    width: 420px;
    height: 420px;
    left: -230px;
    top: -180px;
    background: radial-gradient( circle, rgba(65, 92, 214, 0.14), transparent 68% );
}


.auth-shape-two {
    width: 520px;
    height: 520px;
    right: -300px;
    bottom: -300px;
    background: radial-gradient( circle, rgba(45, 148, 190, 0.12), transparent 68% );
}


.auth-shape-three {
    width: 180px;
    height: 180px;
    right: 24%;
    top: -100px;
    background: radial-gradient( circle, rgba(101, 84, 211, 0.10), transparent 70% );
}


.auth-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: linear-gradient( rgba(30, 55, 90, 0.035) 1px, transparent 1px ), linear-gradient( 90deg, rgba(30, 55, 90, 0.035) 1px, transparent 1px );
    background-size: 42px 42px;
    mask-image: radial-gradient( ellipse at center, black, transparent 78% );
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.template-auth-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1180px;
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(480px, 1.05fr) minmax(420px, 0.95fr);
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(20, 35, 60, 0.08);
    box-shadow: 0 30px 80px rgba(30, 48, 78, 0.14), 0 8px 25px rgba(30, 48, 78, 0.06);
    animation: authPageEnter 0.65s ease both;
}


@keyframes authPageEnter {

    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   LEFT VISUAL PANEL
   ========================================================= */

.auth-visual-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 44px 32px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient( 145deg, #202d63 0%, #293d88 52%, #225c7d 100% );
}


    .auth-visual-panel::before {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        right: -240px;
        top: -180px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(255,255,255,0.12), transparent 68% );
    }


    .auth-visual-panel::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        left: -190px;
        bottom: -180px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(75, 210, 220, 0.14), transparent 70% );
    }


/* =========================================================
   VISUAL TOP
   ========================================================= */

.visual-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.visual-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


.visual-logo {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
}


    .visual-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


.visual-brand strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}


.visual-brand span {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,0.62);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


.visual-status {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 20px;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    font-size: 9px;
    font-weight: 650;
    white-space: nowrap;
}


.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #67e2b2;
    box-shadow: 0 0 0 4px rgba(103,226,178,0.10), 0 0 12px rgba(103,226,178,0.5);
    animation: statusPulse 2.2s ease-in-out infinite;
}


@keyframes statusPulse {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}


/* =========================================================
   VISUAL CONTENT
   ========================================================= */

.visual-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 45px;
}


.visual-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a9c7ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}


    .visual-eyebrow::before {
        content: "";
        width: 18px;
        height: 2px;
        border-radius: 5px;
        background: #8ed9df;
    }


.visual-content h1 {
    max-width: 490px;
    margin: 16px 0 16px;
    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2.5px;
    color: #ffffff;
}


    .visual-content h1 span {
        display: block;
        color: #8ed9df;
    }


.visual-content > p {
    max-width: 440px;
    margin: 0;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   MINI DASHBOARD
   ========================================================= */

.mini-dashboard {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin-top: 34px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(7, 16, 42, 0.30);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 18px 35px rgba(7, 16, 42, 0.15);
    backdrop-filter: blur(12px);
    animation: dashboardFloat 6s ease-in-out infinite;
}


@keyframes dashboardFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


.mini-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.mini-label {
    display: block;
    color: rgba(255,255,255,0.40);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1.4px;
}


.mini-dashboard-header strong {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
}


.mini-dots {
    display: flex;
    gap: 4px;
}


    .mini-dots span {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(255,255,255,0.32);
    }


.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 17px;
}


.mini-stat {
    padding: 10px;
    border-radius: 9px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.06);
}


    .mini-stat span {
        display: block;
        color: rgba(255,255,255,0.48);
        font-size: 7px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
    }


    .mini-stat strong {
        display: inline-block;
        margin-top: 5px;
        font-size: 19px;
        font-weight: 750;
    }


    .mini-stat small {
        margin-left: 4px;
        color: #73d7a9;
        font-size: 7px;
    }


.mini-chart {
    position: relative;
    height: 74px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient( to top, rgba(255,255,255,0.035), transparent );
}


.chart-bars {
    position: absolute;
    inset: 10px 12px 7px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}


    .chart-bars span {
        flex: 1;
        min-height: 8px;
        border-radius: 4px 4px 2px 2px;
        background: linear-gradient( 180deg, rgba(142,217,223,0.85), rgba(142,217,223,0.25) );
        transform-origin: bottom;
        animation: chartGrow 1s ease both;
    }


        .chart-bars span:nth-child(2) {
            animation-delay: .08s;
        }

        .chart-bars span:nth-child(3) {
            animation-delay: .16s;
        }

        .chart-bars span:nth-child(4) {
            animation-delay: .24s;
        }

        .chart-bars span:nth-child(5) {
            animation-delay: .32s;
        }

        .chart-bars span:nth-child(6) {
            animation-delay: .40s;
        }

        .chart-bars span:nth-child(7) {
            animation-delay: .48s;
        }


@keyframes chartGrow {

    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}


.chart-line {
    position: absolute;
    left: 10%;
    right: 8%;
    bottom: 34%;
    height: 1px;
    background: rgba(255,255,255,0.08);
}


/* =========================================================
   VISUAL FOOTER
   ========================================================= */

.visual-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.43);
    font-size: 9px;
    font-weight: 600;
}


.visual-footer-divider {
    color: rgba(255,255,255,0.20);
}


/* =========================================================
   RIGHT FORM PANEL
   ========================================================= */

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 55px;
    background: #ffffff;
}


.auth-form-wrapper {
    width: 100%;
    max-width: 400px;
}


/* =========================================================
   FORM HEADING
   ========================================================= */

.form-kicker {
    display: block;
    margin-bottom: 10px;
    color: #5268c9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}


.form-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.1px;
}


.form-heading p {
    max-width: 350px;
    margin: 11px 0 30px;
    color: #7b879a;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   ERROR
   ========================================================= */

.template-auth-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 13px;
    border-radius: 10px;
    background: #fff3f4;
    border: 1px solid #ffd8dc;
    color: #9d3b47;
}


.error-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: #ffffff;
    background: #d95b68;
    font-size: 11px;
    font-weight: 800;
}


.template-auth-error strong,
.template-auth-error span {
    display: block;
}


.template-auth-error strong {
    margin-bottom: 2px;
    font-size: 10px;
}


.template-auth-error span {
    font-size: 9px;
    color: #b15b65;
}


/* =========================================================
   FORM
   ========================================================= */

.template-auth-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}


.template-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


    .template-field label {
        color: #39445a;
        font-size: 11px;
        font-weight: 700;
    }


.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


    .field-label-row > span {
        color: #98a2b3;
        font-size: 8px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }


/* =========================================================
   INPUT
   ========================================================= */

.template-input {
    position: relative;
}


.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa5b5;
    font-size: 13px;
    pointer-events: none;
    transition: color .2s ease;
}


.template-input input {
    width: 100%;
    height: 51px;
    padding: 0 45px 0 42px;
    border: 1px solid #dfe4ec;
    border-radius: 10px;
    outline: none;
    color: #172033;
    background: #f9fafc;
    font-size: 12px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}


    .template-input input::placeholder {
        color: #a5afbd;
    }


    .template-input input:hover {
        border-color: #cbd3df;
    }


    .template-input input:focus {
        border-color: #6074d5;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(96,116,213,0.09);
    }


.template-input:focus-within .input-icon {
    color: #5268c9;
}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

.password-toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 35px;
    height: 35px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    color: #8c98aa;
    background: transparent;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}


    .password-toggle:hover {
        color: #5268c9;
        background: #eef1fb;
    }


/* =========================================================
   OPTIONS
   ========================================================= */

.template-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -2px;
}


.template-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #687386;
    font-size: 10px;
    cursor: pointer;
}


    .template-checkbox input {
        display: none;
    }


.checkbox-box {
    width: 15px;
    height: 15px;
    border: 1px solid #cbd3df;
    border-radius: 4px;
    background: #ffffff;
    transition: background .2s ease, border-color .2s ease;
}


.template-checkbox input:checked + .checkbox-box {
    border-color: #5268c9;
    background: #5268c9;
    box-shadow: 0 3px 8px rgba(82,104,201,0.20);
}


.session-label {
    color: #a0a9b8;
    font-size: 9px;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.template-submit {
    position: relative;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
    overflow: hidden;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient( 105deg, #4258bd, #536bd0, #397ca0 );
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(67,91,190,0.20);
    transition: transform .2s ease, box-shadow .2s ease, background-position .35s ease;
    background-size: 180% 100%;
}


    .template-submit::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 55px;
        left: -80px;
        transform: skewX(-20deg);
        background: rgba(255,255,255,0.15);
        transition: left .5s ease;
    }


    .template-submit:hover {
        transform: translateY(-2px);
        background-position: 100% center;
        box-shadow: 0 14px 28px rgba(67,91,190,0.26);
    }


        .template-submit:hover::before {
            left: 110%;
        }


.submit-arrow {
    font-size: 16px;
    transition: transform .2s ease;
}


.template-submit:hover .submit-arrow {
    transform: translateX(4px);
}


/* =========================================================
   ACCOUNT SWITCH
   ========================================================= */

.template-account-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 24px;
    color: #8a94a4;
    font-size: 10px;
}


    .template-account-switch a {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        color: #5268c9;
        font-weight: 750;
        transition: color .2s ease;
    }


        .template-account-switch a:hover {
            color: #394da8;
        }


        .template-account-switch a span {
            font-size: 11px;
            transition: transform .2s ease;
        }


        .template-account-switch a:hover span {
            transform: translate(2px, -2px);
        }


/* =========================================================
   TRUST
   ========================================================= */

.template-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    color: #a0a9b7;
    font-size: 9px;
}


.trust-icon {
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #278b68;
    background: #e8f7f0;
    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .template-auth-page {
        padding: 20px;
    }


    .template-auth-container {
        max-width: 620px;
        min-height: auto;
        grid-template-columns: 1fr;
    }


    .auth-visual-panel {
        min-height: 520px;
        padding: 30px;
    }


    .visual-content {
        padding-top: 30px;
    }


    .mini-dashboard {
        max-width: 100%;
    }


    .auth-form-panel {
        padding: 45px 35px;
    }
}


@media (max-width: 600px) {

    .template-auth-page {
        padding: 0;
    }


    .template-auth-container {
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }


    .auth-visual-panel {
        min-height: 470px;
        padding: 25px;
    }


    .visual-status {
        display: none;
    }


    .visual-content h1 {
        font-size: 38px;
    }


    .mini-dashboard {
        margin-top: 25px;
    }


    .auth-form-panel {
        padding: 40px 25px;
    }


    .form-heading h2 {
        font-size: 27px;
    }
}
/* =========================================================
   TEMPLATE 1
   SIGNUP PAGE
   ========================================================= */

.signup-visual-panel {
    background: linear-gradient( 145deg, #202d63 0%, #284486 48%, #246a82 100% );
}


/* =========================================================
   SIGNUP FEATURES
   ========================================================= */

.signup-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    max-width: 450px;
    margin-top: 28px;
}


.signup-feature {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform .2s ease, background .2s ease;
}


    .signup-feature:hover {
        transform: translateX(4px);
        background: rgba(255,255,255,0.075);
    }


.feature-icon {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    color: #a5e5e6;
    background: rgba(126,220,222,0.10);
    border: 1px solid rgba(126,220,222,0.12);
    font-size: 11px;
}


.signup-feature strong,
.signup-feature span {
    display: block;
}


.signup-feature strong {
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}


.signup-feature span {
    margin-top: 2px;
    color: rgba(255,255,255,0.48);
    font-size: 8px;
}


/* =========================================================
   INFO CARD
   ========================================================= */

.signup-info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 450px;
    margin-top: 17px;
    padding: 11px 13px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
}


.signup-info-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(142,217,223,0.16);
    font-size: 16px;
}


.signup-info-card span,
.signup-info-card strong {
    display: block;
}


.signup-info-card span {
    color: rgba(255,255,255,0.38);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1px;
}


.signup-info-card strong {
    margin-top: 3px;
    color: rgba(255,255,255,0.76);
    font-size: 9px;
    font-weight: 650;
}


/* =========================================================
   SIGNUP FORM
   ========================================================= */

.signup-form {
    gap: 16px;
}


.signup-form-wrapper .form-heading p {
    margin-bottom: 25px;
}


/* =========================================================
   PASSWORD MATCH
   ========================================================= */

.password-match {
    min-height: 12px;
    margin-top: 3px;
    font-size: 8px;
    font-weight: 650;
}


    .password-match.match {
        color: #2c976f;
    }


    .password-match.mismatch {
        color: #d65a68;
    }


/* =========================================================
   SIGNUP NOTICE
   ========================================================= */

.signup-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    background: #f5f7fb;
    border: 1px solid #e7ebf1;
    color: #7e899a;
    font-size: 8px;
    line-height: 1.4;
}


.notice-icon {
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: #5368c5;
    background: #e9edfb;
    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   SIGNUP RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .signup-visual-panel {
        min-height: 560px;
    }
}


@media (max-width: 600px) {

    .signup-visual-panel {
        min-height: 520px;
    }


    .signup-features {
        gap: 8px;
    }


    .signup-info-card {
        display: none;
    }
}
