/* CSS para formulário de professores */

/* Container principal */
.teacher-form-user-info {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Seção do avatar */
.teacher-form-avatar-section {
    flex-shrink: 0;
}

.teacher-form-avatar-container {
    position: relative;
}

.teacher-form-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d1d5db;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.teacher-form-avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #d1d5db;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.teacher-form-avatar-fallback-icon {
    width: 32px;
    height: 32px;
    opacity: 0.4;
}

/* Detalhes do usuário */
.teacher-form-user-details {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.teacher-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.teacher-form-field-wide {
    grid-column: span 2;
}

.teacher-form-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.teacher-form-value {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

/* Link para gerenciar usuário */
.teacher-form-user-link {
    padding: 16px 0;
}

.teacher-form-user-link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.teacher-form-user-link-button:hover {
    background-color: #dbeafe;
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.teacher-form-user-link-icon {
    font-size: 16px;
}

.teacher-form-user-link-text {
    font-weight: 500;
}

.teacher-form-user-link-external-icon {
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

/* Reset de senha */
.teacher-form-reset-password {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.teacher-form-reset-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.teacher-form-reset-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.teacher-form-reset-status {
    font-size: 12px;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.3s;
}

.teacher-form-reset-input-container {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: stretch;
}

.teacher-form-reset-input-container input {
    flex: 1;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.teacher-form-reset-input-container button {
    background-color: #2563eb;
    border: 1px solid #2563eb;
    border-left: none;
    z-index: 10;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.teacher-form-reset-input-container button:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.teacher-form-reset-warning {
    font-size: 12px;
    color: #dc2626;
    background-color: #fef2f2;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
    margin-bottom: 12px;
}

.teacher-form-reset-tip {
    font-size: 12px;
    color: #6b7280;
    background-color: #eff6ff;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

/* Estado vazio */
.teacher-form-empty-state {
    text-align: center;
    padding: 32px 0;
}

.teacher-form-empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.teacher-form-empty-text {
    color: #6b7280;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 768px) {
    .teacher-form-user-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .teacher-form-user-details {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .teacher-form-field-wide {
        grid-column: span 1;
    }
} 