/* Gau Mitra - Live case card component */
.gm-case-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        border-radius: 20px;
        border: 1px solid #f1d8c2;
        background: #ffffff;
        overflow: hidden;
        box-shadow: 0 12px 28px rgba(124, 45, 18, 0.08);
        transition: 0.22s ease;
    }

    .gm-case-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 38px rgba(124, 45, 18, 0.14);
    }

    .gm-card-body {
        padding: 15px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .gm-case-head {
        margin-bottom: 10px;
    }

    .gm-case-code {
        margin: 0;
        color: #24110d;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 800;
    }

    .gm-case-type {
        margin: 4px 0 0;
        color: #8b5e3c;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
    }

    .gm-chip-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }

    .gm-mini-chip {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 8px;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .gm-status-yellow { color: #854d0e; background: #fef3c7; }
    .gm-status-blue { color: #1d4ed8; background: #dbeafe; }
    .gm-status-orange { color: #c2410c; background: #ffedd5; }
    .gm-status-green { color: #15803d; background: #dcfce7; }
    .gm-status-red { color: #b91c1c; background: #fee2e2; }

    .gm-severity-green { color: #15803d; background: #dcfce7; }
    .gm-severity-orange { color: #c2410c; background: #ffedd5; }
    .gm-severity-red { color: #b91c1c; background: #fee2e2; }

    .gm-compact-media-row {
        display: grid;
        grid-template-columns: 112px 1fr;
        gap: 12px;
        align-items: stretch;
        padding: 10px;
        border-radius: 16px;
        background: #fff8f1;
        border: 1px solid #f5dcc5;
        margin-bottom: 12px;
    }

    .gm-card-media {
        position: relative;
        width: 112px;
        height: 96px;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(135deg, #fff3e5, #ffe4c7);
        flex-shrink: 0;
    }

    .gm-card-media img,
    .gm-card-media video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .gm-card-media-placeholder {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
        color: #c2410c;
        font-size: 26px;
        background: linear-gradient(135deg, #fff7ed, #ffedd5);
    }

    .gm-media-count {
        position: absolute;
        left: 7px;
        bottom: 7px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 7px;
        border-radius: 999px;
        color: #fff;
        background: rgba(0, 0, 0, 0.65);
        font-size: 10px;
        font-weight: 800;
    }

    .gm-media-side {
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .gm-info-line {
        display: flex;
        align-items: flex-start;
        gap: 7px;
        color: #3b2016;
        font-size: 12.5px;
        font-weight: 650;
        line-height: 1.4;
        margin-bottom: 7px;
    }

    .gm-info-line:last-child {
        margin-bottom: 0;
    }

    .gm-info-line i {
        color: #ea580c;
        margin-top: 1px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .gm-person-mini {
        display: grid;
        gap: 8px;
        margin-top: auto;
        margin-bottom: 13px;
    }

    .gm-person-box {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 48px;
        padding: 9px;
        border-radius: 14px;
        border: 1px solid #f6dcc2;
        background: #fff8f1;
    }

    .gm-person-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #fff;
        background: linear-gradient(135deg, #b42318, #f97316);
        font-size: 13px;
    }

    .gm-person-box.accepted {
        background: #ecfdf3;
        border-color: #bbf7d0;
    }

    .gm-person-box.accepted .gm-person-icon {
        background: linear-gradient(135deg, #15803d, #16a34a);
    }

    .gm-person-box span {
        display: block;
        color: #8b5e3c;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .gm-person-box strong {
        display: block;
        color: #24110d;
        font-size: 12.5px;
        font-weight: 800;
        line-height: 1.25;
    }

    .gm-person-box small {
        display: block;
        color: #7c4a2c;
        font-size: 11.5px;
        font-weight: 600;
    }

    .gm-view-btn {
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        border-radius: 999px;
        color: #fff;
        text-decoration: none;
        font-size: 13.5px;
        font-weight: 800;
        background: linear-gradient(135deg, #fb5a16, #be123c);
        box-shadow: 0 12px 22px rgba(190, 18, 60, 0.18);
    }

    .gm-view-btn:hover {
        color: #fff;
        transform: translateY(-1px);
    }

    @media (max-width: 575px) {
        .gm-compact-media-row {
            grid-template-columns: 96px 1fr;
        }

        .gm-card-media {
            width: 96px;
            height: 86px;
        }
    }
