/* Dashboard Page Specific Styles */
.dashboard-page .dashboard-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.dashboard-page .dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00a3ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dashboard-page .dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 
                0 4px 8px rgba(0, 0, 0, 0.08);
}

.dashboard-page .dashboard-card:hover::before {
    transform: scaleX(1);
}

/* Card Header */
.dashboard-page .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dashboard-page .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-page .card-icon.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dashboard-page .card-icon.bg-info {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

.dashboard-page .card-icon.bg-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dashboard-page .card-icon.bg-danger {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.dashboard-page .card-icon.bg-secondary {
    background: linear-gradient(135deg, #a8a8a8 0%, #6c757d 100%);
}

.dashboard-page .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    user-select: none;
}

/* Card Content */
.dashboard-page .card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100px;
}

.dashboard-page .card-content-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 100px;
}

/* Metrics */
.dashboard-page .metric-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-page .metric-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.dashboard-page .metric-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    user-select: none;
}

.dashboard-page .metric-value-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    user-select: none;
}

.dashboard-page .metric-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.dashboard-page .metric-badge.success {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.dashboard-page .metric-badge.info {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.dashboard-page .metric-badge.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.dashboard-page .metric-badge.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.dashboard-page .metric-label {
    color: #718096;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
    user-select: none;
}

.dashboard-page .metric-link {
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.5rem 0 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    display: flex;
    align-items: center;
}

.dashboard-page .metric-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Progress Section */
.dashboard-page .progress-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-page .progress-label {
    color: #718096;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.5rem 0 0.25rem 0;
    user-select: none;
}

.dashboard-page .progress-time {
    color: #4a5568;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    margin: 0;
    user-select: none;
}

/* Empty State */
.dashboard-page .empty-state {
    font-size: 0.95rem;
    font-weight: 500;
    color: #718096;
    text-align: center;
    margin: 1rem 0;
    user-select: none;
}

.dashboard-page .dashboard-grid {
    border: none !important;
}

.dashboard-page .grid-action-link {
    color: #718096;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.dashboard-page .grid-action-link:hover {
    color: #10b981;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-page .dashboard-card {
        padding: 1.25rem;
    }

    .dashboard-page .metric-value {
        font-size: 1.75rem;
    }

    .dashboard-page .metric-value-small {
        font-size: 1.25rem;
    }

    .dashboard-page .card-content-split {
        flex-direction: column;
        gap: 1.5rem;
    }
}
