/* === Layout / Containers === */

.import-section {
    margin: 20px 0;
    padding: 20px 20px;
    border: 4px solid #a2a1a1;
    border-radius: 10px;
    color: white;
}

.import-subsection {
    margin: 10px 0;
    padding: 0px 0px;
}

.import-scrollable {
    width: 100%;
    max-width: 1200px;
    max-height: 600px;
    overflow-y: auto;
    background-color: #000080;
    box-sizing: border-box;
    border: 2px solid #a2a1a1;
}

.import-grid-item {
    display: inline-block;
    width:100%;
    padding: 10px;
    border: 1px solid;
}

.import-checkbox-container {
    margin: 10px 0;
    padding: 10px;
    background-color: #4a4f55;
    border-radius: 5px;
    border: 2px solid #a2a1a1;
    max-width: 500px;
}

.import-tooltip-container {
    display: inline-block;
    position: relative;
}

.import-buttons-container{
    margin: 10px;
}

/* === Buttons === */
.import-btn {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.import-btn-primary {
    background-color: #007bff;
}

    .import-btn-primary:hover {
        background-color: #0056b3;
    }

.import-btn-secondary {
    background-color: #606387;
}

    .import-btn-secondary:hover {
        background-color: #363fb5;
    }

.import-btn-warning {
    background-color: #ff4851;
}

    .import-btn-warning:hover {
        background-color: #cc020c;
    }

.import-btn-large {
    padding: 20px 40px;
    font-size: 13px;
    margin-top: 6px;
}

.import-btn-small {
    padding: 4px 8px;
    font-size: 12px;
    margin-top: 6px;
} 

/* === Other === */

.import-mode-legacy, .import-mode-default {
    font-size: 20px;
    margin-bottom: 10px;
}

.import-mode-legacy {
    color: red;
}

.import-mode-default {
    color: gray;
}

/* === Forms / Inputs === */

.import-custom-input-file {
    width: 300px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #000080;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.import-file-size-selector {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

    .import-file-size-selector label {
        margin-right: 10px;
        color: white;
    }

    .import-file-size-selector select {
        width: 60px;
        padding: 5px;
        border-radius: 5px;
        background-color: #333;
        color: white;
        border: 1px solid #ccc;
    }

.import-list-item input[type="checkbox"] {
    margin-right: 15px;
}

.import-file-family-dropdown {
    background-color: #2c2f33;
    color: white;
    border: 2px solid #a2a1a1;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

    .import-file-family-dropdown::after {
        content: '▼';
        color: white;
        position: absolute;
        right: 10px;
    }

.import-checkbox-input {
    accent-color: #007bff;
    transform: scale(1.2);
}

/* === Lists === */

.import-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin: 5px;
    background-color: #4a4f55;
    border-radius: 5px;
    font-size: 14px;
    color: white;
}

    .import-list-item span:first-child {
        flex-grow: 1;
    }

.import-list-item-details {
    white-space: nowrap;
    margin-left: auto;
    color: #ddd;
}

.import-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: white;
}

/* === Headings / Labels === */

.import-uploaded-files-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.import-info-message {
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
    color: #2ecc71;
}

/* === Status / Indicators === */

.import-file-true {
    color: green;
}

.import-file-false {
    color: red;
}

.import-glowing-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin: 0px 10px 0px 10px;
}

.import-glow-green {
    background-color: green;
    box-shadow: 0 0 10px green, 0 0 20px green, 0 0 30px green;
}

.import-glow-red {
    background-color: red;
    box-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red;
}

/* === Tables === */

.import-table-cell {
    padding: 10px;
    border: 1px solid #ddd;
}

.import-nested-table-full {
    width: 100%;
    border-collapse: collapse;
}

    .import-nested-table-full td {
        padding: 4px 8px;
        color: white;
        border: none;
    }

/* === Checkboxes === */

.import-checkbox-label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #ccc;
}

.import-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #2c2f33;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #555;
}

.import-checkbox-name {
    font-size: 14px;
    color: white;
}

/* === Tooltips === */

.import-info-icon {
    cursor: pointer;
    padding-left: 5px;
    color: #007acc;
    font-weight: bold;
}

.import-tooltip-box {
    color: white;
    background-color: #222222;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 0.85rem;
    width: 600px;
    max-width: 600px;
    white-space: pre-wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}