/**
 * Стили для страниц расписания
 * murom360.ru/rasp
 */

/* ============================================
   Hero блок расписания
   ============================================ */
.header-hero--rasp {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 350px;
    padding: 3rem 0 2rem;
    position: relative;
}

.header-hero--rasp:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.header-hero--rasp .header-hero__content {
    position: relative;
    z-index: 2;
}

/* Breadcrumbs */
.header-hero--rasp .breadcrumbs {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 2rem;
}

.header-hero--rasp .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.header-hero--rasp .breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.header-hero--rasp .breadcrumbs .current {
    color: #fff;
    font-weight: 600;
}

/* Заголовки */
.header-hero--rasp .page__title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 10px 0 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-hero--rasp .page__title i {
    margin-right: 10px;
    color: #ffce02;
}

.header-hero--rasp .page__subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Форма поиска
   ============================================ */
.rasp-search-form {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.rasp-search-form-inner {
    width: 100%;
}

.rasp-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.rasp-form-group {
    flex: 1;
    min-width: 0;
}

.rasp-form-group--full {
    flex: 1 1 100%;
}

.rasp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.rasp-form-group label i {
    margin-right: 6px;
    color: #667eea;
}

.rasp-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

.rasp-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.rasp-form-control:read-only {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Кнопки */
.rasp-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.rasp-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rasp-btn--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    flex: 1;
}

.rasp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.rasp-btn--primary:active {
    transform: translateY(0);
}

.rasp-btn--secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.rasp-btn--secondary:hover {
    background: #667eea;
    color: #fff;
}

/* Результаты поиска */
.rasp-search-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e5e5;
}

/* ============================================
   Layout страницы
   ============================================ */
.rasp-layout {
}

.rasp-main-content {
    background: #fff;
}

/* ============================================
   Адаптивность
   ============================================ */
@media (max-width: 768px) {
    .header-hero--rasp {
        min-height: 300px;
        padding: 2rem 0 1.5rem;
    }
    
    .header-hero--rasp .page__title {
        font-size: 28px;
    }
    
    .header-hero--rasp .page__subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .rasp-search-form {
        padding: 20px;
        border-radius: 8px;
    }
    
    .rasp-form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .rasp-form-actions {
        flex-direction: column;
    }
    
    .rasp-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-hero--rasp .page__title {
        font-size: 24px;
    }
    
    .header-hero--rasp .page__subtitle {
        font-size: 14px;
    }
    
    .rasp-search-form {
        padding: 15px;
    }
    
    .rasp-form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .rasp-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}
