
:root,
[data-theme="dark"] {
    --theme-bg: rgb(10, 10, 10);
    --theme-bg-grad-start: rgb(10, 10, 10);
    --theme-bg-grad-end: rgb(8, 8, 11);
    --theme-surface: rgba(27, 27, 32, 0.92);
    --theme-surface-soft: rgba(255, 255, 255, 0.04);
    --theme-surface-strong: rgba(255, 255, 255, 0.08);
    --theme-border: rgba(255, 255, 255, 0.1);
    --theme-text: #f8fafc;
    --theme-text-soft: #cbd5e1;
    --theme-text-muted: #94a3b8;
    --theme-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);

    --theme-chrome: rgba(22, 26, 33, 0.96);
    --theme-chrome-border: rgba(255, 255, 255, 0.08);

    --theme-input-bg: rgba(19, 24, 32, 0.96);
    --theme-input-border: rgba(255, 255, 255, 0.16);

    --theme-skeleton-card: rgba(255, 255, 255, 0.04);
    --theme-skeleton-line: rgba(255, 255, 255, 0.12);
    --theme-skeleton-shimmer: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 82%);
}

[data-theme="light"] {
    --theme-bg: #edf2f8;
    --theme-bg-grad-start: #f9fbff;
    --theme-bg-grad-end: #e8eef6;
    --theme-surface: rgba(255, 255, 255, 0.96);
    --theme-surface-soft: #f8fafc;
    --theme-surface-strong: #f1f5f9;
    --theme-border: rgba(15, 23, 42, 0.14);
    --theme-text: #0f172a;
    --theme-text-soft: #334155;
    --theme-text-muted: #64748b;
    --theme-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

    --theme-chrome: var(--theme-surface);
    --theme-chrome-border: var(--theme-border);

    --theme-input-bg: #f8fafc;
    --theme-input-border: rgba(15, 23, 42, 0.14);

    --theme-skeleton-card: rgba(255, 255, 255, 0.95);
    --theme-skeleton-line: rgba(148, 163, 184, 0.32);
    --theme-skeleton-shimmer: linear-gradient(110deg, transparent 0%, rgba(148, 163, 184, 0.35) 48%, transparent 82%);
}

[data-theme] body {
    background: var(--theme-bg) !important;
    color: var(--theme-text) !important;
}

[data-theme] .app-container {
    background: linear-gradient(180deg, var(--theme-bg-grad-start) 0%, var(--theme-bg-grad-end) 100%) !important;
}

[data-theme] .user-header,
[data-theme] .top-bar,
[data-theme] .bottom-nav,
[data-theme] .lesson-modal-content,
[data-theme] .lesson-modal-content,
[data-theme] .modal-content,
[data-theme] .advanced-filter-dropdown,
[data-theme] .feedback-form,
[data-theme] .feedback-history-item,
[data-theme] .homework-card,
[data-theme] .lesson-card,
[data-theme] .lesson-evaluation-card,
[data-theme] .subject-grades,
[data-theme] .group-rating-card,
[data-theme] .market-card,
[data-theme] .profile-header,
[data-theme] .profile-section,
[data-theme] .profile-action,
[data-theme] .homework-filters,
[data-theme] .homework-advanced-filters {
    border-color: var(--theme-border) !important;
    box-shadow: var(--theme-shadow);
}

[data-theme] .lesson-modal-content,
[data-theme] .modal-content,
[data-theme] .advanced-filter-dropdown,
[data-theme] .feedback-form,
[data-theme] .feedback-history-item,
[data-theme] .homework-card,
[data-theme] .lesson-card,
[data-theme] .lesson-evaluation-card,
[data-theme] .subject-grades,
[data-theme] .group-rating-card,
[data-theme] .market-card,
[data-theme] .profile-header,
[data-theme] .profile-section,
[data-theme] .profile-action,
[data-theme] .homework-filters,
[data-theme] .homework-advanced-filters {
    background: var(--theme-surface) !important;
}

[data-theme] .user-header,
[data-theme] .top-bar,
[data-theme] .bottom-nav {
    background: var(--theme-chrome) !important;
    border-color: var(--theme-chrome-border) !important;
}
[data-theme] .form-textarea,
[data-theme] textarea,
[data-theme] select,
[data-theme] input[type="text"],
[data-theme] input[type="email"],
[data-theme] input[type="date"],
[data-theme] #settingPcNavPos,
[data-theme] .about-me-textarea,
[data-theme] .toggle-setting,
[data-theme] .dropdown-option,
[data-theme] .advanced-filter-btn,
[data-theme] .filter-btn,
[data-theme] .lesson-modal-close {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
    color: var(--theme-text) !important;
}

[data-theme] .form-input::placeholder,
[data-theme] .form-textarea::placeholder,
[data-theme] textarea::placeholder,
[data-theme] input::placeholder {
    color: var(--theme-text-muted) !important;
}

[data-theme] .profile-name,
[data-theme] .subject-name,
[data-theme] .lesson-eval-subject,
[data-theme] .feedback-header h2,
[data-theme] .feedback-history h3,
[data-theme] .feedback-item-subject,
[data-theme] .group-rating-title,
[data-theme] .detail-value,
[data-theme] .total-label,
[data-theme] .balance-value,
[data-theme] .info-value,
[data-theme] .lesson-modal-title,
[data-theme] .status-text,
[data-theme] .loading,
[data-theme] .no-data {
    color: var(--theme-text) !important;
    text-shadow: none !important;
}

