/* Stili për box-et dinamike të dashboard-it */

/* Loading indicators */
.loading-indicator {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Custom box content styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.stat-item.domain-active-item {
    border-left: 4px solid #28a745;
}

.stat-item.domain-inactive-item {
    border-left: 4px solid #dc3545;
}

/* Domain Stats Special Layout */
.domain-stats-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.domain-total-full {
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-total-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.domain-total-full .stat-number {
    font-size: 2.2em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 8px;
    line-height: 1;
}

.domain-total-full .stat-label {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-secondary-row {
    display: flex;
    gap: 15px;
}

.domain-active-item, .domain-inactive-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-active-item:hover, .domain-inactive-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.domain-active-item {
    border-left: 4px solid #28a745;
}

.domain-inactive-item {
    border-left: 4px solid #dc3545;
}

.domain-active-item .stat-number, .domain-inactive-item .stat-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
    line-height: 1;
}

.domain-active-item .stat-label, .domain-inactive-item .stat-label {
    font-size: 0.8em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive design for domain stats */
@media (max-width: 768px) {
    .domain-secondary-row {
        flex-direction: column;
        gap: 10px;
    }
}

.stat-number {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
}

/* Task list styles */
.recent-tasks h4 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 1.1em;
}

.task-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0 12px;
}

.task-chip {
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85em;
    border: 1px solid transparent;
    letter-spacing: 0.2px;
}

.task-chip.overdue {
    color: var(--status-inactive);
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.35);
}

.task-chip.upcoming {
    color: var(--status-warning);
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.35);
}

.task-chip.progress {
    color: var(--accent-primary);
    background: rgba(62, 98, 195, 0.16);
    border-color: rgba(62, 98, 195, 0.35);
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-tertiary);
}

.task-item:last-child {
    border-bottom: none;
}

.task-status {
    margin-right: 8px;
    font-size: 1.2em;
}

.task-desc {
    flex: 1;
    font-size: 0.9em;
    color: var(--text-primary);
}

.task-deadline {
    font-size: 0.8em;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 3px;
}

.task-item.overdue .task-deadline {
    color: var(--status-inactive);
    background: rgba(239, 68, 68, 0.14);
}

.task-item.upcoming .task-deadline {
    color: var(--status-warning);
    background: rgba(245, 158, 11, 0.14);
}

.task-item.progress .task-deadline {
    color: var(--accent-primary);
    background: rgba(62, 98, 195, 0.14);
}

.no-tasks {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 15px;
}

.task-groups {
    display: grid;
    gap: 12px;
}

.task-group {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-tertiary);
    border-radius: 10px;
    padding: 10px 12px;
}

