/* ==================== ФУТЕР МОДАЛЬНОГО ОКНА ==================== */
.transport-display__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem 0.75rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.75rem;
    min-height: 70px;
    flex-shrink: 0;
}

.transport-selection-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.selection-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.selection-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    min-width: 0;
}

.transport-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    flex-shrink: 0;
    min-width: 140px;
    margin-left: 1rem;
}

.transport-confirm-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.transport-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.confirm-text {
    white-space: nowrap;
}

/* ==================== СОСТОЯНИЯ ЗАГРУЗКИ И ОШИБОК ==================== */
.transport-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    color: var(--gray-600);
    font-size: 1rem;
    gap: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.transport-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    color: var(--gray-600);
    font-size: 1rem;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
}

.transport-error-icon {
    font-size: 2rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.transport-error-text {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.transport-error-subtext {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* ==================== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ==================== */
.transport-card-placeholder {
    visibility: hidden;
    height: 0;
    min-height: 0;
    padding: 0;
    border: none;
}

.image-error {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--gray-400);
    font-size: 3rem;
}

/* Анимации */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== МОБИЛЬНАЯ НАВИГАЦИЯ ==================== */
.transport-mobile-hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px;
    z-index: 10001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
}

.transport-mobile-hamburger span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.transport-mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.transport-mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.transport-mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.transport-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 10002;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-large);
}

.transport-mobile-menu.active {
    transform: translateX(0);
}

.transport-mobile-menu__header {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.transport-mobile-menu__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.transport-mobile-menu__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-600);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.transport-mobile-menu__close:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.transport-mobile-nav {
    padding: 1rem;
}

.transport-mobile-nav__section {
    margin-bottom: 0.5rem;
}

.transport-mobile-nav__section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.transport-mobile-nav__section-title.active {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: var(--primary-blue);
}

.transport-mobile-nav__chevron {
    font-size: 0.8rem;
    color: var(--gray-500);
    transition: transform 0.2s ease;
}

.transport-mobile-nav__section-title.opened .transport-mobile-nav__chevron {
    transform: rotate(180deg);
}

.transport-mobile-nav__subsections {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem 0.25rem;
    display: none;
}

.transport-mobile-nav__subsection {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.transport-mobile-nav__subsection.active {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: var(--primary-blue);
}

.transport-mobile-nav__subsection-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.transport-mobile-nav__subsection-content i {
    color: var(--gray-600);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.transport-mobile-nav__subsection.active .transport-mobile-nav__subsection-content i {
    color: var(--primary-blue);
}

.transport-mobile-nav__subsection-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.transport-mobile-nav__subsection.active .transport-mobile-nav__subsection-title {
    color: var(--primary-blue);
    font-weight: 700;
}

.transport-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.transport-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.transport-mobile-breadcrumb {
    display: none;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.transport-mobile-breadcrumb__section {
    font-weight: 600;
    color: var(--primary-blue);
}

.transport-mobile-breadcrumb__separator {
    margin: 0 0.5rem;
}

.transport-mobile-breadcrumb__category {
    font-weight: 600;
    color: var(--text-dark);
}

