.sm-parent-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sm-section {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sm-student-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.sm-student-card:last-child {
    border-bottom: none;
}

.sm-progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    width: 120px;
}

.sm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
}

.sm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    display: inline-block;
}

.sm-btn-primary {
    background: #4CAF50;
    color: white;
}

.sm-btn-primary:hover {
    background: #45a049;
}

.sm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.sm-modal-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
}

.sm-form-group {
    margin-bottom: 15px;
}

.sm-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.sm-form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.sm-student-login {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.sm-login-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 0 auto;
}

.sm-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.sm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.sm-form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.sm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    display: inline-block;
}

.sm-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.sm-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.sm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === Модальное окно успешного создания ученика === */
.sm-modal-success {
    z-index: 10001;
}

.sm-modal-success-content {
    max-width: 500px;
    animation: smModalSlideIn 0.3s ease;
}

@keyframes smModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sm-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: smIconPop 0.5s ease;
}

@keyframes smIconPop {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.sm-credentials-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #e8f5e9;
}

.sm-credential-item {
    margin-bottom: 15px;
}

.sm-credential-item:last-child {
    margin-bottom: 0;
}

.sm-credential-label {
    font-size: 0.85em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 600;
}

.sm-credential-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.sm-credential-highlight {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-color: #4CAF50;
    color: #2e7d32;
    font-family: 'Courier New', monospace;
    font-size: 1.3em;
    letter-spacing: 1px;
}

.sm-copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sm-copy-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: scale(1.1);
}

.sm-credentials-hint {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #856404;
    line-height: 1.5;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .sm-modal-success-content {
        padding: 20px 15px;
    }
    .sm-success-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
    .sm-credential-highlight {
        font-size: 1.1em;
    }
    .sm-credentials-hint {
        font-size: 0.85em;
    }
}