/* agent-profile.css */
@import url('agent-dashboard.css');

.profile-content {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
}

.profile-header {
    display: flex;
    gap: 32px;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.avatar-section {
    text-align: center;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin-bottom: 12px;
}

.profile-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

.profile-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 16px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    transition: all 0.2s;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    display: none;
    padding: 32px;
}

.tab-content.active {
    display: block;
}

/* agent-settings.css */
@import url('agent-dashboard.css');

.settings-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    padding: 24px;
    height: calc(100vh - 120px);
}

.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-tab {
    padding: 12px 16px;
    background: var(--card-bg);
    border: none;
    border-radius: 8px;
    text-align: right;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.2s;
}

.settings-tab.active {
    background: var(--primary-color);
    color: white;
}

.settings-main {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    overflow-y: auto;
}

.settings-panel {
    display: none;
}

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

.setting-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    right: 3px;
    bottom: 3px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(-24px);
}

.color-picker {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: white;
    box-shadow: 0 0 0 2px var(--primary-color);
}