.record-storage-header {
    gap: 24px;
}

.record-storage-header h4 {
    margin-bottom: 6px;
    font-size: 17px;
}

.record-storage-usage {
    flex-basis: 245px;
}

.record-storage-usage > strong {
    font-size: 17px;
}

.record-storage-usage > strong small {
    font-size: 12px;
}

.record-storage-meter {
    margin-top: 8px;
}

.record-storage-specs {
    padding-top: 15px;
}

.record-storage-formats {
    margin-top: 10px;
}

.record-storage-dropzone {
    padding: 23px 20px 20px;
}

.record-storage-dropzone h5 {
    font-size: 15px;
}

.record-storage-dropzone p {
    margin-bottom: 13px;
}

.record-storage-picker {
    min-width: 150px;
}

.record-storage-existing {
    margin-top: 18px;
    padding: 18px 22px 22px;
    border-top: 1px solid #e1e7ec;
    background: #fafbfc;
}

.record-storage-existing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.record-storage-existing-header h5 {
    margin: 0 0 3px;
    color: #30485a;
    font-size: 14px;
    font-weight: 700;
}

.record-storage-existing-header p {
    margin: 0;
    color: #7b8c99;
    font-size: 11px;
}

.record-storage-file-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.record-storage-file-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce4ea;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, opacity .15s ease;
}

.record-storage-file-card.is-marked-delete {
    border-color: #dfb6b3;
    background: #fff7f6;
    opacity: .72;
}

.record-storage-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 39px;
    margin-bottom: 8px;
    border-radius: 4px;
    background: #e8f2fa;
    color: #337ab7;
    font-size: 9px;
    font-weight: 700;
}

.record-storage-file-name {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: none;
    color: #337ab7;
    font-size: 12px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-storage-delete {
    display: block;
    margin: 10px 0 0;
    color: #9a4b47;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
}

.record-storage-delete input {
    margin: 0 4px 0 0;
    vertical-align: -2px;
}

.record-storage-unavailable {
    padding: 18px 20px;
    border: 1px solid #dce4ea;
    border-radius: 7px;
    background: #f8fafb;
    color: #526879;
}

.record-storage-unavailable strong {
    display: block;
    margin-bottom: 5px;
    color: #354c5e;
}

.record-storage-unavailable p {
    margin: 0;
    font-size: 12px;
}

@media (max-width: 767px) {
    .record-storage-existing-header {
        display: block;
    }

    .record-storage-file-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .record-storage-usage {
        margin-top: 15px;
    }
}
