.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
}

.auth-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.auth-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-error {
    background-color: #f8d7da;
    color: var(--error-color);
    border: 1px solid #f5c2c7;
}

.alert-success {
    background-color: #d1e7dd;
    color: var(--success-color);
    border: 1px solid #badbcc;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
}

.form-input:focus {
    outline: none;
}

.btn-submit {
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
}

.btn-submit:hover {
    opacity: 0.9;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-link {
    text-decoration: none;
    font-size: 0.95rem;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Auth Content avec Photo */
.auth-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    width: 90%;
    margin-bottom: 3rem;
}

.auth-photo-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-photo-wrapper .polaroid-frame {
    position: relative;
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 179, 102, 0.2);
    border-radius: 8px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.auth-photo-wrapper .polaroid-frame:hover {
    transform: rotate(-2deg) scale(1.03);
}

.auth-photo-wrapper .auth-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.auth-content .auth-card {
    flex: 1;
    max-width: 100%;
    width: 100%;
}

.auth-photo-wrapper .auth-photo.photo-placeholder {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.auth-photo-wrapper.perigord .polaroid-frame {
    background-color: rgba(254, 222, 123, 0.3);
}

.auth-photo-wrapper.perigord .auth-photo.photo-placeholder {
    background: linear-gradient(135deg, rgba(254, 222, 123, 0.3) 0%, rgba(254, 222, 123, 0.5) 100%);
    color: var(--perigord-black);
}

@media (max-width: 768px) {
    .auth-content {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .auth-photo-wrapper {
        width: 80%;
    }

    .auth-photo-wrapper .auth-photo.photo-placeholder {
        height: 250px;
    }
}
