/**
 * LMS IMTA Frontend Styles
 */

:root {
    --lms-primary: #00AFF2;
    --lms-primary-dark: #0095d1;
    --lms-text: #333333;
    --lms-text-light: #666666;
    --lms-bg: #ffffff;
    --lms-border: #e5e5e5;
    --lms-radius: 12px;
    --lms-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Login Button
======================================== */
.lms-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 20px !important;
    background: var(--lms-primary);
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.3s ease;
}

.lms-login-btn:hover {
    background: var(--lms-primary-dark);
    color: #fff !important;
}

/* ========================================
   User Dropdown
======================================== */
.lms-user-dropdown {
    position: relative;
    display: inline-block;
}

.lms-user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
    margin:0px;
}

.lms-user-trigger:hover {
    background: rgba(0, 175, 242, 0.1);
}

.lms-user-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--lms-primary);
}

.lms-user-name-trigger {
    font-weight: 600;
    color: var(--lms-text);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lms-dropdown-arrow {
    color: var(--lms-text-light);
    transition: transform 0.2s ease;
}

.lms-user-dropdown:hover .lms-dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.lms-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 280px;
    background: var(--lms-bg);
    border-radius: var(--lms-radius);
    box-shadow: var(--lms-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: hidden;
}

.lms-user-dropdown:hover .lms-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* Dropdown Header */
.lms-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--lms-primary);
    color: #fff;
}

.lms-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.lms-user-info {
    flex: 1;
    min-width: 0;
}

.lms-user-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lms-user-email {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown List */
.lms-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.lms-dropdown-list li {
    margin: 0 !important;
}

.lms-dropdown-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--lms-text) !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
    font-size:15px;
}

.lms-dropdown-list a:hover {
    background: rgba(0, 175, 242, 0.08);
}

.lms-dropdown-list svg {
    color: var(--lms-primary);
    flex-shrink: 0;
}

.lms-dropdown-list span {
    font-weight: 500;
}

/* Dropdown Footer */
.lms-dropdown-footer {
    border-top: 1px solid var(--lms-border);
    padding: 8px 0;
}

.lms-logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--lms-text) !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.lms-logout-link:hover {
    background: rgba(0, 175, 242, 0.08);
}

.lms-logout-link svg {
    color: var(--lms-primary);
}

.lms-logout-link span {
    font-weight: 500;
}


/* ========================================
   Profile Page
======================================== */
.lms-profile-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.lms-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--lms-primary);
    border-radius: var(--lms-radius);
    color: #fff;
    margin-bottom: 30px;
}

.lms-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.lms-profile-name {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #fff;
}

.lms-profile-email {
    margin: 0;
    opacity: 0.9;
}

.lms-profile-content {
    background: var(--lms-bg);
    border-radius: var(--lms-radius);
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.lms-profile-content h3 {
    margin: 0 0 20px 0;
    color: var(--lms-text);
    font-size: 18px;
}

.lms-profile-details {
    margin-bottom: 20px;
}

.lms-profile-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--lms-border);
}

.lms-profile-row:last-child {
    border-bottom: none;
}

.lms-profile-label {
    width: 150px;
    font-weight: 600;
    color: var(--lms-text-light);
}

.lms-profile-value {
    flex: 1;
    color: var(--lms-text);
}

/* ========================================
   My Courses & Homework Pages
======================================== */

.lms-page-header {
    margin-bottom: 30px;
}

.lms-page-header h2 {
    margin: 0 0 8px 0;
    color: var(--lms-text);
    font-size: 28px;
}

.lms-page-header p {
    margin: 0;
    color: var(--lms-text-light);
}

/* Empty State */
.lms-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--lms-bg);
    border-radius: var(--lms-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.lms-empty-state svg {
    color: var(--lms-primary);
    margin-bottom: 20px;
}

.lms-empty-state h3 {
    margin: 0 0 10px 0;
    color: var(--lms-text);
}

.lms-empty-state p {
    margin: 0;
    color: var(--lms-text-light);
}

/* Placeholder Text */
.lms-placeholder-text {
    text-align: center;
    padding: 20px;
    color: var(--lms-text-light);
    font-style: italic;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .lms-user-name-trigger {
        display: none;
    }
    
    .lms-dropdown-menu {
        right: -10px;
        min-width: 260px;
    }
    
    .lms-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .lms-profile-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .lms-profile-label {
        width: auto;
    }
}


/* ========================================
   Profile Edit Form
======================================== */
.lms-profile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.lms-profile-section-header h3 {
    margin: 0;
    color: var(--lms-text);
    font-size: 18px;
}

#btn-edit-profile {
    flex-shrink: 0;
    padding: 0px 15px;
}