[data-theme] .feedback-subtitle,
[data-theme] .evaluation-subtitle,
[data-theme] .lesson-eval-time,
[data-theme] .lesson-eval-date,
[data-theme] .lesson-eval-teacher,
[data-theme] .feedback-item-date,
[data-theme] .profile-group,
[data-theme] .detail-label,
[data-theme] .rating-subtitle,
[data-theme] .points-type,
[data-theme] .balance-label,
[data-theme] .info-label,
[data-theme] .textarea-counter,
[data-theme] .upload-subtitle,
[data-theme] .upload-subtext,
[data-theme] .overall-average-subtitle,
[data-theme] .premium-subtitle,
[data-theme] .quiz-banner-subtitle,
[data-theme] .quiz-banner-title,
[data-theme] .notification-empty,
[data-theme] .orders-empty span,
[data-theme] .orders-empty p,
[data-theme] .cart-empty span,
[data-theme] .cart-empty p {
    color: var(--theme-text-muted) !important;
}

[data-theme] .detail-item,
[data-theme] .lesson-detail-item {
    border-bottom-color: var(--theme-border) !important;
}

[data-theme] .subject-grades.clickable-subject.excellent {
    background: rgba(16, 185, 129, 0.04) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
}

[data-theme] .subject-grades.clickable-subject.good {
    background: rgba(34, 197, 94, 0.04) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
}

[data-theme] .subject-grades.clickable-subject.satisfactory {
    background: rgba(245, 158, 11, 0.04) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
}

[data-theme] .subject-grades.clickable-subject.fair {
    background: rgba(251, 146, 60, 0.04) !important;
    border-color: rgba(251, 146, 60, 0.2) !important;
}

[data-theme] .subject-grades.clickable-subject.poor {
    background: rgba(239, 68, 68, 0.04) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
}

[data-theme="light"] .nav-item,
[data-theme="light"] .nav-item span,
[data-theme="light"] .nav-item.active span {
    color: var(--theme-text) !important;
}

[data-theme="light"] .nav-item .nav-icon {
    filter: none !important;
}

[data-theme="light"] .action-btn.secondary {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-color: rgba(59, 130, 246, 0.32) !important;
    color: #1d4ed8 !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16) !important;
}

[data-theme="light"] .lesson-modal-overlay {
    background: rgba(15, 23, 42, 0.32) !important;
}

[data-theme] .skeleton-homework-card,
[data-theme] .skeleton-lesson-card,
[data-theme] .skeleton-grades-card,
[data-theme] .skeleton-market-card,
[data-theme] .skeleton-feedback-card,
[data-theme] .skeleton-order-card,
[data-theme] .homework-skeleton-card,
[data-theme] .evaluation-skeleton-card,
[data-theme] .grades-skeleton-summary,
[data-theme] .grades-skeleton-rating-row,
[data-theme] .grades-skeleton-toggle-row,
[data-theme] .grades-skeleton-subject-card,
[data-theme] .market-order-skeleton-card,
[data-theme] .market-item-skeleton-card,
[data-theme] .skeleton-profile-header {
    background: var(--theme-skeleton-card) !important;
    border-color: var(--theme-border) !important;
}

[data-theme] .skeleton-homework-card::before,
[data-theme] .skeleton-homework-card::after,
[data-theme] .skeleton-lesson-card::after,
[data-theme] .skeleton-grades-card::before,
[data-theme] .skeleton-grades-card::after,
[data-theme] .skeleton-market-card::after,
[data-theme] .skeleton-feedback-card::after,
[data-theme] .skeleton-order-card::after,
[data-theme] .homework-skeleton-card::before,
[data-theme] .evaluation-skeleton-card::before,
[data-theme] .grades-skeleton-summary::before,
[data-theme] .grades-skeleton-rating-row::before,
[data-theme] .grades-skeleton-toggle-row::before,
[data-theme] .grades-skeleton-subject-card::before,
[data-theme] .market-order-skeleton-card::before,
[data-theme] .market-item-skeleton-card::before,
[data-theme] .skeleton-profile-header::before {
    background: var(--theme-skeleton-shimmer) !important;
}

[data-theme] .skeleton-profile-avatar,
[data-theme] .skeleton-profile-name,
[data-theme] .skeleton-profile-group,
[data-theme] .skeleton-stat-value,
[data-theme] .skeleton-stat-label,
[data-theme] .skeleton-homework-subject,
[data-theme] .skeleton-homework-status,
[data-theme] .skeleton-homework-theme,
[data-theme] .skeleton-homework-teacher,
[data-theme] .skeleton-homework-deadline,
[data-theme] .skeleton-subject-name,
[data-theme] .skeleton-subject-average,
[data-theme] .skeleton-feedback-subject,
[data-theme] .skeleton-feedback-date,
[data-theme] .homework-skeleton-subject,
[data-theme] .homework-skeleton-status,
[data-theme] .homework-skeleton-theme,
[data-theme] .homework-skeleton-teacher,
[data-theme] .homework-skeleton-deadline,
[data-theme] .homework-skeleton-chip,
[data-theme] .evaluation-skeleton-subject,
[data-theme] .evaluation-skeleton-time,
[data-theme] .evaluation-skeleton-teacher,
[data-theme] .evaluation-skeleton-date,
[data-theme] .evaluation-skeleton-button,
[data-theme] .grades-skeleton-label,
[data-theme] .grades-skeleton-average,
[data-theme] .grades-skeleton-stat-label,
[data-theme] .grades-skeleton-stat-value,
[data-theme] .grades-skeleton-chip,
[data-theme] .grades-skeleton-subject-name,
[data-theme] .grades-skeleton-subject-average,
[data-theme] .market-order-skeleton-id,
[data-theme] .market-order-skeleton-status,
[data-theme] .market-order-skeleton-line,
[data-theme] .market-item-skeleton-title,
[data-theme] .market-item-skeleton-desc,
[data-theme] .market-item-skeleton-prices,
[data-theme] .market-item-skeleton-stock,
[data-theme] .market-item-skeleton-btn,
[data-theme] .market-item-skeleton-image {
    background: var(--theme-skeleton-line) !important;
}

