/* ==========================================
   UI Card
========================================== */

.ui-card {
    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    /* Was overflow:hidden — that clips any absolutely-positioned popover
       (e.g. a Tom Select dropdown) that opens inside a card to the card's
       own bounds instead of floating over the page. Nothing here relies on
       clipping (no bleeding background/image), so visible is safe. */
    overflow: visible;

    transition: all 0.25s ease;
}

/* Hover */

.ui-card-hover:hover {
    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Header */

.ui-card-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    padding: 20px 24px;

    border-bottom: 1px solid #f1f5f9;
}

/* Body */

.ui-card-body {
    padding: 24px;
}

/* Footer */

.ui-card-footer {
    padding: 18px 24px;

    border-top: 1px solid #f1f5f9;

    background: #fafafa;
}

/* Title */

.ui-card-title {
    font-size: 18px;

    font-weight: 700;

    color: #0f172a;
}

/* Subtitle */

.ui-card-subtitle {
    margin-top: 4px;

    font-size: 14px;

    color: #64748b;
}

/* Header Action */

.ui-card-action {
    display: flex;

    align-items: center;

    gap: 10px;
}
