.ds6-secure-upload-inline {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.ds6-secure-upload-inline.uploading {
    border-color: #2271b1;
    background: #f8f9fa;
}

.ds6-secure-header {
    text-align: center;
    margin-bottom: 20px;
}

.ds6-secure-header h4 {
    margin: 10px 0;
    font-size: 24px;
    color: #1e1e1e;
}

.ds6-security-message {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
    padding: 8px;
    border-radius: 4px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.ds6-security-message.success {
    color: #0a5;
    background: #e6f7ef;
}

.ds6-security-message .ds6-encryption-tooltip {
    margin-left: 8px;
    color: #2271b1;
    cursor: help;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ds6-security-message .ds6-encryption-tooltip .tooltip-content {
    position: absolute;
    right: -10px;
    top: 100%;
    width: 300px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
    text-align: left;
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    display: none;
}

.ds6-security-message .ds6-encryption-tooltip:hover .tooltip-content {
    display: block;
}

.ds6-security-message .ds6-encryption-tooltip .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.ds6-metadata-fields {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.ds6-required-message {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.ds6-field {
    margin-bottom: 15px;
}

.ds6-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.ds6-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #feffd9; /* Light yellow background for empty fields */
    transition: all 0.3s ease;
}

.ds6-field input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
    background-color: #fff;
}

.ds6-field input:not(:placeholder-shown) {
    background-color: #f8f9fa; /* Light grey for filled fields */
}

.ds6-field input:disabled,
.ds6-field input.locked {
    background: #f5f5f5;
    border-color: #ddd;
    color: #666;
    cursor: not-allowed;
}

.ds6-clear-button {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #f0f0f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #3c434a;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    text-align: center;
}

.ds6-clear-button:hover:not(:disabled) {
    background: #e5e5e5;
    border-color: #ccc;
    color: #2271b1;
}

.ds6-clear-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #f5f5f5;
}

.ds6-clear-button:before {
    content: '↺';
    margin-right: 8px;
}

.ds6-upload-zone {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    outline: none;
}

.ds6-upload-zone:hover:not(.disabled) {
    border-color: #2271b1;
    background: #f0f6fc;
}

.ds6-upload-zone:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}


.ds6-upload-zone.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ds6-upload-zone.dragover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.ds6-upload-zone.uploading {
    pointer-events: none;
    opacity: 0.7;
}

.ds6-upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ds6-upload-prompt i {
    font-size: 24px;
    color: #2271b1;
}

.ds6-upload-text {
    font-size: 16px;
    color: #444;
}

.ds6-upload-prompt small {
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ds6-upload-zone {
    position: relative !important;
    cursor: pointer !important;
    min-height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ds6-file-input {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.ds6-file-input:not(:disabled) {
    pointer-events: auto !important;
}

.ds6-file-input:disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.ds6-upload-prompt {
    pointer-events: none !important;
    z-index: 2 !important;
}

.ds6-upload-list {
    margin-top: 20px;
}

.ds6-upload-list h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.ds6-file-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
}

.ds6-file-item.uploading {
    border-color: #2271b1;
    background: #f0f6fc;
}

.ds6-file-item.complete {
    border-color: #0a5;
    background: #e6f7ef;
}

.ds6-file-item.error {
    border-color: #d63638;
    background: #fcf0f1;
}

.ds6-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ds6-filename {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds6-size {
    color: #666;
    font-size: 13px;
}

.ds6-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.ds6-file-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.ds6-progress {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.ds6-progress-bar {
    height: 100%;
    background: #2271b1;
    width: 0;
    transition: width 0.3s ease;
}

.ds6-browser-error {
    text-align: center;
    padding: 30px;
    background: #fcf0f1;
    border-radius: 6px;
}

.ds6-browser-error h4 {
    margin: 10px 0;
    color: #d63638;
}

.ds6-browser-error ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    color: #666;
}

.required {
    color: #d63638;
}
