/* Основные стили для автовладельцев */
.av-auth-body {
    background: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.av-auth-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.av-auth-form {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.av-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.av-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
}

.av-tab:hover {
    background: #e9ecef;
}

.av-tab-active {
    background: white;
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

.av-tab-content {
    padding: 20px;
}

.av-auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.av-auth-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.av-auth-form button:hover {
    background: #2980b9;
}

.av-alert {
    padding: 12px;
    margin: 0 20px 20px;
    border-radius: 4px;
    font-size: 14px;
}

.av-alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.av-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Стили для личного кабинета */
.av-dashboard {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
	margin-top: 30px;
}

.av-sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
    padding: 20px 0;
}

.av-main-content {
    flex: 1;
    padding: 30px;
    background: #f5f7fa;
}

.av-user-info {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #34495e;
}

.av-user-info h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.av-user-info p {
    margin: 0;
    font-size: 14px;
    color: #bdc3c7;
}

.av-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.av-sidebar nav ul li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.av-sidebar nav ul li a:hover {
    background: #34495e;
}

.av-sidebar nav ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.av-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.av-stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.av-active-status {
    color: #2ecc71;
    font-weight: bold;
}

/* Стили для формы запроса услуги */
.av-service-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 600px;
    margin-top: 20px;
}

.av-form-group {
    margin-bottom: 20px;
}

.av-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.av-form-group select,
.av-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.av-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.av-submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.av-submit-btn:hover {
    background: #2980b9;
}

/* Шапка и футер */
.av-header {
    background: #3498db;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.av-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.av-logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.av-footer {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .av-dashboard {
        flex-direction: column;
    }
    
    .av-sidebar {
        width: 100%;
    }
    
    .av-main-content {
        padding: 20px;
    }
}

/* Стили для формы запроса услуги */
.av-service-container {
    max-width: 800px;
    margin: 0 auto;
}

.av-service-subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 16px;
}

.av-service-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.av-form-group {
    margin-bottom: 25px;
}

.av-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.av-form-group label i {
    margin-right: 10px;
    color: #3498db;
    width: 20px;
    text-align: center;
}

.av-city-search-container {
    position: relative;
}

#av_city_search {
    width: 85%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #f8f9fa;
}

#av_city_search:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
    background-color: white;
    outline: none;
}

.av-city-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    border-top: none;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.av-city-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #eee;
}

.av-city-item:last-child {
    border-bottom: none;
}

.av-city-item:hover {
    background: #f5f7fa;
}

.av-selected-city {
    background: #f5f7fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.av-change-btn {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.av-change-btn:hover {
    background: rgba(52,152,219,0.1);
}

.av-change-btn i {
    margin-right: 5px;
}

.av-select-wrapper {
    position: relative;
}

.av-select-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    appearance: none;
    background-color: #f8f9fa;
    cursor: pointer;
}

.av-select-wrapper select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
    outline: none;
    background-color: white;
}

.av-select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #7f8c8d;
}

.av-service-form textarea {
    width: 85%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
    min-height: 120px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.av-service-form textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
    background-color: white;
    outline: none;
}

.av-form-actions {
    margin-top: 30px;
    text-align: right;
}

.av-submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.av-submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.av-submit-btn i {
    margin-right: 10px;
}

.av-active {
    background: #34495e;
}

/* Общие стили */
:root {
    --primary-color: #4361ee;
    --primary-hover: #3a56d4;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --dark-color: #2b2d42;
    --light-color: #f8f9fa;
    --success-color: #4cc9f0;
    --warning-color: #f8961e;
    --danger-color: #f72585;
    --gray-color: #adb5bd;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Шапка */
.av-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.av-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.av-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.av-logo i {
    margin-right: 10px;
    color: var(--primary-color);
}

.av-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.av-user-menu {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    gap: 8px;
    transition: var(--transition);
}

.av-user-menu:hover {
    color: var(--primary-color);
}

.av-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.av-user-avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.av-login-btn, .av-logout-btn {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.av-login-btn {
    background: var(--primary-color);
    color: white;
}

.av-login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.av-logout-btn {
    color: var(--dark-color);
    font-size: 18px;
}

.av-logout-btn:hover {
    color: var(--danger-color);
}

/* Сайдбар */
.av-sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    z-index: 900;
    transition: var(--transition);
}

.av-user-info {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.av-user-info h3 {
    margin: 15px 0 5px;
    font-size: 18px;
    color: var(--dark-color);
}

.av-user-info p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-color);
}

