/* Settings Page Styles */
.settings-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.settings-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 32px 0;
}

/* Account Section */
.account-section {
    background: rgba(30, 35, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.section-header {
    margin-bottom: 24px;
}

.section-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.section-icon-svg {
    width: 32px;
    height: 32px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.connected-badge {
    font-size: 12px;
    font-weight: 600;
    color: #10B981;
    margin-left: auto;
}

.section-description {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Account Cards */
.account-card {
    background: rgba(20, 25, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-card-content {
    flex: 1;
}

.account-card-row {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.account-card-row:last-child {
    margin-bottom: 0;
}

.account-card-row strong {
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 8px;
}

.account-name {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Input Row */
.account-input-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.account-input {
    flex: 1;
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.account-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(20, 25, 40, 0.8);
}

.account-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Buttons */
.btn-confirm {
    background: #10B981;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-confirm:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-confirm:active {
    transform: translateY(0);
}

.btn-delete {
    background: transparent;
    color: #EF4444;
    border: 1px solid #EF4444;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-delete:hover {
    background: #EF4444;
    color: white;
}

.btn-add-another {
    width: 100%;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.btn-add-another:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-delete-account {
    width: 100%;
    background: transparent;
    color: #EF4444;
    border: 2px solid #EF4444;
    border-radius: 8px;
    padding: 14px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-account:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-delete-account:active {
    background: rgba(239, 68, 68, 0.2);
}

/* Discord Bot Preferences */
.bot-preference-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-preference-row:last-child {
    border-bottom: none;
}

.preference-info {
    flex: 1;
    padding-right: 16px;
}

.preference-label {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.preference-description {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.preference-select {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 180px;
}

.preference-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(20, 25, 40, 0.8);
}

.preference-select:focus {
    outline: none;
    border-color: #03cafc;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #10B981;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.toggle-slider:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.toggle-switch input:checked+.toggle-slider:hover {
    background-color: #059669;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-container {
        padding: var(--spacing-lg);
    }

    .settings-title {
        font-size: 24px;
    }

    .account-section {
        padding: 20px;
    }

    .account-input-row {
        flex-direction: column;
    }

    .btn-confirm {
        width: 100%;
    }

    .account-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-delete {
        width: 100%;
    }
}