/* استايل سايدبار فيلتر */
.filter-sidebar {
    /*background: white;*/
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    padding: 10px 10px 10px 5px;
    position: sticky;
    top: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.filter-title {
    font-size: 19px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    color: #333;
}

.filter-subtitle {
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: #525252;
    margin-bottom: 12px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-select {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 12px;
    font-size: 16px;
}

/* استايل راديو جنسيت */
.gender-filter {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.gender-option {
    flex: 1;
    position: relative;
}

.filter-radio {
    display: none;
}

.filter-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 17px;
    background: white;
}

.filter-radio:checked + .filter-label {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-left: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-radio:checked + .filter-label .radio-custom {
    border-color: white;
    background: white;
}

.filter-radio:checked + .filter-label .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* استايل آکاردئون */
.accordion-button {
    /*font-weight: 600;*/
    font-size: 17px;
    padding: 12px 5px;
    border: none;
    background: none;
}

.accordion-button:not(.collapsed) {
    /*background: none;*/
    box-shadow: none;
}

.accordion-body {
    padding: 16px 0 0 0;
}

/* استايل چک باکس ها */
.filter-checkbox {
    margin-bottom: 12px;
    padding-right: 8px;
}

.filter-checkbox .form-check-input {
    margin-left: 8px;
    margin-top: 0.2em;
}

.filter-checkbox .form-check-label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

/* دکمه هاي فيلتر */
.filter-actions {
    margin-top: 24px;
}

/* استايل ليست مشاوران */
.agent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: white;
}

.agent-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-texts {
    display: flex;
    flex-direction: column;
}

.agent-texts span {
    color: #666;
    font-size: 14px;
    margin-top: 4px;
}

.agent-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-code {
    color: #666;
    font-size: 14px;
}

.arrow-icon {
    color: #999;
}

.no-result {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

.minimal-page-header {
    background: linear-gradient(135deg, #6063f2 0%, #61f2ae 100%);    
    padding: 1.5rem 0 2rem 0;
    position: relative;
    margin-bottom: 2rem;
}

.header-content {
    text-align: center;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-bottom: 0.8rem;
}

.header-tip {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    color: inherit;
}

.header-wave svg {
    width: 100%;
    height: 100%;
}

/* رسپانسيو */
@media (max-width: 768px) {
    .minimal-page-header {
        padding: 1.2rem 0 1.8rem 0;
    }
    
    .header-badge {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    
    .header-tip {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.2rem;
    }
}

/* استایل‌های جستجو */
.search-container {
    position: sticky;
    top: 0;
    z-index: 10;
   /* background: white;*/
    padding-top: 10px;
}

.specialties-list-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 5px;
    position: relative;
}

.specialty-item {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.specialty-item:last-child {
    border-bottom: none;
}

.specialty-item.highlight {
    background-color: #f0f9ff;
    border-right: 3px solid #3b82f6;
    padding-right: 8px;
}

.specialty-item.hidden {
    display: none !important;
}

/* استایل فیلترهای سریع */
.quick-filters {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.quick-filter.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* اسکرول بار زیبا */
.specialties-list-container::-webkit-scrollbar {
    width: 8px;
}

.specialties-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.specialties-list-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.specialties-list-container::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specialty-item {
    animation: fadeIn 0.3s ease;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .specialties-list-container {
        max-height: 300px;
    }
    
    .quick-filters .btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}

/* رسپانسيو */
@media (max-width: 991px) {
    .filter-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
    
    .gender-filter {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .agent-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .agent-side {
        align-self: flex-end;
    }
}