.av-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.av-sidebar nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    gap: 12px;
}

.av-sidebar nav ul li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.av-sidebar nav ul li a.av-active {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.av-sidebar nav ul li a i {
    width: 20px;
    text-align: center;
}

.av-sidebar nav ul li a span {
    flex: 1;
}

/* Мобильное меню */
.av-mobile-menu {
    display: none;
    padding: 15px;
}

.av-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

.av-no-scroll {
    overflow: hidden;
}

/* Основное содержимое */
.av-main-content {
    margin-left: 280px;
    padding: 90px 30px 30px;
    min-height: 100vh;
    background: var(--light-color);
}

.av-welcome-section {
    margin-bottom: 30px;
}

.av-welcome-section h1 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.av-welcome-section h1 span {
    color: var(--primary-color);
}

.av-welcome-text {
    color: var(--gray-color);
    font-size: 16px;
    max-width: 600px;
}

/* Карточки статистики */
.av-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.av-stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.av-stat-card:hover {
    transform: translateY(-5px);
}

.av-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.av-stat-primary .av-stat-icon {
    background: var(--primary-color);
}

.av-stat-secondary .av-stat-icon {
    background: var(--secondary-color);
}

.av-stat-tertiary .av-stat-icon {
    background: var(--accent-color);
}

.av-stat-content h3 {
    font-size: 14px;
    color: var(--gray-color);
    margin: 0 0 5px;
}

.av-stat-content p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
}

.av-active-status {
    color: var(--success-color) !important;
}

/* Секция запросов */
.av-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.av-section-header h2 {
    font-size: 22px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.av-section-header h2 i {
    color: var(--primary-color);
}

.av-view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.av-view-all:hover {
    color: var(--primary-hover);
    gap: 8px;
}

.av-requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.av-request-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.av-request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.av-request-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.av-request-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--dark-color);
}

.av-request-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.av-status-pending {
    background: rgba(248, 150, 30, 0.1);
    color: var(--warning-color);
}

.av-status-processing {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.av-status-completed {
    background: rgba(76, 201, 240, 0.1);
    color: var(--success-color);
}

.av-request-body {
    padding: 15px 20px;
}

.av-request-body p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
    font-size: 14px;
}

.av-request-body i {
    width: 16px;
    color: var(--primary-color);
}

.av-request-actions {
    padding: 10px 20px 20px;
    text-align: right;
}

.av-btn {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.av-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.av-btn-primary {
    background: var(--primary-color);
    color: white;
}

.av-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.av-btn-outline {
    background: none;
    border: 1px solid var(--light-gray);
    color: var(--dark-color);
}

.av-btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.av-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.av-empty-state i {
    font-size: 40px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.av-empty-state p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Футер */
.av-footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 0;
}

.av-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.av-footer-logo {
    flex: 1;
    min-width: 250px;
}

.av-footer-slogan {
    color: var(--gray-color);
    margin-top: 10px;
}

.av-footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.av-footer-column {
    min-width: 150px;
}

.av-footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.av-footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.av-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.av-footer-column ul li {
    margin-bottom: 10px;
}

.av-footer-column ul li a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.av-footer-column ul li a:hover {
    color: white;
}

.av-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.av-social-links a {
    color: var(--gray-color);
    font-size: 18px;
    transition: var(--transition);
}

.av-social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

.av-footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    margin-top: 40px;
}

