

.export-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.export-info {
    /* margin-bottom: 20px; */
    padding: 15px;
    /* background-color: #f8f9fa; */
    border-radius: 5px;
    border: 1px solid #ccc;
}

.export-label {
    font-weight: bold;
    color: #3E4676;
    margin-bottom: 5px;
    display: block;
}

.export-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.export-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 15px;
    min-height: 100px;
    resize: vertical;
    box-sizing: border-box;
}

.export-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: white;
}

.export-fieldset {
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Export Format Options */
.export-format-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.export-format-option {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    /* border: 1px solid #ddd; */
}

    .export-format-option:hover {
        background-color: #e9ecef;
    }

    .export-format-option input {
        margin-right: 8px;
    }

/* File Upload Section */
.export-upload-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.export-row-container {
    display: flex;
    gap: 20px;
}

.export-file-input-container {
    flex: 1;
}

.export-drop-zone {
    border: 2px dashed #ced4da;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f8f9fa;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .export-drop-zone:hover {
        border-color: #3498db;
        background-color: #e9f7fe;
    }

    .export-drop-zone.dragover {
        border-color: #3498db;
        background-color: #e9f7fe;
    }

.export-file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.export-hidden-input {
    display: none;
}

/* Tabs */
.export-tabs {
    display: flex;
    /* border-bottom: 2px solid #ccc; */
}

.export-tab {
    padding: 10px 15px;
    border: none;
    background-color: #f4f4f4;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 8px;
    margin-bottom: 10px;
}

    .export-tab:hover, .export-tab:active {
        background-color: #fff;
        border-bottom: 1px solid #007bff;
        color: #000;
    }

/* .export-tab.active {
    background-color: white;
    border-color: #ddd;
    border-bottom: 1px solid white;
    margin-bottom: -1px;
    font-weight: bold;
} */

.export-tab-content {
    display: none;
    /* padding: 20px; */
    /* border: 1px solid #ccc; */
    border-top: none;
}

    .export-tab-content.active {
        display: block;
    }

/* Table Styles */
.export-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.export-table {
    width: 100%;
    border-collapse: collapse;
}

    .export-table th, .export-table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .export-table th {
        background-color: #f2f2f2;
        font-weight: bold;
    }

    .export-table tr:hover {
        background-color: #f5f5f5;
    }

/* Buttons */
.export-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    /* font-weight: bold; */
    transition: background-color 0.3s;
}

.export-primary-button {
    background-color: #213E71;
    color: white;
}

    .export-primary-button:hover {
        background-color: #005a9e;
    }

.export-secondary-button {
    background-color: #213E71;
    color: white;
}

    .export-secondary-button:hover {
        background-color: #005a9e;
    }