[data-theme="light"] .schedule-skeleton-card {
    background: var(--theme-skeleton-card) !important;
    border-color: var(--theme-border) !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .schedule-skeleton-card::before {
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.7) 0%, rgba(148, 163, 184, 0.45) 100%) !important;
}

[data-theme="light"] .schedule-skeleton-card::after {
    background: var(--theme-skeleton-shimmer) !important;
}

[data-theme="light"] .schedule-skeleton-time,
[data-theme="light"] .schedule-skeleton-title,
[data-theme="light"] .schedule-skeleton-line,
[data-theme="light"] .schedule-skeleton-state {
    background: var(--theme-skeleton-line) !important;
}

[data-theme] .user-header-name {
    color: var(--theme-text) !important;
}
[data-theme] .user-header-group {
    color: var(--theme-text-muted) !important;
}
[data-theme] .user-header-avatar svg {
    color: var(--theme-text) !important;
}
[data-theme] .brand-top {
    color: var(--theme-text-muted) !important;
}
[data-theme="light"] .brand-kodari {
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.15)) !important;
}
[data-theme="light"] .user-header-link:hover .user-header-name {
    background: linear-gradient(90deg, #1e3a8a 0%, #4338ca 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

[data-theme] .notifications-btn {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
    color: var(--theme-text) !important;
}
[data-theme] .notifications-btn:hover {
    background: var(--theme-surface-strong) !important;
}

[data-theme] .stats-item,
[data-theme] .grade-type-item,
[data-theme] .absence-item,
[data-theme] .top-absence-item {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme] .distribution-bar {
    background: var(--theme-input-border) !important;
}

[data-theme] .stats-label,
[data-theme] .stat-label,
[data-theme] .distribution-percent,
[data-theme] .grade-type-details,
[data-theme] .absence-subject-details,
[data-theme] .absence-label {
    color: var(--theme-text-muted) !important;
}

[data-theme] .stats-value,
[data-theme] .stat-value,
[data-theme] .distribution-count,
[data-theme] .grade-type-name,
[data-theme] .absence-subject-name,
[data-theme] .grade-distribution h3,
[data-theme] .grade-types-stats h3,
[data-theme] .lesson-grades-section h3,
[data-theme] .top-absences h4,
[data-theme] .absence-value,
[data-theme] .subject-name {
    color: var(--theme-text) !important;
}

[data-theme] .stats-summary .stats-item:first-child .stats-value {
    color: #3b82f6 !important;
}

[data-theme="light"] .grade-type-average {
    color: #2563eb !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme] .homework-subject,
[data-theme] .homework-upload-form h4,
[data-theme] .homework-comment-section label,
[data-theme] .homework-files-section h3,
[data-theme] .teacher-comment-section h3 {
    color: var(--theme-text) !important;
}

[data-theme] .homework-comment-input {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
    color: var(--theme-text) !important;
}

[data-theme="light"] .lesson-title,
[data-theme="light"] .lesson-subject,
[data-theme="light"] .lesson-modal-title,
[data-theme="light"] .lesson-grades-section h3,
[data-theme="light"] .homework-subject,
[data-theme="light"] .homework-upload-form h4,
[data-theme="light"] .homework-comment-section label,
[data-theme="light"] .homework-description-section h3,
[data-theme="light"] .homework-files-section h3,
[data-theme="light"] .teacher-comment-section h3,
[data-theme="light"] .homework-description,
[data-theme="light"] .teacher-comment-content .comment-text,
[data-theme="light"] .upload-text,
[data-theme="light"] .files-count,
[data-theme="light"] .file-item-name,
[data-theme="light"] .subject-name,
[data-theme="light"] .grade-distribution h3,
[data-theme="light"] .grade-types-stats h3,
[data-theme="light"] .grade-type-name,
[data-theme="light"] .absence-subject-name,
[data-theme="light"] .stats-value,
[data-theme="light"] .stat-value,
[data-theme="light"] .distribution-count,
[data-theme="light"] .absence-value,
[data-theme="light"] .top-absences h4,
[data-theme="light"] .evaluation-header h2,
[data-theme="light"] .lesson-eval-subject,
[data-theme="light"] .group-rating-title,
[data-theme="light"] .rating-label,
[data-theme="light"] .tags-label,
[data-theme="light"] .market-header h2,
[data-theme="light"] .orders-header h3,
[data-theme="light"] .order-id,
[data-theme="light"] .order-value,
[data-theme="light"] .order-details-id,
[data-theme="light"] .order-details-products h4,
[data-theme="light"] .order-product-title,
[data-theme="light"] .market-item-title,
[data-theme="light"] .cart-modal-header h3,
[data-theme="light"] .cart-item-info h4,
[data-theme="light"] .cart-total-text,
[data-theme="light"] .cart-summary-prices span,
[data-theme="light"] .view-all-orders-btn,
[data-theme="light"] .total-gems,
[data-theme="light"] .total-coins,
[data-theme="light"] .orders-empty p {
    color: var(--theme-text) !important;
}

[data-theme="light"] .lesson-time,
[data-theme="light"] .lesson-teacher,
[data-theme="light"] .lesson-room,
[data-theme="light"] .lesson-date,
[data-theme="light"] .break-time,
[data-theme="light"] .break-time-remaining,
[data-theme="light"] .homework-theme,
[data-theme="light"] .homework-teacher,
[data-theme="light"] .homework-deadline,
[data-theme="light"] .teacher-comment-content .comment-date,
[data-theme="light"] .file-item-size,
[data-theme="light"] .evaluation-subtitle,
[data-theme="light"] .lesson-eval-time,
[data-theme="light"] .lesson-eval-teacher,
[data-theme="light"] .lesson-eval-date,
[data-theme="light"] .rating-subtitle,
[data-theme="light"] .rating-amount,
[data-theme="light"] .stats-label,
[data-theme="light"] .stat-label,
[data-theme="light"] .distribution-percent,
[data-theme="light"] .grade-type-details,
[data-theme="light"] .absence-subject-details,
[data-theme="light"] .absence-label,
[data-theme="light"] .overall-average-title,
[data-theme="light"] .overall-average-subtitle,
[data-theme="light"] .orders-count,
[data-theme="light"] .order-label,
[data-theme="light"] .order-product-quantity,
[data-theme="light"] .market-subtitle,
[data-theme="light"] .market-item-description,
[data-theme="light"] .orders-empty span,
[data-theme="light"] .cart-empty,
[data-theme="light"] .cart-empty span {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .market-header,
[data-theme="light"] .market-balance-card,
[data-theme="light"] .market-item,
[data-theme="light"] .order-item,
[data-theme="light"] .order-product-item,
[data-theme="light"] .cart-modal-content,
[data-theme="light"] .cart-item,
[data-theme="light"] .orders-empty,
[data-theme="light"] .file-item,
[data-theme="light"] .homework-upload-form,
[data-theme="light"] .submitted-homework-file,
[data-theme="light"] .submitted-homework-text,
[data-theme="light"] .lesson-info-card,
[data-theme="light"] .break-container,
[data-theme="light"] .break-time,
[data-theme="light"] .grade-type-item,
[data-theme="light"] .top-absence-item,
[data-theme="light"] .stats-summary .stats-item {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .market-item-prices,
[data-theme="light"] .cart-item-controls,
[data-theme="light"] .bottom-cart-header,
[data-theme="light"] .cart-summary-prices,
[data-theme="light"] .homework-comment-section textarea,
[data-theme="light"] .homework-rating-btn,
[data-theme="light"] .homework-tag-btn,
[data-theme="light"] .distribution-bar,
[data-theme="light"] .lesson-progress-container {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .break-time::before,
[data-theme="light"] .break-time::after {
    background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.55) 50%, transparent 100%) !important;
}

[data-theme="light"] .break-container.active .break-content::before,
[data-theme="light"] .break-container.active .break-content::after {
    background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.78) 50%, transparent 100%) !important;
}

[data-theme="light"] .break-container.first-lesson-countdown {
    background: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

[data-theme="light"] .break-container.first-lesson-countdown .break-progress-container {
    background: rgba(34, 197, 94, 0.18) !important;
}

[data-theme="light"] .break-container.first-lesson-countdown .break-progress-bar {
    background: linear-gradient(90deg, #22c55e, #16a34a) !important;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.32) !important;
}

[data-theme="light"] .break-container.first-lesson-countdown .break-time-remaining {
    color: #15803d !important;
}

[data-theme="light"] .break-container.first-lesson-countdown .break-content::before,
[data-theme="light"] .break-container.first-lesson-countdown .break-content::after {
    background: linear-gradient(90deg, transparent 0%, rgba(22, 163, 74, 0.72) 50%, transparent 100%) !important;
}

[data-theme="light"] .bottom-cart-header {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%) !important;
}

[data-theme="light"] .bottom-cart-header .cart-summary,
[data-theme="light"] .bottom-cart-header .cart-summary-info {
    background: transparent !important;
}

[data-theme="light"] .homework-comment-section textarea,
[data-theme="light"] .homework-rating-btn,
[data-theme="light"] .homework-tag-btn,
[data-theme="light"] .cart-close-btn,
[data-theme="light"] .lesson-info-modal .lesson-modal-close,
[data-theme="light"] .modal-content .lesson-modal-close,
[data-theme="light"] .lesson-modal-close,
[data-theme="light"] .profile-action.update-credentials {
    color: var(--theme-text) !important;
}

[data-theme="light"] .duplicate-toggle-wrapper,
[data-theme="light"] .duplicate-toggle-locked {
    background: linear-gradient(135deg, #eef4ff 0%, #e1eeff 100%) !important;
    border-color: rgba(59, 130, 246, 0.26) !important;
    border-top-color: rgba(59, 130, 246, 0.2) !important;
}

[data-theme="light"] .duplicate-toggle-wrapper .toggle-info,
[data-theme="light"] .duplicate-toggle-locked .toggle-info {
    color: #1e3a8a !important;
    font-weight: 600 !important;
}

[data-theme="light"] .duplicate-toggle-wrapper .toggle-status,
[data-theme="light"] .duplicate-toggle-locked .toggle-status {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.28) !important;
}

[data-theme="dark"] .homework-filters {
    background: linear-gradient(135deg, rgba(22, 26, 33, 0.96) 0%, rgba(19, 24, 32, 0.96) 100%) !important;
    border: 1px solid rgba(96, 165, 250, 0.22) !important;
}

[data-theme="dark"] .homework-filters .filter-btn {
    background: rgba(31, 41, 55, 0.86) !important;
    border-color: rgba(96, 165, 250, 0.34) !important;
    color: #dbeafe !important;
}

[data-theme="dark"] .homework-filters .filter-btn:hover {
    background: rgba(30, 58, 138, 0.32) !important;
    border-color: rgba(96, 165, 250, 0.55) !important;
    color: #eff6ff !important;
}

[data-theme="dark"] .homework-filters .filter-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.34) !important;
}

[data-theme="dark"] .homework-filters .filter-btn.has-overdue {
    background: rgba(127, 29, 29, 0.44) !important;
    border-color: rgba(248, 113, 113, 0.5) !important;
    color: #fecaca !important;
}

[data-theme="dark"] .homework-filters .filter-btn.has-overdue.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #f87171 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.32) !important;
}