.av-footer-bottom .av-footer-container {
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.av-footer-bottom p {
    margin: 0;
    color: var(--gray-color);
    font-size: 14px;
}

.av-footer-legal {
    display: flex;
    gap: 15px;
}

.av-footer-legal a {
    color: var(--gray-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.av-footer-legal a:hover {
    color: white;
}

/* Адаптивность */
@media (max-width: 992px) {
    .av-main-content {
        margin-left: 0;
        padding-top: 80px;
    }
    
    .av-sidebar {
        transform: translateX(-100%);
        position: fixed;
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .av-sidebar.av-sidebar-active {
        transform: translateX(0);
    }
    
    .av-mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        z-index: 950;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .av-header {
        top: 60px;
    }
    
    .av-footer-links {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .av-footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .av-footer-column {
        min-width: 100%;
    }
    
    .av-footer-bottom .av-footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .av-footer-legal {
        justify-content: center;
    }
}

/* Стили для авторизации */
.auth-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.auth-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-tab.active {
    color: #4299e1;
    border-bottom-color: #4299e1;
}

.auth-tab:hover:not(.active) {
    color: #2c5282;
}

.auth-form {
    padding: 20px 0;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    border-color: #4299e1;
    outline: none;
}

.auth-links {
    margin-top: 15px;
    text-align: center;
}

.auth-links a {
    color: #4299e1;
    text-decoration: none;
    font-size: 14px;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Стили для личного кабинета */
.dashboard-container {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.user-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #4299e1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.user-profile h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.user-profile p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.dashboard-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav li {
    margin-bottom: 5px;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    gap: 10px;
}

.dashboard-nav a:hover {
    background: #ebf8ff;
    color: #4299e1;
}

.dashboard-nav a.active {
    background: #ebf8ff;
    color: #4299e1;
    font-weight: 600;
}

.dashboard-nav a i {
    width: 20px;
    text-align: center;
}

.dashboard-content {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.welcome-banner {
    margin-bottom: 30px;
}

.welcome-banner h1 {
    margin: 0 0 10px;
    color: #2d3748;
}

.welcome-banner p {
    margin: 0;
    color: #718096;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.bg-primary {
    background: #4299e1;
}

.bg-secondary {
    background: #667eea;
}

.bg-tertiary {
    background: #9f7aea;
}

.stat-info h3 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #718096;
}

.stat-info p {
    margin: 0;
    font-size: 14px;
    color: #2d3748;
	text-decoration: none;
}

.recent-requests {
    margin-top: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-link {
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-link:hover {
    text-decoration: underline;
    gap: 8px;
}

.requests-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.request-card {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s;
}

.request-card:hover {
    border-color: #4299e1;
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.1);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.request-header h3 {
    margin: 0;
    font-size: 18px;
}

.status-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.pending {
    background: #fffaf0;
    color: #dd6b20;
}

.processing {
    background: #ebf8ff;
    color: #3182ce;
}

.completed {
    background: #f0fff4;
    color: #38a169;
}

.request-meta {
    margin-bottom: 15px;
}

.request-meta p {
    margin: 5px 0;
    color: #718096;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.request-meta i {
    width: 16px;
    color: #4299e1;
}

.request-actions {
    text-align: right;
}

.avv-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
	text-decoration: none;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-primary:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 153, 225, 0.2);
}

.btn-outline {
    background: none;
    border: 1px solid #e2e8f0;
    color: #4a5568;
	text-decoration: none;
}

.btn-outline:hover {
    border-color: #4299e1;
    color: #4299e1;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.empty-state p {
    color: #718096;
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 30px;
        display: none;
    }
    
    .dashboard-sidebar.active {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 15px;
        background: #4299e1;
        color: white;
        border: none;
        border-radius: 6px;
        font-weight: 500;
        cursor: pointer;
        margin-bottom: 20px;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 993px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Стили для страницы избранного */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.favorite-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-top: 20px;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.favorite-image {
    height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.no-logo {
    color: #999;
    font-size: 14px;
}

.favorite-info {
    padding: 15px;
}

.favorite-info h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.favorite-info .category {
    color: #666;
    font-size: 14px;
    margin: 0 0 5px;
}

.favorite-info .city {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px;
}

.favorite-info .description {
    font-size: 14px;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.favorite-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.favorite-remove i {
    color: #ff4757;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для страницы всех запросов */
.requests-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.request-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.2s;
}

.request-card:hover {
    transform: translateY(-2px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.request-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.request-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.request-meta i {
    margin-right: 5px;
}

.request-description {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.5;
}

.request-actions {
    display: flex;
    justify-content: flex-end;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.processing {
    background: #cce5ff;
    color: #004085;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 15px 0;
}

.page-link {
    padding: 8px 15px;
    border-radius: 5px;
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    background: #e9ecef;
}

.page-info {
    color: #6c757d;
}

/* Стили для детальной страницы запроса */
.request-detail-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.request-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.request-detail-header h3 {
    margin: 0;
    font-size: 22px;
    color: #333;
}

.request-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.request-detail-description,
.request-detail-response {
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.request-detail-description h4,
.request-detail-response h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #444;
}

.request-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 15px;
    color: #ddd;
	text-decoration: none;
}

.request-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offers-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.offers-badge.has-new {
    background: #e3f2fd;
    color: #1976D2;
}

.offers-badge:hover {
    background: #e0e0e0;
}

.offers-badge i {
    margin-right: 5px;
}

.new-offers-count {
    background: #FF5722;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-left: 5px;
}