.setting-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* ✅ Dark overlay */
    backdrop-filter: blur(5px); /* ✅ Blurred background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show Help popup when active */
.setting-container.active {
    visibility: visible;
    opacity: 1;
}

/* Hide Settings popup by default */
.setting-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 30, 0.95);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    width: auto;
    min-width: 500px;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(5px); /* ✅ Ensures settings box has blur inside */
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: auto;
}

/* Show Settings popup when active */
.setting-popup.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}


/* Settings Header */
.setting-popup > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px; /* ✅ Slightly larger font size */
    font-weight: bold;
    margin-bottom: 15px;
}

/* Close Button */
.setting-popup .close-button {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.setting-popup .close-button:hover {
    color: #7aee00; /* ✅ Change close button color on hover */
}

/* Settings Table */
#ID_TABLE_settings {
    width: 100%;
    border-collapse: collapse;
}

/* Table Cells */
#ID_TABLE_settings td {
    padding: 15px;
    font-size: 18px;
    text-align: left;
}

/* Input Checkboxes */
#ID_TABLE_settings input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #7aee00; /* ✅ Checkbox color */
}

/* Save & Reset Buttons */
#ID_saveAsDefaultSettings, 
#ID_resetDefaultSettings {
    background: #444;
    color: white;
    border: 1px solid #444;
    padding: 10px 12px;
    border-radius: 1px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#ID_saveAsDefaultSettings:hover, 
#ID_resetDefaultSettings:hover {
    background: #01a5bf;
    color: #fff;
}

/* Icon Styling */
.setting-popup i {
    color: #7aee00;
    cursor: pointer;
    font-size: 20px;
    margin-left: 5px;
}

/* Copy API Key Button */
#copyAPIKeyBtn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Copy Icon */
#copyIcon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Hover effect for copy button */
#copyAPIKeyBtn:hover #copyIcon {
    transform: scale(1.1);
}

/* Copied! Message */
#copyMessage {
    font-size: 14px;
    font-weight: bold;
    color: #7aee00;
    transition: opacity 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

/* Hide elements when necessary */
.hidden-text {
    opacity: 0;
    visibility: hidden;
}

/* Language Dropdown Container */
.languageDropdown-content {
    position: relative;
    display: inline-block;
}

/* Dropdown Styling */
#ID_LABEL_language {
    background: #222;
    color: white;
    border: 1px solid #444;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    width: 150px;
}

/* Dropdown Hover & Focus */
#ID_LABEL_language:hover,
#ID_LABEL_language:focus {
    border-color: #01a5bf;
}

/* Dropdown Options */
#ID_LABEL_language option {
    background: #333;
    color: white;
}


/* Tooltip Container (Wraps the Info Icon) */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Info Icon */
.tooltip-container .infoIcon {
    width: 20px; /* ✅ Adjusted size */
    height: 20px;
    cursor: pointer;
}

/* Tooltip Text (Hidden by Default) */
.tooltip-text {
    visibility: hidden;
    background: rgba(50, 50, 50, 0.95);
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 1px 3px;
    border-radius: 5px;
    white-space: nowrap;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show Tooltip on Hover */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

