/*
 * modern_dashboard.css
 * Premium B2B SaaS Dashboard Styling for TotalBill
 * Includes glassmorphism cards, micro-animations, vibrant accents,
 * and high-contrast metric indicators.
 */

/* Metric Cards Hover Lift & Subtle Shadows */
.metric-card {
    background: #ffffff;
    border-radius: 14px !important;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.04) !important;
}

/* Card Accent Borders */
.metric-card-sky { border-top: 4px solid #0284c7 !important; }
.metric-card-emerald { border-top: 4px solid #10b981 !important; }
.metric-card-amber { border-top: 4px solid #f59e0b !important; }
.metric-card-rose { border-top: 4px solid #f43f5e !important; }

/* Icon Badge Glow & Gradients */
.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.metric-card:hover .icon-badge {
    transform: scale(1.1);
}

.icon-badge-sky { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); color: #0284c7; }
.icon-badge-emerald { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); color: #059669; }
.icon-badge-amber { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #d97706; }
.icon-badge-rose { background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%); color: #e11d48; }

/* Quick Action Bar Enhancements */
.quick-action-bar {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 16px !important;
}

.quick-action-btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease-in-out !important;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Shortcut Badge Style */
.kbd-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    margin-left: 4px;
}
