.dm-search-wrapper {
    margin-bottom: 30px;
}

#dm-search {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    font-size: 16px;
}

.dm-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px 0;
    border-bottom: 1px solid #ececec;
}

.dm-record h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.dm-record:hover {
    background: #f8fafc;
}

.dm-city {
    color: #666;
    font-size: 14px;
}

.dm-status {
    display: inline-flex;
    align-items: center;

    padding: 6px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
}

.dm-status.approved {
    background: #e9f9ee;
    color: #198754;
}

.dm-status.pending {
    background: #fff8e1;
    color: #b8860b;
}

.dm-status.rejected {
    background: #fdeaea;
    color: #dc3545;
}

.dm-download-btn {
    border: none;

    background: #111827;
    color: #fff;

    padding: 12px 18px;

    border-radius: 10px;

    cursor: pointer;

    transition: .2s;
}

.dm-download-btn:hover {
    opacity: .9;
}

.dm-modal {
    display: none;

    position: fixed;

    inset: 0;

    background: transparent;

    z-index: 9999;
}

.dm-modal.active {
    display: flex;

    align-items: center;
    justify-content: center;
}

.dm-modal-content {

    background: #fff;

    width: 100%;
    max-width: 420px;

    padding: 30px;

    border-radius: 16px;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    position: relative;
}

.dm-close {

    position: absolute;

    top: 10px;
    right: 10px;

    border: none;
    background: none;

    font-size: 28px;

    cursor: pointer;
}

#dm-access-code {

    width: 100%;

    padding: 14px;

    margin-top: 15px;
    margin-bottom: 15px;

    border: 1px solid #ddd;

    border-radius: 10px;
}

#dm-validate-btn {

    width: 100%;

    padding: 14px;

    border: none;

    background: #111827;

    color: white;

    border-radius: 10px;

    cursor: pointer;
}

@media (max-width: 1024px) {

    .dm-record {
        flex-direction: column;
        align-items: flex-start;
    }

    .dm-record-right {
        width: 100%;
    }

    .dm-download-btn {
        width: 100%;
    }

}
.dm-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;

    padding: 15px 0;

    border-bottom: 2px solid #e5e7eb;

    font-weight: 600;

    color: #6b7280;

    text-transform: uppercase;

    font-size: 13px;
}

.dm-record {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;

    align-items: center;

    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid #ececec;
}

.dm-col-name {
    font-weight: 600;
}

.dm-col-city {
    color: #6b7280;
}
@media (max-width: 1024px) {

    .dm-header-row {
        display: none;
    }

    .dm-record {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .dm-col-action {
        width: 100%;
    }

    .dm-download-btn {
        width: 100%;
    }

}