
/* ====== Statistics Page Header - Start ====== */
.dashboard-stats-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.04) 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.dashboard-stats-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.dashboard-stats-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin: 0;
}

[data-bs-theme="dark"] .dashboard-stats-header {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.3) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .dashboard-stats-title {
    background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* ====== Statistics Page Header - End ====== */


/* ====== Overview Cards - Start ====== */
.overview-card {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 140px;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.overview-card:hover::before {
    opacity: 1;
}

.overview-notebooks {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.overview-entries {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.overview-phrases {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.overview-notes {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.overview-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.overview-card:hover .overview-number {
    transform: scale(1.1);
}

.overview-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overview-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 1;
    transition: all 0.3s ease;
}

.overview-card:hover .overview-icon {
    transform: scale(1.2);
}

[data-bs-theme="dark"] .overview-card {
    background: rgba(45, 55, 72, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .overview-card {
        height: 120px;
    }

    .overview-number {
        font-size: 2.5rem;
    }
}
/* ====== Overview Cards - End ====== */

/* ====== This Month Activity - Start ====== */
.monthly-activity-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.monthly-activity-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    position: relative;
}

.monthly-activity-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.monthly-activity-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.monthly-activity-body {
    padding: 2rem;
}

.monthly-stat-item {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.monthly-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.monthly-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.monthly-stat-item:hover::before {
    opacity: 1;
}

.monthly-stat-notebooks::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.monthly-stat-entries::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.monthly-stat-phrases::before {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.monthly-stat-notes::before {
    background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

.monthly-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.monthly-stat-item:hover .monthly-stat-number {
    transform: scale(1.1);
}

.monthly-stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.monthly-notebooks .monthly-stat-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.monthly-entries .monthly-stat-number {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.monthly-phrases .monthly-stat-number {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.monthly-notes .monthly-stat-number {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .monthly-activity-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.8) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .monthly-stat-item {
    background: rgba(45, 55, 72, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .monthly-stat-item:hover {
    background: rgba(45, 55, 72, 0.9);
}

[data-bs-theme="dark"] .monthly-stat-label {
    color: #a0aec0;
}

@media (max-width: 768px) {
    .monthly-activity-body {
        padding: 1.5rem;
    }

    .monthly-stat-number {
        font-size: 2rem;
    }
}
/* ====== This Month Activity - End ====== */


/* ====== Key Insights - Start ====== */
.insights-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.insights-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.insights-header-performance {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    position: relative;
}

.insights-header-averages {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    position: relative;
}

.insights-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.insights-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.insights-body {
    padding: 2rem;
}

.insights-item {
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insights-item:last-child {
    margin-bottom: 0;
}

.insights-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.insights-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.insights-item:hover::before {
    transform: scaleY(1);
}

.insights-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insights-value {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.insights-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.insights-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.modern-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-gradient-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.badge-gradient-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.badge-gradient-warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.badge-gradient-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

[data-bs-theme="dark"] .insights-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.8) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .insights-item {
    background: rgba(45, 55, 72, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .insights-item:hover {
    background: rgba(45, 55, 72, 0.9);
}

[data-bs-theme="dark"] .insights-label {
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .insights-body {
        padding: 1.5rem;
    }

    .insights-item {
        padding: 1rem;
    }
}
/* ====== Key Insights - End ====== */


/* ====== Statistics - Recent Activity - Start ====== */
.activity-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.activity-header-last {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    position: relative;
}

.activity-header-tags {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    position: relative;
}

.activity-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.activity-body {
    padding: 2rem;
}

.activity-item {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.activity-item:hover::before {
    transform: scaleY(1);
}

.activity-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-date {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.activity-empty {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.9rem;
}

.tag-item {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag-item:last-child {
    margin-bottom: 0;
}

.tag-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.tag-item:hover::before {
    transform: scaleY(1);
}

.modern-tag-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: none;
}

.tag-count {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.no-tags-message {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

[data-bs-theme="dark"] .activity-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.8) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .activity-item,
[data-bs-theme="dark"] .tag-item {
    background: rgba(45, 55, 72, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .activity-item:hover,
[data-bs-theme="dark"] .tag-item:hover {
    background: rgba(45, 55, 72, 0.9);
}

[data-bs-theme="dark"] .activity-label {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .activity-date,
[data-bs-theme="dark"] .tag-count {
    color: #a0aec0;
}

[data-bs-theme="dark"] .no-tags-message {
    background: rgba(45, 55, 72, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    color: #a0aec0;
}

@media (max-width: 768px) {
    .activity-body {
        padding: 1.5rem;
    }

    .activity-item,
    .tag-item {
        padding: 0.8rem 1rem;
    }
}
/* ====== Statistics - Recent Activity - End ====== */

/* ====== Daily Activity Chart - Start ====== */
.daily-activity-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.daily-activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.daily-activity-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    position: relative;
}

.daily-activity-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.daily-activity-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.daily-activity-body {
    padding: 2rem;
}

.modern-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.modern-table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #374151;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.2rem 1rem;
    border: none;
    position: relative;
}

.modern-table thead th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.modern-table tbody tr {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
}

.modern-table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.6);
}

.modern-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.modern-table tbody td {
    padding: 1rem;
    border: none;
    font-weight: 500;
    color: #374151;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.activity-date {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.95rem;
}

.modern-activity-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    min-width: 2.5rem;
    display: inline-block;
    text-align: center;
}

.badge-entries {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.badge-phrases {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.badge-notes {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.activity-total {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.activity-zero {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
}

.table-container {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-bs-theme="dark"] .daily-activity-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.8) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .modern-table {
    background: rgba(45, 55, 72, 0.8);
}

[data-bs-theme="dark"] .modern-table thead th {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-table tbody tr {
    background: rgba(45, 55, 72, 0.6);
}

[data-bs-theme="dark"] .modern-table tbody tr:nth-child(even) {
    background: rgba(26, 32, 44, 0.6);
}

[data-bs-theme="dark"] .modern-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.2);
}

[data-bs-theme="dark"] .modern-table tbody td {
    color: #e2e8f0;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .activity-date {
    color: #a0aec0;
}

[data-bs-theme="dark"] .activity-zero {
    color: #718096;
}

[data-bs-theme="dark"] .table-container {
    background: rgba(45, 55, 72, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .daily-activity-body {
        padding: 1.5rem;
    }

    .modern-table thead th,
    .modern-table tbody td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    .modern-activity-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
        min-width: 2rem;
    }
}
/* ====== Daily Activity Chart - End ====== */


/* ====== Statistics - Quick Actions - Start ====== */
.stats-quick-actions-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.stats-quick-actions-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stats-quick-actions-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    position: relative;
}

.stats-quick-actions-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.stats-quick-actions-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-quick-actions-body {
    padding: 2rem;
}

.stats-actions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.stats-action-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.stats-action-btn:hover::before {
    opacity: 1;
}

.stats-action-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.stats-btn-create-notebook {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stats-btn-create-tag {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stats-btn-browse-entries {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stats-btn-search-everything {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stats-btn-create-notebook:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.stats-btn-create-tag:hover {
    box-shadow: 0 10px 30px rgba(67, 233, 123, 0.4);
}

.stats-btn-browse-entries:hover {
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.stats-btn-search-everything:hover {
    box-shadow: 0 10px 30px rgba(250, 112, 154, 0.4);
}

[data-bs-theme="dark"] .stats-quick-actions-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.8) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .stats-quick-actions-body {
        padding: 1.5rem;
    }

    .stats-actions-container {
        gap: 0.8rem;
    }

    .stats-action-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .stats-actions-container {
        flex-direction: column;
    }

    .stats-action-btn {
        width: 100%;
        min-width: auto;
    }
}
/* ====== Statistics - Quick Actions - End ====== */