﻿/* =========================================================
   EVENTSPHERE AUTH PAGE
   Register / Login
   Modern • Premium • Responsive
========================================================= */

:root {
    --auth-primary: #0b3037;
    --auth-primary-light: #134e5e;
    --auth-accent: #1f8a9e;
    --auth-accent-light: #e8f6f7;
    --auth-dark: #102a30;
    --auth-text: #52666b;
    --auth-muted: #829397;
    --auth-border: #dfeaec;
}


/* =========================================================
   AUTH PAGE
========================================================= */

.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 70px 20px;
    background: radial-gradient( circle at 15% 20%, rgba(31,138,158,.13), transparent 28% ), radial-gradient( circle at 85% 80%, rgba(19,78,94,.12), transparent 30% ), linear-gradient( 135deg, #f4f9fa 0%, #ffffff 50%, #eef7f8 100% );
}


    /* =========================================================
   BACKGROUND DECORATIONS
========================================================= */

    .auth-page::before {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        left: -210px;
        top: -180px;
        border: 1px solid rgba(31,138,158,.10);
        border-radius: 50%;
    }

    .auth-page::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        right: -160px;
        bottom: -170px;
        border: 1px solid rgba(19,78,94,.10);
        border-radius: 50%;
    }


/* =========================================================
   AUTH CARD
========================================================= */

.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 470px;
    padding: 42px 42px 38px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(223,234,236,.95);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(11,48,55,.12), 0 5px 20px rgba(11,48,55,.04);
    backdrop-filter: blur(12px);
    animation: authCardEnter .55s ease both;
}


    /* =========================================================
   CARD TOP ACCENT
========================================================= */

    .auth-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 70px;
        height: 4px;
        transform: translateX(-50%);
        border-radius: 0 0 8px 8px;
        background: linear-gradient( 90deg, var(--auth-primary), var(--auth-accent) );
    }


    /* =========================================================
   HEADING
========================================================= */

    .auth-card h2 {
        margin: 0 0 10px;
        color: var(--auth-dark);
        text-align: center;
        font-size: 30px;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: -.8px;
    }


/* =========================================================
   SUBTITLE
========================================================= */

.auth-subtitle {
    max-width: 350px;
    margin: 0 auto 30px;
    color: var(--auth-text);
    text-align: center;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FORM GROUP
========================================================= */

.auth-form-group {
    margin-bottom: 20px;
}


    /* =========================================================
   LABEL
========================================================= */

    .auth-form-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--auth-dark);
        font-size: 13px;
        font-weight: 700;
    }


    /* =========================================================
   INPUT
========================================================= */

    .auth-form-group .form-control {
        width: 100%;
        height: 50px;
        padding: 0 15px;
        border: 1px solid var(--auth-border);
        border-radius: 10px;
        background: #f9fbfb;
        color: var(--auth-dark);
        font-size: 13px;
        box-shadow: none;
        transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease;
    }


        .auth-form-group .form-control::placeholder {
            color: #a1afb2;
        }


        .auth-form-group .form-control:hover {
            border-color: #c9dde0;
            background: #ffffff;
        }


        .auth-form-group .form-control:focus {
            border-color: var(--auth-accent);
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(31,138,158,.10);
            outline: none;
        }


/* =========================================================
   VALIDATION
========================================================= */

.validation-summary-errors {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #f2caca;
    border-radius: 10px;
    background: #fff6f6;
    color: #b42318;
    font-size: 12px;
    line-height: 1.6;
}


    .validation-summary-errors ul {
        margin: 0;
        padding-left: 18px;
    }


.auth-validation {
    display: block;
    margin-top: 6px;
    color: #c0392b;
    font-size: 11px;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.auth-submit {
    width: 100%;
    height: 50px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: linear-gradient( 135deg, #0b3037, #134e5e );
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(11,48,55,.20);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}


    .auth-submit:hover {
        color: #ffffff;
        transform: translateY(-2px);
        background: linear-gradient( 135deg, #134e5e, #1f8a9e );
        box-shadow: 0 13px 28px rgba(11,48,55,.25);
    }


    .auth-submit:active {
        transform: translateY(0);
    }


/* =========================================================
   DIVIDER
========================================================= */

.auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 27px 0 22px;
    color: #94a3a6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}


    .auth-divider::before,
    .auth-divider::after {
        content: "";
        position: absolute;
        top: 50%;
        width: calc(50% - 22px);
        height: 1px;
        background: #e5edef;
    }


    .auth-divider::before {
        left: 0;
    }


    .auth-divider::after {
        right: 0;
    }


/* =========================================================
   GOOGLE BUTTON
========================================================= */

.google-button {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dce7e9;
    border-radius: 10px;
    background: #ffffff;
    color: #334e55;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
}


    .google-button i {
        font-size: 15px;
    }


    .google-button:hover {
        color: #0b3037;
        border-color: #c5dadd;
        background: #f9fbfb;
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(11,48,55,.08);
    }


/* =========================================================
   LOGIN TEXT
========================================================= */

.auth-login-text {
    margin-top: 25px;
    color: var(--auth-muted);
    text-align: center;
    font-size: 12px;
}


    .auth-login-text a {
        margin-left: 4px;
        color: var(--auth-accent);
        font-weight: 800;
        text-decoration: none;
        transition: color .2s ease;
    }


        .auth-login-text a:hover {
            color: var(--auth-primary);
            text-decoration: underline;
        }


/* =========================================================
   ANIMATION
========================================================= */

@keyframes authCardEnter {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {

    .auth-page {
        min-height: calc(100vh - 70px);
        padding: 55px 18px;
    }

    .auth-card {
        max-width: 450px;
        padding: 36px 30px 32px;
        border-radius: 18px;
    }

        .auth-card h2 {
            font-size: 28px;
        }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {

    .auth-page {
        min-height: calc(100vh - 60px);
        padding: 40px 14px;
    }

    .auth-card {
        padding: 32px 21px 28px;
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(11,48,55,.10);
    }

        .auth-card h2 {
            font-size: 25px;
            letter-spacing: -.5px;
        }

    .auth-subtitle {
        margin-bottom: 25px;
        font-size: 12px;
    }

    .auth-form-group {
        margin-bottom: 17px;
    }

        .auth-form-group label {
            font-size: 12px;
        }

        .auth-form-group .form-control {
            height: 48px;
            font-size: 12px;
        }

    .auth-submit {
        height: 48px;
        font-size: 13px;
    }

    .google-button {
        height: 46px;
        font-size: 12px;
    }

    .auth-divider {
        margin: 23px 0 19px;
    }

    .auth-login-text {
        margin-top: 21px;
        font-size: 11px;
    }
}
