/* ============================
   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 (Matches homepage)
============================ */
.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;
    justify-content: space-between;
    align-items: center;
}

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

/* Nav Links */
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

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

/* Main Grid */
.auth-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: auto;
    align-items: center;
}

/* ============================
   LOGIN / REGISTER CARD
============================ */
.auth-card {
    background: #ffffff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.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: 18px;
}

.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;
}

/* Checkbox */
.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================
   BUTTON (Yellow — Matches homepage)
============================ */
.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);
}

/* ============================
   UNDER-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 ILLUSTRATION
============================ */
.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;
    font-family: "Poppins", sans-serif;
}

.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;
    }

    .auth-image {
        order: -1;
        margin-top: 20px;
    }
}

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

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