/*--------- Registration Interface Styles ----------*/

.auth-section {
    background-color: var(--off-white, #f8f9fa);
    background-image: radial-gradient(circle at bottom right, rgba(141, 110, 99, 0.04), transparent 60%);
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: clamp(40px, 8vw, 100px) 0;
}
.auth-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(10px, 3vw, 15px);
}
.auth-grid {
    display: flex;
    justify-content: center;
    width: 100%;
}
.auth-col-large {
    width: 100%;
    max-width: 900px;
}
.auth-card {
    background: var(--pure-white, #ffffff);
    border-radius: clamp(10px, 3vw, 15px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    padding: clamp(30px, 6vw, 60px) clamp(20px, 5vw, 50px);
    border: 1px solid #eaeaea;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.auth-card:hover {
    transform: translateY(clamp(-3px, -1vw, -8px));
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.auth-header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.auth-icon {
    width: clamp(80px, 15vw, 100px);
    height: clamp(80px, 15vw, 100px);
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.auth-card:hover .auth-icon {
    transform: scale(1.08) rotate(-5deg);
}
.auth-title {
    color: var(--primary-brown, #8d6e63);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}
.auth-subtitle {
    color: var(--text-muted, #6c757d);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    margin: 0;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
}
.alert {
    padding: clamp(10px, 2vw, 1rem);
    border-radius: 50px;
    text-align: center;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    font-weight: 600;
    width: 100%;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Grid for Form Fields */
.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(10px, 2.5vw, 20px);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.half-width { grid-column: span 6; }
.third-width { grid-column: span 4; }

@media (max-width: 768px) {
    .half-width, .third-width { grid-column: span 12; }
}

.form-label {
    font-weight: 700;
    color: var(--text-muted, #6c757d);
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
}
.form-control, .form-select {
    padding: clamp(10px, 2vw, 15px) clamp(12px, 2.5vw, 20px);
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    background: #f8f9fa;
    color: var(--text-main, #333333);
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-brown, #8d6e63);
    background: var(--pure-white, #ffffff);
    box-shadow: 0 0 0 4px rgba(141, 110, 99, 0.15);
    outline: none;
}
.form-control::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

/* Actions and Links */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(0.5rem, 2vw, 1rem);
}
.btn-primary-action {
    background: linear-gradient(135deg, var(--primary-brown, #8d6e63), var(--dark-coffee, #3e2723));
    color: white;
    border: none;
    padding: clamp(12px, 2.5vw, 15px) clamp(25px, 5vw, 40px);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 110, 99, 0.2);
    width: 100%;
    max-width: 400px;
}
.btn-primary-action:hover, .btn-primary-action:focus {
    background: linear-gradient(135deg, var(--primary-hover, #6d4c41), var(--medium-brown, #5d4037));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 110, 99, 0.3);
    outline: none;
}
.btn-primary-action:active {
    transform: translateY(0);
}
.auth-links {
    text-align: center;
    margin-top: clamp(1rem, 3vw, 1.5rem);
}
.auth-links p {
    margin: 0;
    color: var(--text-muted, #6c757d);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}
.auth-link {
    color: var(--primary-brown, #8d6e63);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.auth-link:hover, .auth-link:focus {
    color: var(--primary-hover, #6d4c41);
    text-decoration: underline;
    outline: none;
}