.task-group-title {
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.task-group .task-item {
    padding: 6px 0;
}

/* Modern Task Cards */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.task-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #007bff;
    transition: width 0.3s ease;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.task-card:hover::before {
    width: 6px;
}

.task-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.task-content {
    flex: 1;
    min-width: 0;
}

.task-description {
    font-weight: 600;
    font-size: 0.95em;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.4;
}

.task-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.task-website {
    font-size: 0.8em;
    padding: 3px 8px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 6px;
    color: #007bff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.task-website i {
    font-size: 0.9em;
}

.task-date {
    font-size: 0.8em;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    color: #555;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.task-date i {
    font-size: 0.9em;
}

.task-badge {
    font-size: 0.8em;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.task-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-size: 0.85em;
}

.task-edit-btn:hover {
    background: #007bff;
    color: #fff;
    transform: scale(1.1);
}

/* Task Status Colors */
.task-card.task-done {
    border-color: rgba(40, 167, 69, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(40, 167, 69, 0.03) 100%);
}

.task-card.task-done::before {
    background: linear-gradient(180deg, #28a745 0%, #218838 100%);
}

.task-card.task-done .task-badge {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.task-card.task-overdue {
    border-color: rgba(220, 53, 69, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(220, 53, 69, 0.05) 100%);
}

.task-card.task-overdue::before {
    background: linear-gradient(180deg, #dc3545 0%, #c82333 100%);
}

.task-card.task-overdue .task-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.task-card.task-urgent {
    border-color: rgba(255, 87, 34, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 87, 34, 0.05) 100%);
}

.task-card.task-urgent::before {
    background: linear-gradient(180deg, #ff5722 0%, #e64a19 100%);
}

.task-card.task-urgent .task-badge {
    background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.3);
}

.task-card.task-processing {
    border-color: rgba(0, 123, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(0, 123, 255, 0.03) 100%);
}

.task-card.task-processing::before {
    background: linear-gradient(180deg, #007bff 0%, #0056b3 100%);
}

.task-card.task-processing .task-badge {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
}

.task-card.task-pending {
    border-color: rgba(108, 117, 125, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(108, 117, 125, 0.03) 100%);
}

.task-card.task-pending::before {
    background: linear-gradient(180deg, #6c757d 0%, #5a6268 100%);
}

.task-card.task-pending .task-badge {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(108, 117, 125, 0.25);
}

.no-tasks-message {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.no-tasks-message i {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 12px;
    display: block;
}

.no-tasks-message p {
    font-size: 0.95em;
    margin: 0;
}

@media (max-width: 768px) {
    .task-summary {
        gap: 8px;
        margin-bottom: 10px;
    }

    .task-chip {
        font-size: 0.78em;
        padding: 4px 8px;
    }

    .task-group {
        padding: 8px 10px;
    }

    .task-item {
        align-items: flex-start;
        gap: 6px;
    }

    .task-desc {
        font-size: 0.85em;
    }

    .task-deadline {
        font-size: 0.75em;
    }
}

/* Financial summary styles */
.financial-summary h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.finance-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.finance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid;
}

.finance-item.unpaid {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.finance-item.paid {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.finance-amount {
    font-weight: bold;
    font-size: 1.1em;
}

.finance-label {
    font-size: 0.9em;
}

/* Domain alerts styles */
.domain-alerts h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.alert-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.alert-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #007bff;
    transition: width 0.3s ease;
}

.alert-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.alert-item:hover::before {
    width: 6px;
}

.alert-item.critical {
    border-color: rgba(220, 53, 69, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(220, 53, 69, 0.03) 100%);
}

.alert-item.critical::before {
    background: linear-gradient(180deg, #dc3545 0%, #c82333 100%);
}

.alert-item.warning {
    border-color: rgba(255, 193, 7, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 193, 7, 0.03) 100%);
}

.alert-item.warning::before {
    background: linear-gradient(180deg, #ffc107 0%, #e0a800 100%);
}

.alert-item.info {
    border-color: rgba(23, 162, 184, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(23, 162, 184, 0.03) 100%);
}

.alert-item.info::before {
    background: linear-gradient(180deg, #17a2b8 0%, #138496 100%);
}

.alert-item.expired {
    border-color: rgba(220, 53, 69, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(220, 53, 69, 0.05) 100%);
}

.alert-item.expired::before {
    background: linear-gradient(180deg, #dc3545 0%, #bd2130 100%);
}

.alert-item.expired:hover {
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.15);
}

/* Scrollable list styles */
.alert-list::-webkit-scrollbar {
    width: 6px;
}

.alert-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.alert-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.alert-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* CSS variables for dark/light mode */
.alert-item {
    --domain-name-dark: #ffffff;
    --domain-name-light: #000000;
}

/* More specific selector for domain name color */
.alert-item .domain-name,
div.alert-item span.domain-name {
    font-weight: 600;
    flex: 1;
    font-size: 0.95em;
    color: #1a1a1a !important;
    letter-spacing: 0.01em;
}

/* Light mode styles */
[data-theme="light"] .task-description {
    color: #1a1a1a !important;
}

[data-theme="light"] .task-website {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff !important;
}

[data-theme="light"] .task-date {
    background: rgba(0, 0, 0, 0.05);
    color: #555 !important;
}

[data-theme="light"] .alert-item .domain-name,
[data-theme="light"] div.alert-item span.domain-name {
    color: #000000 !important;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .task-card {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .task-card:hover {
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    
    .task-description {
        color: #ffffff !important;
    }
    
    .task-website {
        background: rgba(0, 123, 255, 0.2);
        color: #66b3ff;
    }
    
    .task-date {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
    }
    
    .task-card.task-done {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(40, 167, 69, 0.12) 100%);
        border-color: rgba(40, 167, 69, 0.3);
    }
    
    .task-card.task-overdue {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 53, 69, 0.15) 100%);
        border-color: rgba(220, 53, 69, 0.4);
    }
    
    .task-card.task-urgent {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 87, 34, 0.15) 100%);
        border-color: rgba(255, 87, 34, 0.4);
    }
    
    .task-card.task-processing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 123, 255, 0.12) 100%);
        border-color: rgba(0, 123, 255, 0.3);
    }
    
    .task-card.task-pending {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(108, 117, 125, 0.12) 100%);
        border-color: rgba(108, 117, 125, 0.3);
    }
    
    .alert-item {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .alert-item:hover {
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    
    .alert-item.critical {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 53, 69, 0.12) 100%);
        border-color: rgba(220, 53, 69, 0.3);
    }
    
    .alert-item.warning {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 193, 7, 0.12) 100%);
        border-color: rgba(255, 193, 7, 0.3);
    }
    
    .alert-item.info {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(23, 162, 184, 0.12) 100%);
        border-color: rgba(23, 162, 184, 0.3);
    }
    
    .alert-item.expired {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 53, 69, 0.15) 100%);
        border-color: rgba(220, 53, 69, 0.4);
    }
    
    .alert-item .domain-name,
    div.alert-item span.domain-name {
        color: #ffffff !important;
    }
    
    .expiry-date {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
    }
}

