/* === Общие стили для туристического аккаунта === */

/* Основной макет */
.tourist-account-layout {
    display: flex;
    min-height: 100vh;
    margin-top: var(--header-height);
}

.tourist-content {
    flex: 1;
    margin-left: 280px; /* Ширина сайдбара */
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - var(--header-height));
    transition: margin-left 0.3s ease;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .tourist-content {
        margin-left: 260px;
    }
}

@media (max-width: 992px) {
    .tourist-content {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .tourist-account-layout {
        flex-direction: column;
    }
    
    .tourist-content {
        margin-left: 0;
        padding: 1rem;
    }
}

/* Стили для контента страниц */
.tourist-page-header {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tourist-page-title {
    font-family: var(--font-family-montserrat);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tourist-page-subtitle {
    color: var(--color-text-light);
    font-size: 1rem;
    margin: 0;
}

.tourist-page-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-primary);
}

/* Карточки контента */
.tourist-content-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

/* Статистические карточки */
.tourist-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tourist-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tourist-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tourist-stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-nav-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.tourist-stat-value {
    font-family: var(--font-family-montserrat);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.tourist-stat-label {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Таблицы */
.tourist-table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tourist-table table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.tourist-table th {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-nav-hover) 100%);
    color: white;
    padding: 1rem;
    font-family: var(--font-family-montserrat);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
}

.tourist-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.9rem;
}

.tourist-table tbody tr:hover {
    background: rgba(132, 172, 236, 0.05);
}

/* Кнопки действий */
.tourist-action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tourist-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: var(--font-family-montserrat);
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tourist-btn-primary {
    background: var(--color-primary);
    color: white;
}

.tourist-btn-primary:hover {
    background: var(--color-nav-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(132, 172, 236, 0.3);
}

.tourist-btn-secondary {
    background: #6c757d;
    color: white;
}

.tourist-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.tourist-btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.tourist-btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(132, 172, 236, 0.3);
}

/* Статусы */
.tourist-status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tourist-status-pending {
    background: #fff3cd;
    color: #856404;
}

.tourist-status-confirmed {
    background: #d1edff;
    color: #0c5460;
}

.tourist-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.tourist-status-completed {
    background: #d1e7dd;
    color: #0f5132;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .tourist-page-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tourist-page-title {
        font-size: 1.5rem;
    }
    
    .tourist-content-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tourist-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tourist-table {
        overflow-x: auto;
    }
    
    .tourist-action-buttons {
        flex-direction: column;
    }
    
    .tourist-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tourist-page-header {
        padding: 1rem;
    }
    
    .tourist-page-title {
        font-size: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .tourist-content-card {
        padding: 1rem;
    }
    
    .tourist-stat-card {
        padding: 1rem;
    }
    
    .tourist-stat-value {
        font-size: 1.5rem;
    }
}




