/**
 * AIEDocs Document Selector - Orange Theme
 * Vibrant orange theme with warm colors
 */

.aiedocs-theme-orange .aiedocs-selector-button {
    background: #ff7e00;
    border: 1px solid #ff7e00;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.aiedocs-theme-orange .aiedocs-selector-button:hover {
    background: #e67000;
    border-color: #e67000;
    box-shadow: 0 4px 12px rgba(255, 126, 0, 0.3);
    transform: translateY(-1px);
}

.aiedocs-theme-orange .aiedocs-selector-icon {
    font-size: 16px;
}

.aiedocs-theme-orange .aiedocs-selector-text {
    color: #FFFFFF;
}

/* Modal Overlay */
.aiedocs-theme-orange.aiedocs-selector-overlay {
    background: rgba(255, 126, 0, 0.15);
}

/* Modal Container */
.aiedocs-theme-orange.aiedocs-selector-modal {
    background: #FFFFFF;
    border: 1px solid #ffe0cc;
    box-shadow: 0 8px 32px rgba(255, 126, 0, 0.15);
}

.aiedocs-theme-orange .aiedocs-modal-content {
    padding: 24px;
}

.aiedocs-theme-orange .aiedocs-modal-content h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333333;
    font-weight: 600;
}

/* Documents List */
.aiedocs-theme-orange .aiedocs-documents-list {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    max-height: 400px;
}

.aiedocs-theme-orange .aiedocs-document-item {
    background: #FFFFFF;
    border: 1px solid #eeeeee;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.aiedocs-theme-orange .aiedocs-document-item:hover {
    background: #fff5f0;
    border-color: #ff7e00;
    box-shadow: 0 2px 8px rgba(255, 126, 0, 0.15);
}

.aiedocs-theme-orange .aiedocs-document-item:last-child {
    margin-bottom: 0;
}

.aiedocs-theme-orange .aiedocs-document-item input[type="checkbox"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    accent-color: #ff7e00;
}

.aiedocs-theme-orange .aiedocs-document-title {
    color: #333333;
    font-weight: 500;
}

.aiedocs-theme-orange .aiedocs-document-type {
    background: linear-gradient(135deg, #ff7e00 0%, #ffaa00 100%);
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 12px;
    font-weight: 500;
}

/* Modal Actions */
.aiedocs-theme-orange .aiedocs-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.aiedocs-theme-orange .aiedocs-modal-actions button {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background: #f5f5f5;
    color: #333333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aiedocs-theme-orange .aiedocs-modal-actions button:hover {
    background: #eeeeee;
    border-color: #ff7e00;
}

.aiedocs-theme-orange .aiedocs-modal-close {
    background: #ff7e00 !important;
    border-color: #ff7e00 !important;
    color: #FFFFFF !important;
}

.aiedocs-theme-orange .aiedocs-modal-close:hover {
    background: #e67000 !important;
    border-color: #e67000 !important;
    box-shadow: 0 4px 12px rgba(255, 126, 0, 0.3);
    transform: translateY(-1px);
}

/* Select All/None buttons */
.aiedocs-theme-orange .aiedocs-select-all,
.aiedocs-theme-orange .aiedocs-select-none {
    background: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
    color: #333333 !important;
}

.aiedocs-theme-orange .aiedocs-select-all:hover,
.aiedocs-theme-orange .aiedocs-select-none:hover {
    background: #fff5f0 !important;
    border-color: #ff7e00 !important;
    color: #ff7e00 !important;
}

/* Scrollbar styling for documents list */
.aiedocs-theme-orange .aiedocs-documents-list::-webkit-scrollbar {
    width: 8px;
}

.aiedocs-theme-orange .aiedocs-documents-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.aiedocs-theme-orange .aiedocs-documents-list::-webkit-scrollbar-thumb {
    background: #ffb366;
    border-radius: 4px;
}

.aiedocs-theme-orange .aiedocs-documents-list::-webkit-scrollbar-thumb:hover {
    background: #ff7e00;
}

/* Mobile Responsive adjustments */
@media (max-width: 768px) {
    .aiedocs-theme-orange .aiedocs-modal-content {
        padding: 20px;
    }
    
    .aiedocs-theme-orange .aiedocs-documents-list {
        max-height: 320px;
    }
}

@media (max-width: 480px) {
    .aiedocs-theme-orange .aiedocs-selector-button {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .aiedocs-theme-orange .aiedocs-modal-content h3 {
        font-size: 16px;
    }
    
    .aiedocs-theme-orange .aiedocs-document-type {
        display: block;
        margin-left: 0;
        margin-top: 6px;
        display: inline-block;
    }
}