/*
 * Yetenek Merkezi - Auth CSS
 */

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 150px);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 40px;
}

.auth-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.role-option {
    border: 1px solid var(--border-card);
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.role-option:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background-color: rgba(15, 23, 42, 0.7);
}

.role-option.active {
    border-color: var(--primary);
    background-color: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.role-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
}

.role-label {
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.role-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.institution-fields {
    display: none; /* Hidden by default, toggled via JS */
    animation: fadeIn 0.3s ease;
    border-top: 1px dashed var(--border-card);
    padding-top: 20px;
    margin-top: 20px;
}

.auth-footer-links {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.auth-link:hover {
    color: #818cf8;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