[data-theme="dark"] .homework-filters .filter-btn-count {
    background: rgba(59, 130, 246, 0.28) !important;
    color: #bfdbfe !important;
}

[data-theme="dark"] .homework-filters .filter-btn.active .filter-btn-count,
[data-theme="dark"] .homework-filters .filter-btn.has-overdue.active .filter-btn-count {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .homework-advanced-filters .advanced-filter-btn {
    background: rgba(31, 41, 55, 0.86) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
    color: #dbeafe !important;
}

[data-theme="dark"] .homework-advanced-filters .advanced-filter-btn:hover {
    background: rgba(30, 58, 138, 0.28) !important;
    border-color: rgba(96, 165, 250, 0.48) !important;
    color: #eff6ff !important;
}

[data-theme="dark"] .homework-advanced-filters .advanced-filter-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(29, 78, 216, 0.35) 100%) !important;
    border-color: rgba(59, 130, 246, 0.62) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.26) !important;
}

[data-theme="light"] .homework-filters {
    background: linear-gradient(135deg, #eef3ff 0%, #e8f1ff 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.14) !important;
}

[data-theme="light"] .filter-btn {
    background: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.28) !important;
    color: #1e3a8a !important;
}

[data-theme="light"] .filter-btn:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.45) !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .filter-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.32) !important;
}

