﻿/* Settings Popup */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-popup {
    width: 50%;
    max-width: 40rem;
    background-color: var(--color-background);
    color: var(--color-on-background);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.settings-popup__title {
    font-family: "Lexend Deca", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.settings-popup__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}

.settings-popup__item:last-of-type {
    border-bottom: none;
}

.settings-popup__label {
    font-family: "Lexend Deca", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-popup__question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.25);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-on-background);
}

.settings-popup__question:hover {
    background: rgba(128, 128, 128, 0.4);
}

.settings-popup__toggle {
    display: flex;
    gap: 0;
    border-radius: 0.35rem;
    overflow: hidden;
    border: 1px solid rgba(128, 128, 128, 0.3);
}

.settings-popup__toggle-btn {
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--color-on-background);
    transition: all 100ms ease;
}

.settings-popup__toggle-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 65%, white) 100%);
    color: white;
}

.settings-popup__contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Lexend Deca", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-on-background);
    text-decoration: none;
    padding: 0.5rem 0;
}

.settings-popup__contact:hover {
    text-decoration: underline;
}

.settings-popup__contact img {
    height: 1.25rem;
}
