/* settings.html */

.theme-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 48%;
    margin-bottom: 10px;
    height: 150px;
    position: relative; /* Make it possible to position the tooltip */
}

.theme-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--snip-border);
    transition: border-color 0.3s ease;
}

/* .theme-link:hover img {
    border-color: var(--highlight); 
} */

.theme-tooltip {
    display: none; /* Hidden by default */
    position: absolute;
    bottom: 10px; /* Position at the bottom of the image */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.theme-link:hover .theme-tooltip {
    display: block; /* Show tooltip on hover */
}

.themes-settings-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--snip-background);
    color: var(--fg);
    border-radius: 4px;
    padding: 10px;
    gap: 10px;
}

#searchLanguageSelect,
#safeSearchSelect, 
#siteLanguageSelect {
    border-radius: 4px;
    padding: 6px;
    font-size: 15px;
    border: 1px solid var(--border);
    color: var(--font-fg);
    width: 160px;
    background: var(--button);
    float: right;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensures consistent width with padding */
}

#searchLanguageSelect:hover,
#safeSearchSelect:hover, 
#siteLanguageSelect:hover {
    border: 1px solid #5f6368;
    /* background-color: var(--button-hover); */
}

.save.save-settings-page {
    padding: 6px;
    width: 160px;
    height: 40px; 
}

/* Ensure correct aligment */
.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-row select, 
.settings-row button {
    width: 160px;
    height: 40px;
    box-sizing: border-box;
}

/* --- */