[data-theme="light"] .filter-btn.has-overdue {
    background: #fff1f2 !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #dc2626 !important;
}

[data-theme="light"] .filter-btn.has-overdue.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.28) !important;
}

[data-theme="light"] .homework-filters .filter-btn-count {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .homework-filters .filter-btn.active .filter-btn-count,
[data-theme="light"] .homework-filters .filter-btn.has-overdue.active .filter-btn-count {
    background: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

[data-theme="light"] .advanced-filter-btn {
    background: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.24) !important;
    color: #1e3a8a !important;
}

[data-theme="light"] .advanced-filter-btn:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .advanced-filter-btn.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-color: rgba(37, 99, 235, 0.45) !important;
    color: #1d4ed8 !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2) !important;
}

[data-theme="light"] #settingPcNavPos {
    background: #ffffff !important;
    color: var(--theme-text) !important;
    border-color: var(--theme-input-border) !important;
    color-scheme: light !important;
}

[data-theme="light"] #settingPcNavPos option,
[data-theme="light"] #settingPcNavPos optgroup {
    background: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="dark"] #settingPcNavPos {
    color-scheme: dark !important;
}

[data-theme="dark"] #settingPcNavPos option,
[data-theme="dark"] #settingPcNavPos optgroup {
    background: #111827 !important;
    color: #f8fafc !important;
}

[data-theme="light"] .load-more-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32) !important;
}

[data-theme="light"] .load-more-button::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
}

[data-theme="light"] .load-more-button:hover {
    border-color: #1d4ed8 !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.38) !important;
}

[data-theme="light"] .load-more-button:disabled {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%) !important;
    border-color: #60a5fa !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

[data-theme="light"] .profile-header,
[data-theme="light"] .profile-section,
[data-theme="light"] .profile-action,
[data-theme="light"] .skeleton-profile-header,
[data-theme="light"] .skeleton-profile-action,
[data-theme="light"] .profile-photo-section,
[data-theme="light"] .profile-moderation-section {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .profile-name,
[data-theme="light"] .profile-section h3,
[data-theme="light"] .profile-action,
[data-theme="light"] .activity-achievement,
[data-theme="light"] .credentials-modal .form-group label,
[data-theme="light"] .credentials-modal .form-group input,
[data-theme="light"] .gaming-details-btn,
[data-theme="light"] .telegram-btn-title {
    color: var(--theme-text) !important;
}

[data-theme="light"] .profile-name {
    text-shadow: none !important;
}

[data-theme="light"] .profile-header .profile-group,
[data-theme="light"] .profile-card .profile-group,
[data-theme="light"] p.profile-group,
[data-theme="light"] .profile-action.telegram-bot:hover .telegram-btn-arrow {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .profile-action:hover {
    border-color: rgba(59, 130, 246, 0.28) !important;
    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.14) !important;
}

[data-theme="light"] .profile-action.edit-profile.full-width {
    color: #1d4ed8 !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.36) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2) !important;
}

[data-theme="light"] .profile-action.edit-profile.full-width:hover {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%) !important;
    border-color: rgba(37, 99, 235, 0.48) !important;
}

[data-theme="light"] .profile-action.kodari-id {
    color: #1d4ed8 !important;
    border-color: rgba(59, 130, 246, 0.36) !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
}

[data-theme="light"] .profile-action.telegram-bot {
    color: #0c4a6e !important;
    border-color: rgba(2, 132, 199, 0.34) !important;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important;
}

[data-theme="light"] .profile-action.reviews {
    color: #7c2d12 !important;
    border-color: rgba(217, 119, 6, 0.32) !important;
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%) !important;
}

[data-theme="light"] .profile-action.reviews:hover {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%) !important;
}

[data-theme="light"] .profile-action.contacts {
    color: #047857 !important;
    border-color: rgba(16, 185, 129, 0.34) !important;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
}

