:root {
    --bg-page: #ffffff;
    --bg-card: #ffffff;
    --primary-accent: #111111;
    --primary-accent-hover: #000000;
    --text-dark: #0f0f0f;
    --text-muted: #6b6b6b;
    --input-bg: #fafafa;
    --input-border: #e6e6e6;
    --border-radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* MAIN CONTAINER */
.auth-container {
    width: 100%;
    max-width: 1400px;
}

/* SPLIT CARD */
.auth-card {
    display: flex;
    width: 100%;
    max-height: 90vh;
    height: auto;
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

/* LEFT SIDE (photo panel) */
.auth-left {
    flex: 1;
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.quote-content {
    max-width: 500px;
}

.quote-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 30px;
}

.quote-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* RIGHT SIDE */
.auth-right {
    width: 500px;
    background: var(--bg-card);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.back-link:hover {
    color: var(--primary-accent);
}

.auth-header h2 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* GOOGLE BUTTON */
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--input-border);
    background: #ffffff;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: 0.2s ease;
    margin-bottom: 22px;
}

.btn-google:hover {
    background: #f7f7f7;
    border-color: #d8d8d8;
}

.btn-google .google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* DIVIDER */
.auth-divider {
    text-align: center;
    color: #a3a3a3;
    font-size: 0.82rem;
    margin-bottom: 22px;
}

/* FORM */
.auth-form {
    margin-top: 0;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.field-wrapper .icon {
    position: absolute;
    left: 16px;
    color: #b3b3b3;
    opacity: 1;
}

.field-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border-radius: 14px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: 0.2s ease;
}

.field-wrapper input::placeholder {
    color: #b8b8b8;
}

.field-wrapper input:focus {
    outline: none;
    border-color: #b3b3b3;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(17,17,17,0.06);
}

.toggle {
    position: absolute;
    right: 16px;
    cursor: pointer;
    color: #b3b3b3;
}

.toggle:hover {
    color: var(--text-dark);
}

/* FORGOT PASSWORD */
.forgot-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

/* BUTTON */
.btn-register {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    border: none;
    border-radius: 999px;
    background: var(--primary-accent);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: none;
}

.btn-register:hover {
    background: var(--primary-accent-hover);
    transform: translateY(-1px);
}

/* FOOTER */
.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: underline;
}

.auth-footer a:hover {
    opacity: 0.7;
}

/* RESPONSIVE (MATCHING REGISTER PAGE MOBILE VIEW EXACTLY) */
@media (max-width: 1000px) {

    .auth-card {
        flex-direction: column;
        height: auto;
        max-height: none;
        min-height: auto;
    }

    .auth-left {
        min-height: 350px;
        padding: 50px 40px;
    }

    .auth-right {
        width: 100%;
        padding: 50px 40px;
        justify-content: flex-start;
        min-height: auto;
    }

    .quote-content h1 {
        font-size: 2.2rem;
    }

    .auth-header {
        margin-bottom: 30px;
    }

    .auth-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {

    body {
        padding: 20px;
        align-items: flex-start;
    }

    .auth-card {
        border-radius: 20px;
    }

    .auth-left {
        min-height: 220px;
        padding: 40px 30px;
    }

    .auth-right {
        padding: 40px 30px;
    }

    .quote-content h1 {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }

    .quote-content p {
        font-size: 0.95rem;
    }

    .auth-header h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .input-group {
        margin-bottom: 1.2rem;
    }

    .input-group label {
        font-size: 0.85rem;
    }

    .field-wrapper input, input {
        padding: 12px 14px 12px 42px;
        font-size: 1rem;
    }

    .btn-register {
        padding: 13px;
        font-size: 0.95rem;
        margin-top: 12px;
    }

    .auth-footer {
        font-size: 0.9rem;
        margin-top: 20px;
    }
}

@media (max-width: 600px) {

    body {
        padding: 15px;
    }

    .auth-card {
        border-radius: 16px;
    }

    .auth-left {
        min-height: 180px;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .auth-right {
        padding: 35px 20px;
    }

    .quote-content {
        max-width: 100%;
    }

    .quote-content h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .quote-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .auth-header {
        margin-bottom: 25px;
    }

    .back-link {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .auth-header h2 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .auth-form {
        margin-top: 5px;
    }

    .input-group {
        margin-bottom: 1rem;
    }

    .input-group label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .field-wrapper .icon {
        left: 14px;
    }

    .field-wrapper input, input {
        padding: 11px 14px 11px 40px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .toggle {
        right: 14px;
        font-size: 0.9rem;
    }

    .btn-register {
        padding: 12px;
        font-size: 0.9rem;
        margin-top: 10px;
        border-radius: 10px;
    }

    .auth-footer {
        font-size: 0.85rem;
        margin-top: 18px;
    }
}

@media (max-width: 480px) {

    body {
        padding: 12px;
    }

    .auth-card {
        border-radius: 14px;
    }

    .auth-left {
        min-height: 150px;
        padding: 25px 15px;
    }

    .auth-right {
        padding: 30px 15px;
    }

    .quote-content h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .quote-content p {
        font-size: 0.85rem;
    }

    .auth-header {
        margin-bottom: 20px;
    }

    .auth-header h2 {
        font-size: 1.2rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .input-group {
        margin-bottom: 0.9rem;
    }

    .input-group label {
        font-size: 0.75rem;
    }

    .field-wrapper input, input {
        padding: 10px 12px 10px 36px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .btn-register {
        padding: 11px;
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .auth-footer {
        font-size: 0.8rem;
        margin-top: 15px;
    }
}