.lms-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none !important;
}

.lms-btn-primary {
    background: var(--lms-primary);
    color: #fff !important;
}

.lms-btn-primary:hover {
    background: var(--lms-primary-dark);
}

.lms-btn-secondary {
    background: #e5e5e5;
    color: var(--lms-text) !important;
}

.lms-btn-secondary:hover {
    background: #d5d5d5;
}

.lms-btn-outline {
    background: transparent;
    border: 2px solid var(--lms-primary);
    color: var(--lms-primary) !important;
    white-space: nowrap;
}

.lms-btn-outline:hover {
    background: var(--lms-primary);
    color: #fff !important;
}

.lms-btn-outline svg {
    flex-shrink: 0;
}

.lms-btn-text {
    background: transparent;
    color: var(--lms-text-light) !important;
    padding: 10px;
}

.lms-btn-text:hover {
    color: var(--lms-text) !important;
}

.lms-btn-sm {
    padding: 0px 5px;
    font-size: 13px;
}

/* Form Styles */
.lms-profile-form {
    max-width: 600px;
}

.lms-form-group {
    margin-bottom: 20px;
}

.lms-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lms-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--lms-text);
    font-size: 14px;
}

.lms-form-input {
    width: 100%;
    padding: 12px 16px !important;
    border: 1px solid var(--lms-border) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box;
}

.lms-form-input:focus {
    outline: none !important;
    border-color: var(--lms-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 175, 242, 0.1) !important;
}

.lms-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--lms-border);
}

/* Avatar Upload Frontend */
.lms-avatar-upload-frontend {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lms-avatar-edit-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--lms-border);
}

.lms-avatar-upload-actions {
    display: flex;
    gap: 10px;
}

