.wcpd-documents {
    margin-top: 1rem;
}

.wcpd-documents-subtitle {
    margin: 0 0 0.75rem;
    font-size: 0.95em;
    color: #555;
}

.wcpd-documents-table .wcpd-documents-label {
    width: 60%;
    font-weight: 500;
}

.wcpd-documents-table .wcpd-documents-value {
    text-align: right;
}

.wcpd-documents-button {
    white-space: nowrap;
}

.martfury-documents {
    margin-top: 2rem;
}

.wcpd-documents-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.wcpd-documents-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-left: 4px solid #0071df;
    border-radius: 8px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
    position: relative;
}

.wcpd-documents-card::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -9px;
    height: 1px;
    background: rgba(0, 0, 0, .08);
    opacity: .6;
}

.wcpd-documents-card:last-child::after {
    display: none;
}

.martfury-title {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.martfury-subtitle {
    color: #6c6c6c;
    margin-bottom: 1.5rem;
}

.wcpd-document-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wcpd-document-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
}

.wcpd-document-title {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.wcpd-document-description {
    margin: 0;
    color: #6c6c6c;
}

.wcpd-document-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.wcpd-documents-button {
    min-width: 180px;
    text-align: center;
}

.wcpd-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    padding: 1rem;
}

.wcpd-video-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.wcpd-video-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.wcpd-video-dialog {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    background: #111;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}

.wcpd-video-frame iframe,
.wcpd-video-frame video {
    width: 100%;
    height: 60vh;
    border: 0;
    border-radius: 8px;
    background: #000;
}

.wcpd-video-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 24px;
    cursor: pointer;
}

body.wcpd-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .wcpd-documents-table .wcpd-documents-value {
        text-align: left;
    }

    .wcpd-documents-card {
        padding: 14px;
    }

    .wcpd-document-header {
        flex-direction: column;
    }

    .wcpd-document-icon {
        width: 48px;
        height: 48px;
    }

    .wcpd-document-actions {
        justify-content: flex-start;
    }

    .wcpd-documents-button {
        width: 100%;
    }

    .wcpd-video-frame iframe,
    .wcpd-video-frame video {
        height: 40vh;
    }
}