[data-theme="light"] .profile-action.clear-cache {
    color: #b45309 !important;
    border-color: rgba(245, 158, 11, 0.34) !important;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
}

[data-theme="light"] .profile-action.customization {
    color: #6d28d9 !important;
    border-color: rgba(139, 92, 246, 0.34) !important;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%) !important;
}

[data-theme="light"] .profile-action.payment {
    color: #1d4ed8 !important;
    border-color: rgba(59, 130, 246, 0.34) !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
}

[data-theme="light"] .profile-action.logout {
    color: #dc2626 !important;
    border-color: rgba(239, 68, 68, 0.34) !important;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
}

[data-theme="light"] .credentials-modal .form-group input {
    background: #ffffff !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .credentials-modal .form-group input::placeholder {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .gaming-details-btn {
    background: #ffffff !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .gaming-details-btn:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.34) !important;
}

[data-theme] .profile-actions > .profile-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 56px;
    text-align: center;
    line-height: 1.2;
}

[data-theme] .profile-actions > .profile-action svg,
[data-theme] .profile-actions > .profile-action img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: block;
    object-fit: contain;
}

[data-theme] .profile-actions > .profile-action .telegram-icon {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    padding: 4px;
}

[data-theme="light"] .full-load-btn .toggle-switch,
[data-theme="light"] .toggle-switch {
    background: #dbeafe !important;
    border-color: rgba(59, 130, 246, 0.38) !important;
}

[data-theme="light"] .full-load-btn .toggle-knob,
[data-theme="light"] .toggle-knob {
    background: #1d4ed8 !important;
    box-shadow: 0 1px 4px rgba(30, 58, 138, 0.35) !important;
}