/* Checkbox Container */
.export-checkbox-container {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

/* Form Container */
.export-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.export-form-group {
    flex: 1;
    min-width: 200px;
}

/* Scheduler Popup */
.export-scheduler-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.export-popup-content {
    background-color: white;
    width: 600px;
    max-width: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.export-popup-header {
    padding: 15px 20px;
    background-color: #3498db;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.export-popup-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.export-popup-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.export-close-button {
    cursor: pointer;
    font-size: 20px;
}

/* Radio Group */
.export-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.export-radio-option {
    display: flex;
    align-items: center;
}

/* Weekday Selector */
.export-weekday-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.export-day-button {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .export-row-container {
        flex-direction: column;
    }

    .export-form-container {
        flex-direction: column;
    }

    .export-form-group {
        width: 100%;
    }
}

/* Export Options */
.eds-export-destination-options {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.eds-export-radio-option {
    background-color: #f8f9fa;
    /* border: 1px solid #e1e4e8; */
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .eds-export-radio-option:hover {
        background-color: #f0f2f5;
    }

    .eds-export-radio-option input[type="radio"] {
        margin-right: 10px;
    }

/* Destination Cards */
.eds-destination-card {
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.eds-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 30px;
    font-weight: bold;
    color: #888;
}

    .eds-close-btn:hover {
        color: #333;
    }

/* Form Elements */
.eds-form-group {
    margin-bottom: 15px;
}

    .eds-form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
    }

.eds-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

select.eds-form-control {
    height: 42px;
    background-color: #fff;
}

/* Buttons */
.eds-add-btn, .eds-save-btn, .eds-edit-btn, .eds-browse-btn {
    background-color: #213E71;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    /* font-size: 14px; */
    font-weight: 500;
}

.eds-edit-btn {
    margin-right: 10px; /* Adjust the value as needed */
}

    .eds-add-btn:hover, .eds-save-btn:hover, .eds-edit-btn:hover, .eds-browse-btn:hover {
        background-color: #2974cc;
    }

.eds-details-section {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.eds-destination-card-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Storage Locations Container */
.eds-storage-locations-container {
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

.eds-location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Locations Dropdown */
.eds-locations-dropdown {
    position: relative;
    width: 100%;
}

.eds-locations-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
}

.eds-dropdown-menu {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.eds-dropdown-menu-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

    .eds-dropdown-menu-item:hover {
        background-color: #f0f2f5;
    }

.eds-dropdown-menu-header {
    background-color: #2974cc;
    color: white;
    padding: 10px;
    font-weight: 500;
}

/* Add Location Modal */
.eds-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
}

.eds-modal {
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 90vh;
    overflow-y: auto;
    /* Firefox scrollbar (optional) */
    scrollbar-width: thin;
    scrollbar-color: #213E71 #f1f5ff;
}

    /* WebKit Scrollbar Styling */
    .eds-modal::-webkit-scrollbar {
        width: 15px;
    }

/* .eds-modal::-webkit-scrollbar-track {
    background: #f1f5ff; 
    border-radius: 4px;
}

.eds-modal::-webkit-scrollbar-thumb {
    background: #0d53cb; 
    border-radius: 4px;
}

.eds-modal::-webkit-scrollbar-thumb:hover {
    background: #1875e1; 
} */


.eds-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.eds-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}


.eds-modal-close {
    background: none;
    border: none;
    color: #aaa; /* Using #aaa as it appears later in your request */
    font-size: 32px; /* Using 32px as it appears later in your request */
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0; /* Added for better click area control */
    margin: 0; /* Added for better spacing control */
}

    .eds-modal-close:hover {
        color: #000; /* Black color on hover */
    }

.eds-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.eds-btn-secondary {
    background-color: #19376B;
    color: white;
    border: 1px solid #ced4da;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

    .eds-btn-secondary:hover {
        background-color: #2974cc;
    }

/* Provider Configuration Sections */
.eds-provider-config {
    margin-top: 20px;
}

.eds-config-section {
    margin-bottom: 25px;
    /* padding-bottom: 20px; */
    border-bottom: 1px solid #eee;
}

    .eds-config-section:last-child {
        border-bottom: none;
    }

.eds-section-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #15295a;
}

/* Form field with copy button */
.eds-form-field-with-copy {
    position: relative;
}

.eds-copy-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
}

    .eds-copy-btn:hover {
        color: #343a40;
    }

/* File input styling */
.eds-file-input-container {
    display: flex;
    gap: 10px;
}

    .eds-file-input-container input[type="text"] {
        flex-grow: 1;
    }

/* Format options for local file */
.eds-format-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.eds-format-option {
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    background-color: #f8f9fa;
}

    .eds-format-option.active {
        background-color: #e6f0ff;
        border-color: #1a4db3;
        color: #1a4db3;
    }

/* Database specific styles */
.eds-connection-test-result {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.eds-connection-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.eds-connection-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}



.eds-location-tag {
    /* background-color: #213E71; */
    color: black;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    border: 1px solid black;
    margin-bottom: 6px;
}
/* Container for the title and buttons */
.fs-top-container {
    position: relative;
    margin-bottom: 15px;
}

/* Button container */
.fs-action-buttons {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
}

/* Base button style */
.fs-action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Primary button style */
.fs-primary-btn {
    background-color: #213E71;
    color: white;
}

    .fs-primary-btn:hover {
        background-color: #005a9e;
    }

/* Secondary button style */
.fs-secondary-btn {
    background-color: #213E71;
    color: white;
    border: 1px solid #ccc;
}

    .fs-secondary-btn:hover {
        background-color: #005a9e;
    }

/* Custom checkbox styling with proper spacing */
#export-include-header,
#export-escape-special,
#export-select-all,
#export-include-metadata,
#export-header-checkbox {
    min-width: 15px;
    min-height: 15px;
    accent-color: #213E71;
    /* transform: scale(1.3); */
    margin-right: 10px; /* Add space between checkbox and label */
}

/* Table cell checkboxes */
.export-table td input[type="checkbox"] {
    min-width: 15px;
    min-height: 15px;
    width: 15px;
    height: 15px;
    accent-color: #213E71;
    transform: scale(1.3);
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

/* Header checkbox */
.export-table th input[type="checkbox"] {
    min-width: 19px;
    min-height: 19px;
    accent-color: #213E71;
    margin-right: 10px; /* Add space between checkbox and label */
}

/* Checkbox container adjustments */
.export-checkbox-container {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

    .export-checkbox-container div {
        display: flex;
        align-items: center;
    }

    .export-checkbox-container label {
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-left: 5px; /* Additional spacing if needed */
    }

/* Specific adjustments for the "Select All Fields" and "Include Metadata" checkboxes */
.export-fieldset .export-checkbox-container label {
    margin-left: 8px;
    font-size: 16px;
}

/* For checkboxes in the export options */
.export-format-option input[type="checkbox"],
.export-format-option input[type="radio"] {
    margin-right: 8px;
}
/* Disable API Endpoint radio button */
#apiEndpointRadio {
    pointer-events: none;
    opacity: 0.6;
}

    /* Optional: Style the label to appear disabled */
    #apiEndpointRadio + label {
        color: #999;
        cursor: not-allowed;
    }



.column-visibility-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

    .column-visibility-popup .popup-content {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        width: 300px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .column-visibility-popup h3 {
        margin-top: 0;
        color: #333;
    }

    .column-visibility-popup label {
        cursor: pointer;
    }

.transform-actions {
    display: flex;
    gap: 5px;
}

    .transform-actions button {
        padding: 4px 8px;
        font-size: 14px;
        border-radius: 5px;
    }

.history-actions a {
    color: #213E71;
    text-decoration: none;
}

    .history-actions a:hover {
        text-decoration: underline;
    }


.eds-add-btn {
    background-color: #213E71; /* Blue color similar to save button */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    /* font-size: 13px; */
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left: 10px;
    white-space: nowrap;
}

    .eds-add-btn:hover {
        background-color: #3a7bc8; /* Slightly darker blue on hover */
    }

/* For the container to properly align label and button */
.eds-dropdown-section .eds-form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px; /* Space before the select dropdown */
}

    .eds-dropdown-section .eds-form-group label {
        margin-bottom: 0; /* Remove default margin since we're using flex */
    }



#openDsDomainPopupBtn {
    width: 50px;
    height: 30px;
    border-radius: 10%;
    background-color: #213E71;
    color: white;
    /* font-size: 24px; */
    /* font-weight: bold; */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
    /* transition: all 0.2s ease; */
    margin-bottom: 5px;
    margin-left: 74%;
}

    #openDsDomainPopupBtn:hover {
        background-color: #3367d6;
        /* transform: scale(1.05); */
        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
    }

    #openDsDomainPopupBtn:active {
        transform: scale(0.95);
    }

    #openDsDomainPopupBtn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
    }


