/* Profile Settings Styles */
.setting-description {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: var(--bb-text-secondary);
}

.profile-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bb-bg-secondary);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.profile-badge {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-role {
    font-weight: 600;
    color: var(--bb-text);
    font-size: 0.9375rem;
}

.profile-expertise {
    font-size: 0.75rem;
    color: var(--bb-text-secondary);
}

.profile-change-btn {
    padding: 0.375rem 0.75rem;
    background: transparent;
    border: 1px solid var(--bb-accent);
    border-radius: 6px;
    color: var(--bb-accent);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-change-btn:hover {
    background: var(--bb-accent);
    color: white;
}

.profile-options {
    padding: 0.75rem;
    background: var(--bb-bg-secondary);
    border-radius: 8px;
}

.profile-option-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bb-text-secondary);
    margin-bottom: 0.375rem;
    margin-top: 0.75rem;
}

.profile-option-label:first-child {
    margin-top: 0;
}

.profile-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--bb-border);
    border-radius: 6px;
    background: var(--bb-surface);
    color: var(--bb-text);
    font-size: 0.875rem;
}

.profile-save-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.625rem;
    background: var(--bb-accent);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.profile-save-btn:hover {
    background: var(--bb-accent-hover);
}

/* Toggle Settings */
.toggle-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.toggle-setting label {
    font-size: 0.875rem;
    color: var(--bb-text);
}

.toggle-setting input[type="checkbox"] {
    width: 36px;
    height: 20px;
    appearance: none;
    background: var(--bb-border);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.toggle-setting input[type="checkbox"]:checked {
    background: var(--bb-accent);
}

.toggle-setting input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.toggle-setting input[type="checkbox"]:checked::before {
    transform: translateX(16px);
}

/* Language Selector Styles */
.language-selector-container {
    margin-top: 0.5rem;
}

.language-select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--bb-border);
    border-radius: 8px;
    background: var(--bb-surface);
    color: var(--bb-text);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.language-select:hover {
    border-color: var(--bb-accent);
}

.language-select:focus {
    outline: none;
    border-color: var(--bb-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.language-note {
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--bb-warning);
    line-height: 1.4;
}

/* RTL language indicator */
.language-select option[value="ar"] {
    direction: rtl;
}
