
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --gold: #b89558;
    --gold-dark: #92703a;
    --cream: #faf7f0;
    --ink: #302a25;
    --muted: #81776d;
    --border: #e9e0d3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
}

.auth-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 52% 48%;
}

.auth-image {
    min-height: 100vh;
    background:
        linear-gradient(rgba(40, 30, 20, .35), rgba(40, 30, 20, .55)),
        url('../images/salon-interior.jpg') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 65px;
    color: white;
}

.auth-image h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.auth-image p {
    max-width: 400px;
    line-height: 1.8;
    color: #f4eee5;
}

.auth-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px 30px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(60, 45, 25, .07);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 29px;
}

.auth-logo span {
    color: var(--gold);
}

.auth-logo p {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 7px;
}

.auth-heading {
    margin-bottom: 25px;
}

.auth-heading h3 {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    margin-bottom: 8px;
}

.auth-heading p {
    color: var(--muted);
    font-size: 14px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 149, 88, .12);
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.btn-auth:hover {
    background: var(--gold-dark);
}

.auth-links {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
}

.auth-links a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 700;
}

.auth-alert {
    background: #fff0ed;
    color: #a33b2e;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}

@media (max-width: 850px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-image {
        display: none;
    }

    .auth-panel {
        min-height: 100vh;
        padding: 25px 16px;
    }

    .auth-card {
        padding: 30px 24px;
    }
}
