/* =====================================================
   Sicily Terrace & Wine - Auth Styles
   ===================================================== */

.auth {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.auth__container {
    display: flex;
    width: 100%;
}

.auth__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .auth__card {
        margin: 0;
        padding: 60px 80px;
    }
}

.auth__decor {
    display: none;
    flex: 1;
    position: relative;
    background-color: var(--color-primary);
}

@media (min-width: 1024px) {
    .auth__decor {
        display: block;
    }
}

.auth__decor-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/placeholder/800x1200.jpg') center / cover;
}

.auth__decor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.9) 0%, rgba(30, 90, 142, 0.7) 100%);
}

.auth__decor-text {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
}

    .auth__decor-text p {
        font-family: var(--font-heading);
        font-size: 32px;
        font-style: italic;
        color: var(--color-white);
    }

/* ===== Header ===== */
.auth__header {
    text-align: center;
    margin-bottom: 40px;
}

.auth__logo {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 32px;
}

.auth__logo-text {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    line-height: 1;
}

.auth__logo-subtext {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-gray-500);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.auth__title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-anthracite);
    margin-bottom: 8px;
}

.auth__subtitle {
    font-size: 15px;
    color: var(--color-gray-600);
}

/* ===== Form ===== */
.auth__form {
    margin-bottom: 24px;
}

/* ===== Code Input ===== */
.code-input {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.code-input__field {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-anthracite);
    background-color: var(--color-gray-50);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius);
    transition: all var(--transition);
}

    .code-input__field:focus {
        outline: none;
        border-color: var(--color-primary);
        background-color: var(--color-white);
    }

    .code-input__field.filled {
        border-color: var(--color-primary);
        background-color: rgba(30, 90, 142, 0.05);
    }

/* ===== Footer ===== */
.auth__footer {
    text-align: center;
}

.auth__disclaimer {
    font-size: 12px;
    color: var(--color-gray-500);
}

    .auth__disclaimer a {
        color: var(--color-primary);
        text-decoration: underline;
    }

/* ===== Resend ===== */
.auth__resend {
    text-align: center;
    margin-top: 24px;
}

    .auth__resend p {
        font-size: 14px;
        color: var(--color-gray-600);
        margin-bottom: 8px;
    }

.auth__resend-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
}

    .auth__resend-btn:disabled {
        color: var(--color-gray-400);
        cursor: not-allowed;
    }

/* ===== Back Link ===== */
.auth__back {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.auth__back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-gray-600);
    transition: color var(--transition);
}

    .auth__back-link:hover {
        color: var(--color-primary);
    }
