/* SPDX-FileCopyrightText: 2026 BizzAppDev Systems Pvt. Ltd. */
/* SPDX-License-Identifier: AGPL-3.0-or-later */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 25px;
    position: relative;
}

.header-right {
    position: absolute;
    top: 10px;
    right: 10px;
}

.settings-toggle {
    background: linear-gradient(135deg, var(--poly-primary) 0%, var(--talk-primary) 100%);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 122, 24, 0.3);
}

.settings-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 122, 24, 0.4);
}

.settings-top-right {
    position: absolute;
    top: -20px;
    right: 0;
    z-index: 10;
}

.settings-icon {
    font-size: 1.2rem;
    color: white;
}

.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.settings-modal.active {
    display: flex;
}

.settings-content {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.settings-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.close-settings {
    background: none;
    border: none;
    font-size: 2rem;
    color: #a0a0a0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-settings:hover {
    color: white;
}

.settings-body {
    color: white;
}

.settings-section {
    margin-bottom: 25px;
}

.settings-section h3 {
    font-size: 1.1rem;
    color: var(--poly-primary);
    margin-bottom: 15px;
}

.settings-field {
    margin-bottom: 10px;
}

.settings-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.settings-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 122, 24, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(22, 33, 62, 0.8);
    color: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.settings-field select:focus {
    outline: none;
    border-color: var(--poly-primary);
}

.settings-note {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 8px;
    font-style: italic;
}

.settings-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

.btn-save {
    background: linear-gradient(135deg, var(--poly-primary) 0%, var(--poly-secondary) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 122, 24, 0.4);
}

.btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.logo-container {
    margin-bottom: 0px;
}

.app-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(255, 122, 24, 0.3));
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--poly-primary) 0%, var(--talk-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #a0a0a0;
}