/* Custom Datastore Domain Popup Styles */
.ds-domain-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.ds-domain-popup-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 520px;
    padding: 24px;
}

.ds-domain-popup-header {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #19376B;
}

.ds-domain-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ds-domain-tag {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
}

.ds-domain-tag-remove {
    margin-left: 8px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
}

    .ds-domain-tag-remove:hover {
        color: #ff3333;
    }

.ds-domain-input-container {
    margin-bottom: 20px;
}

.ds-domain-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

    .ds-domain-input:focus {
        outline: none;
        /* border-color: #2563eb; */
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    }

.ds-domain-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.ds-domain-button {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    font-weight: 500;
}

.ds-domain-button-cancel {
    background-color: #19376B;
    color: white;
}

    .ds-domain-button-cancel:hover {
        background-color: #2974cc;
    }

.ds-domain-button-add {
    background-color: #19376B;
    color: white;
}

    .ds-domain-button-add:hover {
        background-color: #2974cc;
    }


.ds-domain-popup-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ds-domain-close-icon {
    position: absolute;
    right: 1px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    background: none;
    border: none;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No border-radius for a square look */
}

    .ds-domain-close-icon:hover {
        color: #333;
        /* No background color change on hover */
    }

/* Ensure the title remains centered */
.ds-domain-popup-header-text {
    /* flex-grow: 1; */
    text-align: center;
}


.eds-modal-title {
    font-size: 20px;
    font-weight: 600;
    /* margin-bottom: 20px; */
    color: #19376B;
}
