/* ============================
   GOOGLE FONTS
============================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

/* ============================
   GLOBAL
============================ */
body {
    font-family: "Inter", sans-serif;
    background: #f2f4f8;
    margin: 0;
    padding: 0;
    color: #1a1a1a;
}

h1, h2, h3, h4 {
    font-family: "Poppins", sans-serif;
}

/* ============================
   NAVBAR
============================ */
.navbar {
    background: #3917e4;
    padding: 16px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.navbar .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.7rem;
    font-weight: 700;
    text-decoration: none;
}

/* ============================
   AUTH SECTION (WIDER)
============================ */
.auth-section {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 40px 0;
    width: 100%;
}

/* Main Grid (wider) */
.auth-container {
    width: 90%;
    max-width: 1350px;              /* increased */
    margin: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;   /* wider form section */
    gap: 70px;                           /* increased gap */
    align-items: center;
}

/* ============================
   AUTH CARD (Register)
============================ */
.auth-card {
    background: #ffffff;
    padding: 55px;              /* increased padding */
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    width: 100%;
}

.auth-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.auth-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 28px;
}

/* ============================
   FORM INPUTS
============================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid #ddd;
    background: #f9f9f9;
    font-size: 1rem;
    transition: 0.25s;
}

.form-group input:focus {
    border-color: #3917e4;
    box-shadow: 0 0 0 4px rgba(255,159,0,0.15);
    outline: none;
}

/* ============================
   BUTTON
============================ */
.btn-primary {
    background: #3917e4;
    color: white;
    padding: 15px;
    width: 100%;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: 0.25s;
}

.btn-primary:hover {
    background: #3917e4;
    transform: translateY(-2px);
}

/* ============================
   BOTTOM TEXT
============================ */
.auth-bottom-text {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.auth-bottom-text a {
    color: #ff4d4d;
    font-weight: 600;
    text-decoration: none;
}

.auth-bottom-text a:hover {
    text-decoration: underline;
}

/* ============================
   RIGHT SIDE IMAGE
============================ */
.auth-image {
    text-align: center;
}

.illustration-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: url('https://images.unsplash.com/photo-1556742393-d75f468bfcb0') center/cover no-repeat;
    border: 4px solid white;
    margin: auto;
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.auth-illustration h2 {
    font-size: 1.7rem;
    margin-top: 20px;
    color: #333;
}

.auth-illustration p {
    color: #666;
    margin-top: 5px;
}

/* ============================
   FOOTER
============================ */
.footer {
    padding: 18px;
    background: #172337;
    color: #ccc;
    text-align: center;
    margin-top: 40px;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
        text-align: center;
        width: 95%;
    }

    .auth-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .auth-card {
        padding: 32px;
    }

    .illustration-circle {
        width: 130px;
        height: 130px;
    }
}
