/* ================================
   Geipp Dashboard — Global Styles
   ================================ */

.geipp-dashboard-widget {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 24px;
    transition: all 0.25s ease;
}

.geipp-dashboard-widget:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.geipp-dashboard-widget h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Loading / Empty state */
.geipp-visual-container {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ================================
   Table Widget Styles
   ================================ */

.geipp-table-wrapper {
    overflow-x: auto;
}

.geipp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.geipp-table thead {
    background-color: #f8fafc;
}

.geipp-table th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}

.geipp-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.geipp-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Header indicators */
.geipp-table thead th:first-child {
    border-top-left-radius: 8px;
}

.geipp-table thead th:last-child {
    border-top-right-radius: 8px;
}

/* Responsive (mobile) */
@media (max-width: 640px) {

    .geipp-table th,
    .geipp-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

/* ================================
   Chart Container
   ================================ */
.geipp-chart {
    width: 100%;
    height: 320px;
}

.geipp-chart canvas,
.geipp-chart svg {
    width: 100% !important;
    height: 100% !important;
}

/* ================================
   Misc
   ================================ */
.text-center {
    text-align: center;
}

.text-gray {
    color: #64748b;
}

.text-sm {
    font-size: 0.85rem;
}