[data-theme="light"] .full-load-btn.active .toggle-switch,
[data-theme="light"] input:checked + .slider,
[data-theme="light"] .full-load-btn.active:hover .toggle-switch {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

[data-theme="light"] .warning-modal-content {
    background: var(--theme-surface) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .warning-modal-content h3,
[data-theme="light"] .warning-modal-content p,
[data-theme="light"] .warning-modal-content .warning-icon {
    color: var(--theme-text) !important;
}

[data-theme="light"] .warning-modal-content p {
    color: var(--theme-text-soft) !important;
}

[data-theme="light"] .cancel-btn {
    background: #e2e8f0 !important;
    color: #334155 !important;
    border: 1px solid rgba(100, 116, 139, 0.28) !important;
}

[data-theme="light"] .cancel-btn:hover {
    background: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-theme="light"] .archive-name-section,
[data-theme="light"] .archive-name-input,
[data-theme="light"] .archive-extension {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
    color: var(--theme-text) !important;
}

[data-theme="light"] .archive-name-section label,
[data-theme="light"] .archive-name-input::placeholder {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .archive-name-input:focus {
    background: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.42) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14) !important;
}

[data-theme="light"] .file-info-content svg,
[data-theme="light"] .text-info-content svg {
    color: #334155 !important;
    filter: none !important;
}

[data-theme="light"] .file-details .file-name,
[data-theme="light"] .text-details .text-label,
[data-theme="light"] .text-content {
    color: var(--theme-text) !important;
}

[data-theme="light"] .file-details .file-date,
[data-theme="light"] .text-details .text-date {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .text-content {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .submitted-homework-mark,
[data-theme="light"] .mark-details {
    background: #fff7ed !important;
    border-color: rgba(245, 158, 11, 0.34) !important;
}

[data-theme="light"] .mark-label {
    color: #b45309 !important;
}

[data-theme="light"] .mark-value {
    color: #92400e !important;
}

[data-theme="light"] .lesson-modal-details,
[data-theme="light"] .lesson-detail-item,
[data-theme="light"] .lesson-detail-item span {
    color: var(--theme-text-soft) !important;
}

[data-theme="light"] .rating-toggle-container .toggle-switch {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    border-color: rgba(59, 130, 246, 0.26) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] .rating-toggle-container .toggle-text-left,
[data-theme="light"] .rating-toggle-container .toggle-text-right {
    color: #64748b !important;
}

[data-theme="light"] .rating-toggle-container .toggle-text-left .toggle-icon,
[data-theme="light"] .rating-toggle-container .toggle-text-right .toggle-icon {
    filter: none !important;
    opacity: 0.7 !important;
}

[data-theme="light"] .rating-toggle-container .toggle-input:not(:checked) ~ .toggle-label .toggle-text-left,
[data-theme="light"] .rating-toggle-container .toggle-input:checked ~ .toggle-label .toggle-text-right {
    color: #ffffff !important;
    text-shadow: none !important;
}

[data-theme="light"] .group-rating-list .rating-item {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .group-rating-list .rating-item:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="light"] .group-rating-list .rating-name {
    color: var(--theme-text) !important;
}

[data-theme="light"] .group-rating-list .rating-amount {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .bottom-modal-content,
[data-theme="light"] .bottom-modal-header,
[data-theme="light"] .bottom-modal-body,
[data-theme="light"] .cart-modal-content,
[data-theme="light"] .cart-modal-header,
[data-theme="light"] .cart-modal-body,
[data-theme="light"] .cart-modal-footer,
[data-theme="light"] .order-product-item,
[data-theme="light"] .cart-item,
[data-theme="light"] .cart-comment-section {
    background: var(--theme-surface) !important;
    border-color: var(--theme-input-border) !important;
    color: var(--theme-text) !important;
}

[data-theme="light"] .bottom-modal-handle {
    background: #94a3b8 !important;
}

[data-theme="light"] .bottom-modal-close,
[data-theme="light"] .cart-close-btn {
    background: #e2e8f0 !important;
    color: #334155 !important;
    border: 1px solid rgba(100, 116, 139, 0.22) !important;
}

[data-theme="light"] .cart-comment-label,
[data-theme="light"] .cart-total-row span:first-child,
[data-theme="light"] .cart-item-info h4,
[data-theme="light"] .cart-modal-header h3,
[data-theme="light"] .order-details-id,
[data-theme="light"] .order-product-title,
[data-theme="light"] .order-value {
    color: var(--theme-text) !important;
}

[data-theme="light"] .cart-item-prices,
[data-theme="light"] .cart-comment-counter,
[data-theme="light"] .cart-balance-info span:first-child,
[data-theme="light"] .order-label,
[data-theme="light"] .order-product-quantity {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .cart-comment-input {
    background: #ffffff !important;
    border-color: var(--theme-input-border) !important;
    color: var(--theme-text) !important;
}

[data-theme="light"] .cart-balance-info,
[data-theme="light"] .cart-item-controls,
[data-theme="light"] .order-details-total {
    background: var(--theme-input-bg) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .market-buy-btn,
[data-theme="light"] .confirm-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

[data-theme="light"] .market-buy-btn:hover:not(.disabled),
[data-theme="light"] .market-buy-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

[data-theme="light"] .market-buy-btn.disabled,
[data-theme="light"] .market-buy-btn:disabled {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%) !important;
    color: #475569 !important;
    opacity: 0.9 !important;
}

[data-theme="light"] .bottom-cart-container,
[data-theme="light"] .bottom-cart-container.nav-expanded,
[data-theme="light"] .bottom-cart-container.expanded {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%) !important;
    border-color: rgba(59, 130, 246, 0.24) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .cart-item-controls {
    background: #e2e8f0 !important;
    border: 1px solid rgba(100, 116, 139, 0.26) !important;
}

[data-theme="light"] .cart-item-controls button {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid rgba(100, 116, 139, 0.32) !important;
}

[data-theme="light"] .cart-item-controls button:hover {
    background: #dbeafe !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

[data-theme="light"] .cart-item-controls span {
    color: #1e293b !important;
}

[data-theme="light"] .profile-name {
    background: none !important;
    color: var(--theme-text) !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: border-box !important;
    text-shadow: none !important;
}

[data-theme="light"] #editProfileModal .form-group label,
[data-theme="light"] #profileSettingsModal .form-group label,
[data-theme="light"] #editProfileModal .toggle-title,
[data-theme="light"] #editProfileModal .toggle-description,
[data-theme="light"] #profileSettingsModal .toggle-title,
[data-theme="light"] #profileSettingsModal .toggle-description,
[data-theme="light"] #editProfileModal .lesson-modal-category,
[data-theme="light"] #profileSettingsModal .lesson-modal-category {
    color: var(--theme-text) !important;
}

[data-theme="light"] #editProfileModal .form-input,
[data-theme="light"] #profileSettingsModal .form-input,
[data-theme="light"] #editProfileModal input[type="tel"],
[data-theme="light"] #editProfileModal input[type="text"],
[data-theme="light"] #editProfileModal input[type="email"],
[data-theme="light"] #editProfileModal input[type="date"],
[data-theme="light"] #profileSettingsModal input[type="text"],
[data-theme="light"] #profileSettingsModal textarea {
    background: #ffffff !important;
    color: var(--theme-text) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] #editProfileModal .form-input.readonly,
[data-theme="light"] #profileSettingsModal .form-input.readonly,
[data-theme="light"] #editProfileModal input[readonly],
[data-theme="light"] #profileSettingsModal input[readonly] {
    background: #eef2f7 !important;
    color: var(--theme-text-soft) !important;
    border-color: rgba(100, 116, 139, 0.22) !important;
}

[data-theme="light"] .modal-loading-overlay {
    background: rgba(241, 245, 249, 0.72) !important;
}

[data-theme="light"] .modal-loader {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14) !important;
}

[data-theme="light"] .loader-text {
    color: var(--theme-text-soft) !important;
}

[data-theme="light"] #evaluationModal .modal-title,
[data-theme="light"] #evaluationModal .evaluation-step h4,
[data-theme="light"] #evaluationModal .rating-label,
[data-theme="light"] #evaluationModal .tags-label,
[data-theme="light"] #evaluationModal .comment-container label,
[data-theme="light"] #evaluationModal .lesson-subject,
[data-theme="light"] #evaluationModal .lesson-teacher,
[data-theme="light"] #evaluationModal .lesson-time,
[data-theme="light"] #evaluationModal .lesson-date {
    color: var(--theme-text) !important;
}

[data-theme="light"] #evaluationModal .modal-close {
    background: #e2e8f0 !important;
    border: 1px solid rgba(100, 116, 139, 0.22) !important;
    color: #334155 !important;
}

[data-theme="light"] #evaluationModal .modal-close:hover {
    background: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-theme="light"] #evaluationModal .rating-btn {
    background: #ffffff !important;
    border-color: rgba(100, 116, 139, 0.28) !important;
    color: #475569 !important;
}

[data-theme="light"] #evaluationModal .rating-btn:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.36) !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] #evaluationModal .rating-btn.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="light"] #evaluationModal .tag-btn {
    background: #ffffff !important;
    border-color: rgba(100, 116, 139, 0.24) !important;
    color: #475569 !important;
}

[data-theme="light"] #evaluationModal .tag-btn:hover {
    background: #f8fafc !important;
    border-color: rgba(59, 130, 246, 0.32) !important;
    color: #1e3a8a !important;
}

[data-theme="light"] #evaluationModal .tag-btn.selected {
    background: #dcfce7 !important;
    border-color: #22c55e !important;
    color: #15803d !important;
}

