/* Settings Page Styles */
.page-container {
    padding: 40px 0;
}

.settings-header {
    margin-bottom: 30px;
}

.settings-header h1 {
    font-size: 32px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.settings-content {
    display: flex;
    gap: 30px;
}

/* Sidebar Navigation */
.settings-sidebar {
    flex: 0 0 240px;
}

.settings-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.settings-nav li {
    margin: 0;
}

.settings-nav a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--light);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.settings-nav a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.settings-nav li.active a {
    background-color: rgba(255, 255, 255, 0.08);
    border-left-color: var(--primary);
    color: var(--primary);
}

.settings-nav a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Main Content */
.settings-main {
    flex: 1;
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.settings-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Settings Cards */
.settings-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
}

.settings-card-header {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-card-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.settings-card-header h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.settings-card-body {
    padding: 20px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.form-help {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 8px;
}

/* Currency Toggle */
.currency-toggle {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.currency-btn {
    flex: 1;
    padding: 10px 15px;
    background-color: transparent;
    color: var(--light);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.currency-btn.active {
    background-color: var(--primary);
    color: white;
}

.currency-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    vertical-align: middle;
}

.toggle-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: var(--primary);
}

.toggle-checkbox:checked + .toggle-label:before {
    transform: translateX(26px);
}

.form-group label {
    margin-bottom: 0;
    flex: 1;
}

.form-help {
    margin-top: 8px;
    width: 100%;
}

/* Settings Select */
.settings-select {
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 50%;
}

.settings-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .settings-content {
        flex-direction: column;
    }

    .settings-sidebar {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .settings-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .settings-nav li {
        flex: 1;
    }

    .settings-nav a {
        justify-content: center;
    }
}
