/* ======================================

   GLOBAL FORM PAGE STYLING

   ====================================== */



/* Montserrat font */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



body {

    margin: 0;

    padding: 0;

    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #6d28d9 100%);

    font-family: "Montserrat", sans-serif;



    height: 100vh;

    overflow: hidden;



    display: flex;

    justify-content: center;

    align-items: center;

}



/* Form Card */

.auth-card {

    display: flex;

    /* justify-content: center; */

    align-items: center;

    gap: 10%;

}



.auth-form {

    width: 600px;

}



.line {

    width: 5px;

    height: 30vh;

    background-color: white;

    border-radius: 10px;

}



/* Labels */

.auth-label {

    font-size: 15px;

    color: #444;

    font-weight: 500;

}



.signup-card {

    width: 500px;

}



/* Inputs */

.auth-input {

    width: 100%;

    padding: 12px 15px;

    margin-top: 6px;

    margin-bottom: 15px;

    border-radius: 10px;

    border: none;

    background: #E9F0FF;

    font-size: 15px;

    outline: none;

}



/* Button */

.auth-btn {

    width: 100%;

    padding: 14px;

    background: #7B4DFF;

    color: white;

    font-size: 18px;

    font-weight: 600;

    border: none;

    border-radius: 12px;

    cursor: pointer;

    margin-top: 10px;

    transition: 0.2s;

}



.auth-btn:hover {

    background: #693AE5;

}



/* Footer Link */

.auth-link {

    text-align: center;

    margin-top: 18px;

    font-size: 14px;

}



.auth-link a {

    color: #6F3FD9;

    font-weight: 600;

    text-decoration: none;

}

.input-error,
.auth-message.error {
    display: block !important;
    background: #ffebee;
    color: #d32f2f;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}


.form-section {
    margin-bottom: 40px;
    padding: 0;
    border: none;
}

.form-section legend {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0;
    color: #333;
    border: none;
}


.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0px;
}


/* Mobile Responsive */

@media (max-width: 480px) {

    .auth-card {

        width: 90%;

        padding: 25px 20px;
    }



    .auth-title {

        font-size: 24px;

    }

}



/* ======================================

   GEMINI AUTH LAYOUT MERGE

   ====================================== */



/* Shared Container */

.auth-container {

    margin: 20px;

    display: flex;

    width: 100%;

    max-width: 1000px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(20px);

    border-radius: 28px;

    height: 90vh;

    overflow: hidden;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);

}



.login-container {

    margin: 20px;

    display: flex;

    width: 100%;

    max-width: 1000px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(20px);

    border-radius: 28px;

    /* height: 90vh; */

    overflow: hidden;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);

}



/* Left Side Visual */

.auth-visual {

    flex: 0.9;

    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #6d28d9 100%);

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    padding: 50px;

    color: white;

    overflow: hidden;

}



.auth-visual h2 {

    font-size: 36px;

    margin-top: 20px;

    z-index: 2;

    margin-bottom: 0;

}



.auth-visual p {

    text-align: center;

    max-width: 280px;

    opacity: 0.9;

    z-index: 2;

    font-size: 1.8rem;

    line-height: 1.5;

    margin-top: 0;

}



.auth-image {

    width: 230px;

}



/* Decorative SVG */

.neon-path {

    position: absolute;

    inset: 0;

    opacity: 0.2;

}



/* Right Side Form */

.auth-right {

    flex: 1.1;

    background: white;

    padding: 50px;

    overflow-y: auto;

    scroll-behavior: smooth;

    align-items: center;

}



.auth-right::-webkit-scrollbar {

    width: 6px;

}



.auth-right::-webkit-scrollbar-thumb {

    background: #7B4DFF;

    border-radius: 10px;

}



.auth-right h2 {

    margin-bottom: 10px;

    font-size: 34px;

    color: #222;

}





.auth-subtitle {

    color: #777;

    margin-bottom: 20px;

    font-size: 1.5rem;

}



/* Signup Grid */

.form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

}



.form-group {

    display: flex;

    flex-direction: column;

}



.form-group.full-width {

    grid-column: span 2;

}



.form-group label {

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 500;

    color: #444;

}



/* Inputs keep existing colors */

.auth-input {

    margin-bottom: 0;

    background: #f3f5ff;

    border: 1px solid transparent;

    transition: 0.2s ease;

}



.auth-input:focus {

    border-color: #7c3aed;

    background: white;

    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);

}



/* Login specific */

.login-fields {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.login-fields label {

    font-size: 14px;

    font-weight: 500;

    color: #444;

    margin-top: 8px;

}



/* Buttons */

.auth-btn {

    margin-top: 28px;

}



/* Remove old divider */

.line {

    display: none;

}



/* Responsive */

@media (max-width: 600px) {



    body {

        display: flex;

        justify-content: center;

        align-items: center;

        height: auto !important;

        min-height: 100%;

        overflow: auto;

    }



    .auth-container,

    .login-container {

        flex-direction: column;

        height: auto;

        margin: 10px;

    }



    .auth-visual {

        padding: 20px;

        text-align: center;

    }



    .auth-visual h2 {

        font-size: 22px;

        line-height: 1.3;

    }



    .auth-visual p {

        font-size: 14px;

    }



    .auth-image {

        width: 110px;

    }



    .auth-right {

        padding: 20px;

        overflow: visible;

    }



    .auth-right h2 {

        font-size: 22px;

    }



    .auth-subtitle {

        font-size: 14px;

    }



    .form-grid {

        grid-template-columns: 1fr !important;

        gap: 14px;

    }



    .form-group.full-width {

        grid-column: span 1 !important;

    }



    .auth-input {

        font-size: 14px;

        padding: 10px 12px;

    }



    .auth-btn {

        font-size: 16px;

        padding: 12px;

    }



    .auth-link {

        font-size: 13px;

    }

}

.input-error {
    color: #e53e3e;
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.input-success {
    color: #276749;
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
}