/* Message */
.lms-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.lms-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lms-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .lms-form-row {
        grid-template-columns: 1fr;
    }
    
    .lms-profile-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .lms-form-actions {
        flex-direction: column;
    }
    
    .lms-avatar-upload-frontend {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ========================================
   Homework Grid & Cards
======================================== */
.lms-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.lms-homework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.lms-homework-card {
    background: var(--lms-bg);
    border-radius: var(--lms-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.lms-homework-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}


.lms-homework-card-header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.lms-homework-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.lms-homework-title a {
    color: var(--lms-text) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.lms-homework-title a:hover {
    color: var(--lms-primary) !important;
}

.lms-homework-excerpt {
    padding: 12px 20px;
    margin: 0;
    color: var(--lms-text-light);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.lms-homework-meta {
    padding: 0 20px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lms-homework-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--lms-text-light);
}

.lms-homework-meta-item svg {
    color: var(--lms-primary);
    flex-shrink: 0;
}

.lms-homework-meta-item.is-overdue {
    color: #ef4444;
}

.lms-homework-meta-item.is-overdue svg {
    color: #ef4444;
}

.lms-homework-card-footer {
    padding: 8px 20px;
    border-top: 1px solid var(--lms-border);
    display: flex;
    justify-content: flex-end;
    gap:5px;
}

.lms-homework-card-footer .lms-btn {
    padding: 10px 20px;
}

.lms-homework-card-footer .lms-btn svg {
    transition: transform 0.2s ease;
}

.lms-homework-card-footer .lms-btn:hover svg {
    transform: translateX(4px);
}

/* Badge */
.lms-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.lms-badge-danger {
    background: #fef2f2;
    color: #ef4444;
}

.lms-badge-success {
    background: #f0fdf4;
    color: #22c55e;
}

.lms-badge-warning {
    background: #fffbeb;
    color: #f59e0b;
}

.lms-badge-info {
    background: #f0f9ff;
    color: #0ea5e9;
}

@media (max-width: 768px) {
    .lms-homework-grid {
        grid-template-columns: 1fr;
    }
    
    .lms-homework-meta {
        flex-direction: column;
        gap: 8px;
    }
}


/* ========================================
   Filter Bar
======================================== */
.lms-filter-bar {
    margin-bottom: 24px;
}

.lms-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: var(--lms-bg);
    border-radius: var(--lms-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.lms-filter-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #f5f5f5;
    color: var(--lms-text) !important;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.lms-filter-tab:hover {
    background: rgba(0, 175, 242, 0.1);
    color: var(--lms-primary) !important;
}

.lms-filter-tab.active {
    background: var(--lms-primary);
    color: #fff !important;
}

/* Homework Categories */
.lms-homework-categories {
    padding: 8px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 768px) {
    .lms-filter-tabs {
        gap: 6px;
        padding: 12px;
    }
    
    .lms-filter-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
}


/* ========================================
   Single Homework - Modern UI 2026
   Clean, Minimal, React + Tailwind Style
======================================== */

.lms-hw-wrapper {
    min-height: 100vh;
    background: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.lms-hw-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.lms-hw-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.lms-hw-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.lms-hw-back:hover {
    color: #0f172a !important;
}

.lms-hw-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.lms-hw-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lms-hw-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.lms-hw-meta-item svg {
    color: #94a3b8;
}

.lms-hw-meta-item.overdue {
    color: #ef4444;
}

.lms-hw-meta-item.overdue svg {
    color: #ef4444;
}

/* Main */
.lms-hw-main {
    padding: 32px 0 60px;
}

/* Alert */
.lms-hw-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.lms-hw-alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.lms-hw-alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Description */
.lms-hw-description {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    color: #475569;
    line-height: 1.7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Empty */
.lms-hw-empty {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.lms-hw-empty svg {
    margin-bottom: 16px;
}

.lms-hw-empty p {
    margin: 0;
    font-size: 16px;
}

/* Section */
.lms-hw-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.lms-hw-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--section-color) 0%, color-mix(in srgb, var(--section-color) 80%, #000) 100%);
    color: #fff;
}

.lms-hw-section-icon {
    font-size: 24px;
}

.lms-hw-section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex: 1;
}

.lms-hw-section-score {
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
}

.lms-hw-section-content {
    padding: 24px;
}

/* Task */
.lms-hw-task {
    margin-bottom: 32px;
}

.lms-hw-task:last-child {
    margin-bottom: 0;
}

.lms-hw-task-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Media */
.lms-hw-media {
    margin-bottom: 20px;
}

.lms-hw-audio {
    width: 100%;
    border-radius: 8px;
}

.lms-hw-video {
    width: 100%;
    border-radius: 12px;
}

.lms-hw-image {
    max-width: 100%;
    border-radius: 12px;
}

/* Passage */
.lms-hw-passage {
    background: #f8fafc;
    border-left: 4px solid #e2e8f0;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

/* Questions */
.lms-hw-questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lms-hw-question {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.lms-hw-question:focus-within {
    box-shadow: 0 0 0 2px #3b82f6;
}

.lms-hw-question-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.lms-hw-question-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #0f172a;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.lms-hw-question-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    flex: 1;
}

/* Options (Multiple Choice) */
.lms-hw-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lms-hw-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.lms-hw-option:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.lms-hw-option input {
    display: none;
}

.lms-hw-option input:checked + .lms-hw-option-label {
    background: #3b82f6;
    color: #fff;
}

.lms-hw-option:has(input:checked) {
    border-color: #3b82f6;
    background: #eff6ff;
}

.lms-hw-option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.2s;
}

.lms-hw-option-text {
    font-size: 14px;
    color: #334155;
    flex: 1;
}

/* Hint */
.lms-hw-hint {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
    font-style: italic;
}

/* Input */
.lms-hw-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.lms-hw-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.lms-hw-input::placeholder {
    color: #94a3b8;
}

/* Textarea */
.lms-hw-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.lms-hw-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.lms-hw-textarea::placeholder {
    color: #94a3b8;
}

/* Actions */
.lms-hw-actions {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.lms-hw-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 40px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    margin:0;
}

.lms-hw-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.lms-hw-submit:active:not(:disabled) {
    transform: translateY(0);
}

.lms-hw-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .lms-hw-title {
        font-size: 20px;
    }
    
    .lms-hw-meta {
        gap: 12px;
    }
    
    .lms-hw-section-content {
        padding: 16px;
    }
    
    .lms-hw-question {
        padding: 16px;
    }
    
    .lms-hw-option {
        padding: 12px 14px;
    }
    
    .lms-hw-submit {
        width: 100%;
        justify-content: center;
    }
}


/* ========================================
   Homework Score Box
======================================== */


.lms-homework-score-box {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 1px solid #bbf7d0;
}

.lms-score-main {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.lms-score-value {
    font-size: 28px;
    font-weight: 700;
    color: #16a34a;
}

.lms-score-max {
    font-size: 16px;
    font-weight: 600;
    color: #4ade80;
}

.lms-score-detail {
    font-size: 13px;
    color: #15803d;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lms-score-value {
        font-size: 24px;
    }
    
    .lms-score-max {
        font-size: 14px;
    }
}
