/* Pallo Custom UI - Soft & Clean Admin Panel Overrides */

/* Cards - Soft Elevation */
.card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 12px;
}

/* Micro-interaction for hoverable cards */
.card.hover-elevate:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

/* KPI Subtle Avatars */
.avatar-title.text-bg-primary-subtle {
    background-color: rgba(69, 130, 236, 0.1) !important;
    color: #4582ec !important;
}

.avatar-title.text-bg-success-subtle {
    background-color: rgba(2, 184, 117, 0.1) !important;
    color: #02b875 !important;
}

.avatar-title.text-bg-warning-subtle {
    background-color: rgba(240, 173, 78, 0.1) !important;
    color: #f0ad4e !important;
}

.avatar-title.text-bg-danger-subtle {
    background-color: rgba(217, 83, 79, 0.1) !important;
    color: #d9534f !important;
}

/* Tables - Clean Modern Look */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom tbody tr {
    transition: all 0.2s ease-in-out;
}

.table-custom tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.015);
    transform: scale(1.002);
}

.table-custom thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom-width: 1px;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* Quick Menu Grid */
.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quick-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: var(--bs-body-color);
    transition: all 0.3s;
}

.quick-menu-item:hover {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.05);
}

.quick-menu-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

/* Dark Mode Overrides for these customs */
[data-bs-theme="dark"] .card {
    background-color: var(--bs-body-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .quick-menu-item {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .quick-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .table-custom tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Utilities */
.border-dashed {
    border-style: dashed !important;
    border-color: rgba(150, 150, 150, 0.15) !important;
}

[data-bs-theme="dark"] .border-dashed {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.fs-14 {
    font-size: 14px !important;
}

.font-sm {
    font-size: 0.8125rem !important;
}