/* VreauProaspat.ro - Auth Pages Styles */

.auth-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    box-shadow: var(--shadow-md);
}

.auth-card h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
}

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-block {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

/* Messages */
.error-message {
    background: #fee;
    color: var(--color-accent);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--color-accent);
}

.success-message {
    background: #efe;
    color: var(--color-success);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--color-success);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-light);
    margin-top: var(--spacing-lg);
}

.auth-footer p {
    color: var(--color-text-light);
}

.auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Role Selection */
.role-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.role-option {
    padding: var(--spacing-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.role-option:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-light);
}

.role-option.active {
    border-color: var(--color-primary);
    background: rgba(76, 175, 80, 0.1);
}

.role-option input[type="radio"] {
    display: none;
}

.role-option .role-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.role-option .role-title {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.role-option .role-description {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .auth-card h1 {
        font-size: 1.5rem;
    }

    .role-selection {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}
