:root {
    --primary-color: #4a6bff;
    --secondary-color: #f5f7ff;
    --text-color: #333;
    --light-gray: #f0f0f0;
    --white: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* //font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: Vazirmatn, sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* هدر */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.auth-links {
    display: flex;
    gap: 15px;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.auth-links a:hover {
    background-color: rgba(74, 107, 255, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* بخش جستجو در مرکز صفحه */
.search-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    flex-direction: column;
}

.search-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-container form {
    display: flex;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 15px 25px;
    border: 2px solid var(--light-gray);
    border-radius: 30px 0 0 30px; /* تغییر جهت گردی */
    font-size: 18px;
    outline: none;
    transition: all 0.3s;
}

.search-container input:focus {
    border-color: var(--primary-color);
}

.search-container button {
    padding: 0 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0; /* تغییر جهت گردی */
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.search-container button:hover {
    background-color: #3a5bef;
}

/* فوتر ساده */
footer {
    text-align: center;
    padding: 20px;
    background-color: none;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #777;
    font-size: 14px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 40px;
    }
    
    .auth-links {
        /*//order: 1;
        //width: 100%;
        //justify-content: flex-start;*/
        /* justify-content-center order-3 w-100 mt-2 mt-lg-0; */
        display: flex;
        justify-content: center;
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .logo {
        /*//order: 3;
        //width: 100%;
        //justify-content: flex-end; */
        /* justify-content-center; order-3 w-100 mt-2 mt-lg-0; */
        display: flex;
        justify-content: center;
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .search-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .search-container input {
        padding: 12px 20px;
        font-size: 16px;
    }
}
.worker-card {
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}
.worker-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.worker-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
}
.btn-call {
    background-color: #3b82f6;
    color: white;
    border-radius: 8px;
}
.btn-call:hover {
    background-color: #2563eb;
    color: white;
}
.star-rating {
    direction: rtl;
    display: inline-flex;
    font-size: 1.5rem;
    cursor: pointer;
}
.star {
    color: #ccc;
    transition: color 0.2s;
}
.star.hover,
.star.selected {
    color: gold;
}
.pagination-bootstrap-persian {
    /* //background-color: #fff; */
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    /* //box-shadow: 0 4px 12px rgb(0 0 0 / 0.1); */
    font-family: 'Vazir', Tahoma, sans-serif;
}

.pagination-bootstrap-persian .page-item {
    margin: 0 4px;
}

.pagination-bootstrap-persian .page-link {
    border-radius: 8px;
    min-width: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #4a4a4a;
    border: none;
}

.pagination-bootstrap-persian .page-link:hover:not(.disabled):not(.active) {
    background-color: #e7f1ff;
    color: #0d6efd; /* bootstrap primary */
    /* //box-shadow: 0 3px 8px rgba(13, 110, 253, 0.3); */
    text-decoration: none;
}

.pagination-bootstrap-persian .page-item.active .page-link {
    background-color: #0d6efd; /* bootstrap primary */
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.6);
    cursor: default;
}

.pagination-bootstrap-persian .page-item.disabled .page-link {
    color: #c3c3c3;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.pagination-bootstrap-persian .page-link i {
    margin: 0 6px;
    font-size: 1.1rem;
}