/**
 * Component-specific styles
 * Modular CSS for reusable UI components
 */

/* ========================================
   BUTTON COMPONENTS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button Variants */
.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.dark-mode .btn-secondary {
    background: #374151;
    color: #d1d5db;
    border-color: #4b5563;
}

body.dark-mode .btn-secondary:hover {
    background: #4b5563;
    border-color: #6b7280;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-info {
    background: #3b82f6;
    color: white;
}

.btn-info:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Button with Icons */
.btn-icon {
    padding: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.btn-icon-sm {
    width: 32px;
    height: 32px;
    padding: 0.5rem;
}

.btn-icon-lg {
    width: 48px;
    height: 48px;
    padding: 1rem;
}

/* ========================================
   CARD COMPONENTS
   ======================================== */

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
}

body.dark-mode .card {
    background: #374151;
    border-color: #4b5563;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.dark-mode .card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

body.dark-mode .card-header {
    border-bottom-color: #4b5563;
    background: #4b5563;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

body.dark-mode .card-footer {
    border-top-color: #4b5563;
    background: #4b5563;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

body.dark-mode .card-title {
    color: #ffffff;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

body.dark-mode .card-subtitle {
    color: #d1d5db;
}

.card-text {
    color: #374151;
    line-height: 1.6;
}

body.dark-mode .card-text {
    color: #d1d5db;
}

/* Card Variants */
.card-featured {
    border: 2px solid #2563eb;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
}

.card-featured .card-header {
    background: #eff6ff;
    border-bottom-color: #2563eb;
}

body.dark-mode .card-featured .card-header {
    background: #1e3a8a;
}

.card-success {
    border-color: #10b981;
}

.card-success .card-header {
    background: #ecfdf5;
    border-bottom-color: #10b981;
}

body.dark-mode .card-success .card-header {
    background: #064e3b;
}

.card-warning {
    border-color: #f59e0b;
}

.card-warning .card-header {
    background: #fffbeb;
    border-bottom-color: #f59e0b;
}

body.dark-mode .card-warning .card-header {
    background: #78350f;
}

.card-danger {
    border-color: #ef4444;
}

.card-danger .card-header {
    background: #fef2f2;
    border-bottom-color: #ef4444;
}

body.dark-mode .card-danger .card-header {
    background: #7f1d1d;
}

/* ========================================
   MODAL COMPONENTS
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.show {
    display: block;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

body.dark-mode .modal-content {
    background: #374151;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .modal-header {
    border-bottom-color: #4b5563;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

body.dark-mode .modal-title {
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

body.dark-mode .modal-close:hover {
    background: #4b5563;
    color: #d1d5db;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

body.dark-mode .modal-footer {
    border-top-color: #4b5563;
}

/* Modal Sizes */
.modal-sm .modal-content {
    max-width: 400px;
}

.modal-lg .modal-content {
    max-width: 800px;
}

.modal-xl .modal-content {
    max-width: 1000px;
}

/* ========================================
   TOOLTIP COMPONENTS
   ======================================== */

.tooltip {
    position: absolute;
    background: #1f2937;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s ease;
    pointer-events: none;
}

body.dark-mode .tooltip {
    background: #f9fafb;
    color: #1f2937;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::before {
    content: '';
    position: absolute;
    border: 4px solid transparent;
}

.tooltip-top::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #1f2937;
}

body.dark-mode .tooltip-top::before {
    border-top-color: #f9fafb;
}

.tooltip-bottom::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #1f2937;
}

body.dark-mode .tooltip-bottom::before {
    border-bottom-color: #f9fafb;
}

.tooltip-left::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: #1f2937;
}

body.dark-mode .tooltip-left::before {
    border-left-color: #f9fafb;
}

.tooltip-right::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: #1f2937;
}

body.dark-mode .tooltip-right::before {
    border-right-color: #f9fafb;
}

/* ========================================
   BADGE COMPONENTS
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: #dbeafe;
    color: #1e40af;
}

body.dark-mode .badge-primary {
    background: #1e3a8a;
    color: #93c5fd;
}

.badge-secondary {
    background: #f3f4f6;
    color: #374151;
}

body.dark-mode .badge-secondary {
    background: #374151;
    color: #d1d5db;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

body.dark-mode .badge-success {
    background: #064e3b;
    color: #6ee7b7;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

body.dark-mode .badge-warning {
    background: #78350f;
    color: #fbbf24;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

body.dark-mode .badge-danger {
    background: #7f1d1d;
    color: #fca5a5;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

body.dark-mode .badge-info {
    background: #1e3a8a;
    color: #93c5fd;
}

/* Badge Sizes */
.badge-sm {
    padding: 0.125rem 0.5rem;
    font-size: 0.625rem;
}

.badge-lg {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ========================================
   ALERT COMPONENTS
   ======================================== */

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    margin-bottom: 1rem;
    position: relative;
}

.alert-info {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1e40af;
}

body.dark-mode .alert-info {
    background: #1e3a8a;
    border-color: #3b82f6;
    color: #93c5fd;
}

.alert-success {
    background: #d1fae5;
    border-color: #6ee7b7;
    color: #065f46;
}

body.dark-mode .alert-success {
    background: #064e3b;
    border-color: #10b981;
    color: #6ee7b7;
}

.alert-warning {
    background: #fef3c7;
    border-color: #fbbf24;
    color: #92400e;
}