[data-theme="light"] #evaluationModal .comment-container textarea {
    background: #ffffff !important;
    border-color: var(--theme-input-border) !important;
    color: var(--theme-text) !important;
}

[data-theme="light"] #evaluationModal .comment-container textarea::placeholder {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] #evaluationModal .back-btn {
    background: #e2e8f0 !important;
    border-color: rgba(100, 116, 139, 0.24) !important;
    color: #334155 !important;
}

[data-theme="light"] #evaluationModal .back-btn:hover {
    background: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-theme="light"] #evaluationModal .continue-btn,
[data-theme="light"] #evaluationModal .submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
}

[data-theme="light"] #evaluationModal .continue-btn:disabled,
[data-theme="light"] #evaluationModal .submit-btn:disabled {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%) !important;
    color: #475569 !important;
}

[data-theme="light"] .payment-requisites-card,
[data-theme="light"] .payment-history-item {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .payment-field {
    border-bottom-color: rgba(100, 116, 139, 0.18) !important;
}

[data-theme="light"] .payment-section h4,
[data-theme="light"] .payment-description,
[data-theme="light"] .payment-value {
    color: var(--theme-text) !important;
}

[data-theme="light"] .payment-label,
[data-theme="light"] .payment-date {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .payment-history-item:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="light"] .payment-schedule-item {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .payment-schedule-item:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="light"] .payment-schedule-description,
[data-theme="light"] .payment-schedule-amount {
    color: var(--theme-text) !important;
}

[data-theme="light"] .payment-schedule-date {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .contacts-section h4 {
    color: var(--theme-text) !important;
    border-bottom-color: rgba(100, 116, 139, 0.2) !important;
}

[data-theme="light"] .contact-item {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .contact-item:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.32) !important;
}

[data-theme="light"] .contact-address,
[data-theme="light"] .contact-name {
    color: var(--theme-text) !important;
}

[data-theme="light"] .contact-phones,
[data-theme="light"] .contact-emails,
[data-theme="light"] .contact-description {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .contact-phones strong,
[data-theme="light"] .contact-emails strong {
    color: #1e3a8a !important;
}

[data-theme="light"] .contact-phones a,
[data-theme="light"] .contact-emails a,
[data-theme="light"] .social-link {
    color: #1d4ed8 !important;
}

[data-theme="light"] .contact-phones a:hover,
[data-theme="light"] .contact-emails a:hover,
[data-theme="light"] .social-link:hover {
    color: #1e40af !important;
}

[data-theme="light"] .theme-preview-btn {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .theme-preview-btn:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

[data-theme="light"] .theme-preview-btn.is-active {
    background: #dbeafe !important;
    border-color: rgba(37, 99, 235, 0.7) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

[data-theme="light"] .theme-preview-title,
[data-theme="light"] .theme-preview-title span {
    color: var(--theme-text) !important;
}

[data-theme="light"] .reviews-list .review-item {
    background: var(--theme-surface-soft) !important;
    border-color: var(--theme-input-border) !important;
}

[data-theme="light"] .reviews-list .review-item:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="light"] .reviews-list .review-teacher-name,
[data-theme="light"] .reviews-list .review-text {
    color: var(--theme-text) !important;
}

[data-theme="light"] .reviews-list .review-subject,
[data-theme="light"] .reviews-list .review-date,
[data-theme="light"] .no-reviews,
[data-theme="light"] .telegram-btn-subtitle {
    color: var(--theme-text-muted) !important;
}

[data-theme="light"] .no-reviews {
    background: var(--theme-surface-soft) !important;
    border-color: rgba(100, 116, 139, 0.2) !important;
}

[data-theme="light"] .modal-title {
    color: var(--theme-text) !important;
}

[data-theme="dark"] .telegram-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
    border: 1px solid rgba(147, 197, 253, 0.35) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

[data-theme="light"] .notification-content {
    background: var(--theme-surface) !important;
    border-color: var(--theme-input-border) !important;
    box-shadow:
        0 20px 44px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .notification-header {
    border-bottom-color: var(--theme-input-border) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%) !important;
}

[data-theme="light"] .notification-type-info .notification-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.13) 0%, rgba(99, 102, 241, 0.1) 100%) !important;
}

[data-theme="light"] .notification-type-success .notification-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.14) 0%, rgba(16, 185, 129, 0.1) 100%) !important;
}

[data-theme="light"] .notification-type-warning .notification-header {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.18) 0%, rgba(245, 158, 11, 0.14) 100%) !important;
}

[data-theme="light"] .notification-type-error .notification-header {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.16) 0%, rgba(239, 68, 68, 0.12) 100%) !important;
}

[data-theme="light"] .notification-title {
    color: var(--theme-text) !important;
}

[data-theme="light"] .notification-close {
    color: #475569 !important;
}

[data-theme="light"] .notification-close:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

[data-theme="light"] .notifications-support-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border-color: rgba(59, 130, 246, 0.24) !important;
}

[data-theme="light"] .notifications-support-section p {
    color: #1e3a8a !important;
}

[data-theme="light"] .notifications-support-section a {
    color: #1d4ed8 !important;
}

[data-theme="light"] .notifications-support-section a:hover {
    color: #1e40af !important;
}

[data-theme="light"] .notification-body::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.2) !important;
}

[data-theme="light"] .notification-body::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.45) !important;
}

[data-theme="light"] .notification-body::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, 0.6) !important;
}

[data-theme="light"] .notification-message {
    color: var(--theme-text-soft) !important;
}

[data-theme="light"] .notification-date {
    color: var(--theme-text-muted) !important;
}