/* Manual dark mode class support */
[data-theme="dark"] .task-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .task-card:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .task-description {
    color: #ffffff !important;
}

[data-theme="dark"] .task-website {
    background: rgba(0, 123, 255, 0.2);
    color: #66b3ff;
}

[data-theme="dark"] .task-date {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .task-card.task-done {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(40, 167, 69, 0.12) 100%);
    border-color: rgba(40, 167, 69, 0.3);
}

[data-theme="dark"] .task-card.task-overdue {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 53, 69, 0.15) 100%);
    border-color: rgba(220, 53, 69, 0.4);
}

[data-theme="dark"] .task-card.task-urgent {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 87, 34, 0.15) 100%);
    border-color: rgba(255, 87, 34, 0.4);
}

[data-theme="dark"] .task-card.task-processing {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 123, 255, 0.12) 100%);
    border-color: rgba(0, 123, 255, 0.3);
}

[data-theme="dark"] .task-card.task-pending {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(108, 117, 125, 0.12) 100%);
    border-color: rgba(108, 117, 125, 0.3);
}

[data-theme="dark"] .alert-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .alert-item:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .alert-item.critical {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 53, 69, 0.12) 100%);
    border-color: rgba(220, 53, 69, 0.3);
}

[data-theme="dark"] .alert-item.warning {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 193, 7, 0.12) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

[data-theme="dark"] .alert-item.info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(23, 162, 184, 0.12) 100%);
    border-color: rgba(23, 162, 184, 0.3);
}

[data-theme="dark"] .alert-item.expired {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 53, 69, 0.15) 100%);
    border-color: rgba(220, 53, 69, 0.4);
}

[data-theme="dark"] .alert-item .domain-name,
[data-theme="dark"] div.alert-item span.domain-name {
    color: #ffffff !important;
}