body.dark-mode .alert-warning {
    background: #78350f;
    border-color: #f59e0b;
    color: #fbbf24;
}

.alert-danger {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

body.dark-mode .alert-danger {
    background: #7f1d1d;
    border-color: #ef4444;
    color: #fca5a5;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .alert-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: currentColor;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.alert-dismissible .alert-close:hover {
    opacity: 1;
}

/* ========================================
   FORM COMPONENTS
   ======================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

body.dark-mode .form-label {
    color: #d1d5db;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

body.dark-mode .form-control {
    background: #4b5563;
    border-color: #6b7280;
    color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

body.dark-mode .form-control:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-control.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

body.dark-mode .form-text {
    color: #9ca3af;
}

.form-error {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-error::before {
    content: '⚠️';
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.field-error::before {
    content: '⚠️';
    font-size: 1rem;
}

/* Form Layouts */
.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.form-inline {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.form-inline .form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.form-inline .btn {
    flex-shrink: 0;
    align-self: stretch;
}

/* ========================================
   TAB COMPONENTS
   ======================================== */

.tab-container {
    margin-bottom: 2rem;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.dark-mode .tab-buttons {
    border-bottom-color: #4b5563;
}

.tab-button {
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

body.dark-mode .tab-button {
    color: #9ca3af;
}

.tab-button:hover {
    color: #374151;
    background: #f9fafb;
}

body.dark-mode .tab-button:hover {
    color: #d1d5db;
    background: #374151;
}

.tab-button.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background: #eff6ff;
}

body.dark-mode .tab-button.active {
    color: #60a5fa;
    background: #1e3a8a;
    border-bottom-color: #60a5fa;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Platform Tabs */
.platform-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.platform-tab {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

body.dark-mode .platform-tab {
    background: #4b5563;
    border-color: #6b7280;
    color: #d1d5db;
}

.platform-tab:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

body.dark-mode .platform-tab:hover {
    background: #6b7280;
    border-color: #9ca3af;
}

.platform-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

body.dark-mode .platform-tab.active {
    background: #60a5fa;
    border-color: #60a5fa;
}

.platform-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.platform-content.active {
    display: block;
}

/* ========================================
   PROGRESS COMPONENTS
   ======================================== */

.progress {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

body.dark-mode .progress {
    background: #4b5563;
}

.progress-bar {
    height: 100%;
    background: #2563eb;
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

body.dark-mode .progress-bar {
    background: #60a5fa;
}

.progress-bar.success {
    background: #10b981;
}

.progress-bar.warning {
    background: #f59e0b;
}

.progress-bar.danger {
    background: #ef4444;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

body.dark-mode .progress-text {
    color: #9ca3af;
}

/* Circular Progress */
.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e5e7eb;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .progress-circle {
    background: #4b5563;
}

.progress-circle-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

body.dark-mode .progress-circle-inner {
    background: #374151;
}

.progress-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
}

body.dark-mode .progress-value {
    color: #60a5fa;
}

.progress-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

body.dark-mode .progress-label {
    color: #9ca3af;
}

/* ========================================
   NOTIFICATION COMPONENTS
   ======================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: #10b981;
}

.notification-error {
    background: #ef4444;
}

.notification-warning {
    background: #f59e0b;
}

.notification-info {
    background: #3b82f6;
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: currentColor;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

/* ========================================
   LOADING COMPONENTS
   ======================================== */

.loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

body.dark-mode .loading {
    color: #9ca3af;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

body.dark-mode .spinner {
    border-color: #4b5563;
    border-top-color: #60a5fa;
}

.spinner-sm {
    width: 16px;
    height: 16px;
}

.spinner-lg {
    width: 24px;
    height: 24px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

body.dark-mode .skeleton {
    background: linear-gradient(90deg, #4b5563 25%, #6b7280 50%, #4b5563 75%);
    background-size: 200% 100%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-title {
    height: 1.5rem;
    width: 80%;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: 6px;
}

/* ========================================
   UTILITY COMPONENTS
   ======================================== */

/* Keyboard shortcuts display */
kbd {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.125rem 0.375rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.75rem;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.dark-mode kbd {
    background: #4b5563;
    border-color: #6b7280;
    color: #d1d5db;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Ripple effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Focus indicators */
.focus-ring:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

body.dark-mode .focus-ring:focus {
    outline-color: #60a5fa;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Text utilities */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-primary { color: #2563eb; }
body.dark-mode .text-primary { color: #60a5fa; }
.text-secondary { color: #6b7280; }
body.dark-mode .text-secondary { color: #9ca3af; }
.text-success { color: #10b981; }
.text-warning { color: #f59e0b; }
.text-danger { color: #ef4444; }
.text-muted { color: #9ca3af; }
body.dark-mode .text-muted { color: #6b7280; }

/* Spacing utilities */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

/* Display utilities */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }

/* Responsive utilities */
.show-mobile { display: none; }
.show-desktop { display: block; }

@media (max-width: 768px) {
    .show-mobile { display: block; }
    .show-desktop { display: none; }
    .hide-mobile { display: none; }
    .hide-desktop { display: block; }
}

@media (min-width: 769px) {
    .show-mobile { display: none; }
    .show-desktop { display: block; }
    .hide-mobile { display: block; }
    .hide-desktop { display: none; }
}
