﻿.filter-sidebar {
    background-color: #f8f9fa;
    padding: 1rem;
    border-right: 1px solid #dee2e6;
    height: calc(100vh - 180px);
    overflow-y: auto;
}

.main-content {
    padding: 1rem;
    flex-grow: 1;
    height: calc(100vh - 180px);
    overflow-y: auto;
}

.data-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.25rem;
}

.data-card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

    .data-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        border-color: #c8d2ff;
    }

    .data-card .card-summary {
        padding: 1.25rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .data-card .card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f1f3f5;
    }

    .data-card .card-title-block {
        line-height: 1.3;
    }

    .data-card .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #003366;
        margin: 0;
    }

    .data-card .card-subtitle {
        font-size: 0.85rem;
        font-weight: 500;
        color: #6c757d;
    }

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background-color: #6c757d;
    flex-shrink: 0;
}

.data-card .card-body {
    font-size: 0.9rem;
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem; 
}

.card-body-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 0;
}

    .card-body-item strong {
        color: #495057;
        font-weight: 600;
    }

    .card-body-item span {
        color: #212529;
        margin-left: 0.5rem;
    }

    .card-body-item .bi {
        margin-right: 0.75rem;
        font-size: 1.1rem;
        color: #0056b3;
    }

.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}

.modal-dialog-centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 95%;
    max-width: 900px;
}

.modal-content-custom {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 1051;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #212529;
    color: #fff;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

    .modal-close-button:hover {
        transform: scale(1.1);
        background-color: #000;
    }

.mobile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 0.75rem;
}

.mobile-detail-item {
    line-height: 1.3;
}

    .mobile-detail-item small {
        display: flex;
        align-items: center;
        font-size: 0.75rem;
        color: #6c757d;
        margin-bottom: 0.1rem;
    }

    .mobile-detail-item .bi {
        margin-right: 0.3rem;
        font-size: 0.8rem;
    }

    .mobile-detail-item p {
        font-size: 0.9rem;
        font-weight: 500;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

