/* css/students.css — стили страницы «Ученики»
   (вынесено из students.html, Шаг 3 дизайн-системы) */

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.student-card-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 130px;
}
.student-card-btn:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.student-card-btn .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}
.student-card-btn .name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    word-break: break-word;
}
.student-card-btn .subject {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 20px;
    align-self: flex-start;
}
.student-card-btn .balance {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: auto;
}
[data-theme="dark"] .student-card-btn {
    background: var(--bg-white);
    border-color: var(--border);
}