[data-theme="dark"] .expiry-date {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.expiry-date {
    font-size: 0.8em;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
}

.days-left {
    font-size: 0.8em;
    font-weight: 700;
    padding: 5px 12px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
}

.alert-item.critical .days-left {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.alert-item.warning .days-left {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #000;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
}

.alert-item.info .days-left {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
}

.alert-item.expired .days-left {
    background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.35);
}

/* Renewal button */
.renew-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-left: auto;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.renew-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.renew-btn i {
    font-size: 14px;
}

.no-alerts {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 15px;
}

/* Leads performance styles */
.leads-performance h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.performance-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.performance-item {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    align-items: center;
    gap: 10px;
}

.performance-label {
    font-size: 0.9em;
    color: #666;
}

.progress-bar {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-fill.primary {
    background: #007bff;
}

.progress-fill.success {
    background: #28a745;
}

.progress-fill.danger {
    background: #dc3545;
}

.performance-count {
    text-align: center;
    font-weight: bold;
    color: #333;
}

/* Access denied style */
.access-denied {
    text-align: center;
    color: #dc3545;
    background: #f8d7da;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

/* Status indicators */
.status-list {
    margin: 15px 0;
}

.status-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.status-item:last-child {
    border-bottom: none;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-indicator.online {
    background-color: #28a745;
}

.status-indicator.offline {
    background-color: #dc3545;
}

.status-indicator.warning {
    background-color: #ffc107;
}

/* Activity list */
.activity-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    color: #666;
    font-weight: 500;
    min-width: 50px;
}

.activity-text {
    flex: 1;
    margin-left: 10px;
}

.no-activity {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Notifications */
.notifications {
    margin: 15px 0;
}

.notification {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid;
}

.notification.info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.notification.warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.notification.success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.notification.error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* Default content */
.default-content {
    text-align: center;
    padding: 20px;
    color: #666;
}

.default-content strong {
    color: #333;
}

/* Timeline styles */
.timeline-container {
    margin: 15px 0;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #007bff;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-point {
    position: absolute;
    left: -19px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid #fff;
}

.timeline-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-left: 20px;
}

.timeline-time {
    font-weight: bold;
    color: #007bff;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.timeline-date {
    color: #666;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.timeline-activity {
    color: #333;
    margin-bottom: 5px;
}

.timeline-user {
    color: #666;
    font-size: 0.8em;
    font-style: italic;
}

.no-activity {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Chart styles */
.chart-container {
    margin: 15px 0;
}

.chart-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chart-container h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-label {
    font-size: 0.9em;
    color: #666;
}

/* CSS Chart styles */
.css-chart {
    margin: 15px 0;
}

.chart-bar {
    display: flex;
    align-items: flex-end;
    margin-bottom: 8px;
    height: 40px;
}

.bar-label {
    min-width: 30px;
    text-align: right;
    margin-right: 10px;
    font-size: 0.8em;
    color: #666;
}

.bar-container {
    flex: 1;
    height: 100%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(to top, #007bff, #0056b3);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.bar-value {
    position: absolute;
    top: -25px;
    right: 10px;
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Chart hover effects */
.chart-bar:hover .bar-fill {
    background: linear-gradient(to top, #0056b3, #004085);
    transform: scaleY(1.05);
    transition: all 0.2s ease;
}

.bar-value:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .task-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .task-deadline {
        margin-top: 5px;
    }
    
    .alert-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }
    
    .alert-item .domain-name {
        font-size: 0.9em;
        width: 100%;
    }
    
    .alert-item .expiry-date {
        font-size: 0.75em;
        padding: 3px 8px;
    }
    
    .alert-item .days-left {
        font-size: 0.75em;
        padding: 4px 10px;
    }
    
    .alert-item .renew-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .task-card {
        flex-direction: row;
        gap: 10px;
        padding: 12px;
    }
    
    .task-icon {
        font-size: 20px;
    }
    
    .task-description {
        font-size: 0.9em;
    }
    
    .task-website {
        font-size: 0.7em;
        padding: 3px 6px;
    }
    
    .task-date {
        font-size: 0.7em;
        padding: 3px 6px;
    }
    
    .task-badge {
        font-size: 0.75em;
        padding: 4px 10px;
    }
    
    .task-meta {
        gap: 6px;
    }
    
    .performance-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .finance-stats {
        gap: 8px;
    }
    
    .chart-wrapper {
        padding: 15px;
    }
    
    .chart-legend {
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-content {
        margin-left: 10px;
    }
}

/* Animation for loading */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading-indicator {
    animation: pulse 1.5s infinite;
}

/* Hover effects */
.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.notification:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

.task-item:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.alert-item:hover {
    transform: translateX(3px);
    transition: transform 0.2s ease;
}

/* Domain Statistics Modern Layout */
.domain-stats-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.domain-stats-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-stats-total:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.domain-stats-row {
    display: flex;
    gap: 15px;
}

.domain-stats-col {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-stats-col:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.domain-stats-col.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.domain-stats-col.active:hover {
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.domain-stats-col.inactive {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.domain-stats-col.inactive:hover {
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.domain-stats-container .stats-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1;
}

.domain-stats-container .stats-label {
    font-size: 0.9em;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive design for domain stats */
@media (max-width: 768px) {
    .domain-stats-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .domain-stats-total {
        padding: 20px;
    }
    
    .domain-stats-col {
        padding: 15px;
    }
    
    .domain-stats-container .stats-number {
        font-size: 2em;
    }
}

/* Custom Statistics Modern Layout */
.custom-stats-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.custom-stats-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-stats-total:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.custom-stats-row {
    display: flex;
    gap: 15px;
}

.custom-stats-col {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-stats-col:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.custom-stats-col.websites {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.custom-stats-col.websites:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.custom-stats-col.domains {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.custom-stats-col.domains:hover {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.custom-stats-col.clients {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.custom-stats-col.clients:hover {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.custom-stats-container .stats-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1;
}

.custom-stats-container .stats-label {
    font-size: 0.9em;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Unique Domain Statistics Layout */
.domain-stats-unique {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.domain-circle-chart {
    text-align: center;
    position: relative;
}

.circle-total {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.circle-total:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.circle-total::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.circle-number {
    font-size: 2.2em;
    font-weight: bold;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.circle-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.circle-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, background 0.2s ease;
}

.breakdown-item:hover {
    transform: translateX(5px);
    background: rgba(0, 0, 0, 0.05);
}

.breakdown-item.active {
    background: rgba(16, 185, 129, 0.1);
}

.breakdown-item.active:hover {
    background: rgba(16, 185, 129, 0.15);
}

.breakdown-item.inactive {
    background: rgba(239, 68, 68, 0.1);
}

.breakdown-item.inactive:hover {
    background: rgba(239, 68, 68, 0.15);
}

.breakdown-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.breakdown-item.active .breakdown-dot {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.breakdown-item.inactive .breakdown-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.breakdown-text {
    font-size: 0.9em;
    color: #374151;
    font-weight: 500;
}

/* Special Domain Statistics Layout */
.domain-stats-special {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.domain-total-row {
    display: flex;
    justify-content: center;
}

.domain-total-row .stat-item {
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    padding: 20px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-total-row .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.domain-total-row .stat-number {
    font-size: 2.2em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
    line-height: 1;
}

.domain-total-row .stat-label {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-secondary-row {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.domain-secondary-row .stat-item {
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    padding: 15px;
    text-align: center;
    flex: 1;
    max-width: 150px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-secondary-row .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.domain-secondary-row .stat-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
    line-height: 1;
}

.domain-secondary-row .stat-label {
    font-size: 0.8em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.05);
    }
}

/* Responsive design for custom stats */
@media (max-width: 768px) {
    .custom-stats-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .custom-stats-total {
        padding: 20px;
    }
    
    .custom-stats-col {
        padding: 15px;
    }
    
    .custom-stats-container .stats-number {
        font-size: 2em;
    }
    
    .circle-total {
        width: 100px;
        height: 100px;
    }
    
    .circle-number {
        font-size: 1.8em;
    }
    
    .circle-label {
        font-size: 0.7em;
    }
    
    .domain-secondary-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .domain-secondary-row .stat-item {
        max-width: none;
    }
}

/* Welcome Message Box Styles */
.welcome-message-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.welcome-gradient {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

.welcome-message-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.welcome-content {
    color: white;
    position: relative;
    z-index: 1;
}

.welcome-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.welcome-title {
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.user-name {
    background: linear-gradient(to right, #ffffff, #ffe57f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.welcome-text {
    font-size: 0.95em;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.welcome-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.welcome-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.welcome-stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.welcome-stat-item i {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.welcome-stat-item span {
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive design for welcome message */
@media (max-width: 768px) {
    .welcome-message-box {
        padding: 16px 14px;
        border-radius: 12px;
    }
    
    .welcome-icon {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .welcome-title {
        font-size: 1.15em;
        margin-bottom: 6px;
    }
    
    .welcome-text {
        font-size: 0.82em;
        margin-bottom: 0;
        opacity: 0.9;
    }
    
    .welcome-stats {
        display: none;
    }
}

/* ── Stats Box Layout (domain, website, clients) ────────────── */
.domain-stats-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.domain-total-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: transparent;
    border-radius: 10px;
    border: 2px solid #60a5fa;
    border-left: 5px solid #60a5fa;
}

.domain-secondary-row {
    display: flex;
    gap: 10px;
}

.domain-active-item,
.domain-inactive-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 10px;
}

.domain-active-item {
    border: 2px solid #22c55e;
    border-left: 5px solid #22c55e;
    background: transparent;
}
.domain-active-item .stat-number {
    color: #4ade80 !important;
}
.domain-active-item .stat-label {
    color: #86efac !important;
}

.domain-inactive-item {
    border: 2px solid #ef4444;
    border-left: 5px solid #ef4444;
    background: transparent;
}
.domain-inactive-item .stat-number {
    color: #f87171 !important;
}
.domain-inactive-item .stat-label {
    color: #fca5a5 !important;
}

.domain-stats-layout .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary, #1a73e8);
    line-height: 1.1;
}

.domain-stats-layout .stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary, #555);
    margin-top: 4px;
}

.domain-total-full .stat-number {
    color: var(--accent-primary, #1a73e8) !important;
}
.domain-total-full .stat-label {
    color: var(--text-secondary, #555) !important;
}

/* Mobile - kompakt dhe horizontal */
@media (max-width: 768px) {
    .domain-stats-layout {
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
    }

    .domain-total-full {
        flex: 1.2;
        padding: 10px 6px;
        border-width: 2px;
    }

    .domain-secondary-row {
        flex: 1.8;
        flex-direction: column;
        gap: 6px;
    }

    .domain-active-item,
    .domain-inactive-item {
        flex: 1;
        padding: 8px 6px;
    }

    .domain-stats-layout .stat-number {
        font-size: 1.4rem;
    }

    .domain-stats-layout .stat-label {
        font-size: 0.65rem;
    }
}
