/*@tailwind base;*/
/*@tailwind components;*/
/*@tailwind utilities;*/
:root {
    --wey-blue: #0077FF;
    --wey-blue-top: #4680C2;
    --way-red: #ff384a;
    --premium-blue: #0077FF;
    --dark-navy: #091E42;
    --dark-premium: #091E42;
}

html {
    scroll-behavior: smooth;
}

header {
    height: fit-content;
}

.text-align-center {
    text-align: center;
}
/* Навигация */
.navbar { background-color: var(--dark-premium); }
.nav-link { color: white !important; font-size: 0.9rem; }
.navbar-brand svg {
    height: 30px;
}
/* Главный блок */
.hero-section {
    background-color: var(--wey-blue);
    color: white;
    padding: 60px 0 100px 0;
}
.search-container {
    background: white;
    border-radius: 8px;
    padding: 4px;
    margin-top: 30px;
}
.search-input {
    border: none;
    border-right: 1px solid #dee2e6;
    border-radius: 0;
    padding: 15px;
}
.search-input:last-child { border-right: none; }
.btn-search {
    background-color: var(--way-red);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    width: 100%;
    font-weight: bold;
}

/* Преимущества */
.features-section { padding: 60px 0; }
.feature-icon {
    font-size: 2.5rem;
    color: var(--way-red);
    margin-bottom: 15px;
}
.feature-title { font-weight: bold; margin-bottom: 10px; }
.feature-text { font-size: 0.85rem; color: #666; }
.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color: #ffd756 !important}


/* Дополнительные эффекты */
.border-hover {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.border-hover:hover {
    border-color: #0077FF;
    transform: translateY(-3px);
}

.bg-primary {
    background-color: #0077FF !important;
}

.text-primary {
    color: #0077FF !important;
}

.rounded-4 { border-radius: 1.5rem !important; }


/* Личный кабинет пассажира */
.dashboard-wrapper {
    background-color: #f4f7fa;
    min-height: 100vh;
}

.sidebar {
    background: white;
    min-width: 280px;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.nav-link-custom {
    color: #6c757d;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 5px;
}

.nav-link-custom:hover, .nav-link-custom.active {
    background: rgba(0, 119, 255, 0.08);
    color: var(--premium-blue);
}

.ticket-card {
    background: white;
    border-radius: 20px;
    border: none;
    transition: transform 0.3s;
    overflow: hidden;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bg-success-soft { background: #e8f5e9; color: #2e7d32; }
.bg-primary-soft { background: #e3f2fd; color: #1976d2; }

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--premium-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}





/* Футер */
.footer {
    background-color: #f8f9fa; /* Светлый фон как у Atlassian */
    padding: 60px 0 30px;
    font-size: 0.9rem;
    color: #253858;
}

.footer-main {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #6b778c;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #42526e;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0077FF; /* Ваш синий цвет */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b778c;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #6b778c;
    text-decoration: none;
    margin-left: 20px;
}

.footer-action-link {
    font-weight: 600;
    color: #0077FF !important;
    display: inline-block;
    margin-top: 15px;
}






.bg-premium { background-color: var(--premium-blue); }
.text-navy { color: var(--dark-navy); }

/* Эффект стеклянной морфы для формы */
.glass-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.btn-premium {
    background-color: var(--premium-blue);
    color: white;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-premium:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 119, 255, 0.3);
}

.feature-card {
    border: none;
    border-radius: 20px;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(0, 119, 255, 0.1);
    color: var(--premium-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Элементы дашборда */
.dashboard-mockup {
    border: 8px solid #f0f2f5;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.1);
}

.stat-pill {
    background: #fff;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: absolute;
    z-index: 2;
}

/* Стили калькулятора */
.calc-container {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 119, 255, 0.1);
    transition: all 0.4s ease;
}

.calc-card-result {
    background: linear-gradient(135deg, #091E42 0%, #0077FF 100%);
    border-radius: 20px;
    color: white;
    padding: 40px;
}

/* Стилизация ползунков */
.form-range::-webkit-slider-thumb {
    background: #0077FF;
}

.form-range::-moz-range-thumb {
    background: #0077FF;
}

.value-display {
    font-weight: 700;
    color: #0077FF;
    font-size: 1.2rem;
}

.result-label {
    opacity: 0.8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 800;
}

:root {
    --premium-blue: #0077FF;
    --dark-navy: #091E42;
    --soft-bg: #f8fafd;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--soft-bg);
    color: var(--dark-navy);
}

/* Стили заголовка страницы */
.page-header {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Премиальные карточки */
.card-premium {
    background: white;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 119, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 119, 255, 0.1);
}

/* Кнопки */
.btn-premium {
    background-color: var(--premium-blue);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}
.btn-premium:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3);
    color: white;
}

/* Вспомогательные классы для Dashboard */
.bg-soft-blue { background: rgba(0, 119, 255, 0.08); color: var(--premium-blue); }
.bg-soft-green { background: rgba(40, 167, 69, 0.08); color: #28a745; }
.bg-soft-purple { background: rgba(111, 66, 193, 0.08); color: #6f42c1; }

.text-navy { color: var(--dark-navy); }

.icon-shape {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}


/* Переопределение переменных и шрифтов */
:root {
    --navy: #091E42;
    --premium-blue: #0077FF;
    --soft-gray: #f8fafd;
}

body {
    background-color: #f0f2f5 !important;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Удаляем стандартные границы AdminLTE */
.content-wrapper { background: #f4f7fa !important; border: none !important; }
.main-header { border: none !important; box-shadow: 0 2px 15px rgba(0,0,0,0.03) !important; }

/* Тот самый Premium Card Style */
.card {
    background: #fff;
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1.5rem 2rem !important;
}

.card-title {
    font-weight: 700 !important;
    color: var(--navy);
    font-size: 1.25rem !important;
}

 .input-wrapper {
     position: relative;
     display: flex;
     align-items: center;
 }

.clear-input-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    display: none; /* Приховуємо за замовчуванням */
    z-index: 5;
    padding: 0 5px;
    line-height: 1;
}

.clear-input-btn:hover {
    color: #333;
}

/* Щоб текст не наповзав на хрестик */
.search-input {
    padding-right: 30px !important;
}

/* Стилизация Sidebar под бизнес-стиль */
.main-sidebar {
    background-color: #091E42 !important; /* Глубокий темно-синий */
    box-shadow: 10px 0 30px rgba(0,0,0,0.05) !important;
}

.nav-sidebar .nav-item .nav-link {
    border-radius: 14px !important;
    margin: 5px 15px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease;
}

.nav-sidebar .nav-item .nav-link.active {
    background: linear-gradient(135deg, #0077FF 0%, #0056b3 100%) !important;
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3) !important;
}
.nav-sidebar .nav-link p {
    white-space: nowrap; /* Текст не переносится */
    overflow: hidden;    /* Обрезаем то, что не помещается */
    text-overflow: ellipsis; /* Добавляем троеточие, если нужно */
}
/* Кнопки как в кабинете */
.btn-premium {
    background: linear-gradient(135deg, #0077FF 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.4);
    color: white;
}

/* Кастомные экшн-кнопки */
.btn-action-admin {
    background: #f8fafd;
    border-radius: 12px;
    border: none;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
}

/* Фікс для AdminLTE, щоб навбар був чистим */
.custom-navbar {
    background: #ffffff !important;
    transition: all 0.3s ease;
}

.main-header.navbar-light .navbar-nav .nav-link {
    color: #091E42;
}

/* Ефект при наведенні на пошук */
.header-search-container {
    border: 1px solid transparent !important;
    transition: all 0.2s ease;
}

.header-search-container:focus-within {
    background: #fff !important;
    border-color: #0077FF !important;
    box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.1) !important;
}

/* Стилізація Logout посилання всередині дропдауну */
.dropdown-item {
    border-radius: 12px;
    padding: 10px 15px;
    font-weight: 600;
    color: #091E42;
}

.dropdown-item:hover {
    background-color: #f8fafd;
    color: #0077FF;
}

.nav-sidebar .nav-link p {
    white-space: nowrap !important; /* Текст не переносится */
    overflow: hidden !important;;    /* Обрезаем то, что не помещается */
    text-overflow: ellipsis !important;; /* Добавляем троеточие, если нужно */
}

.d-sm-inline-block {
    display: flex !important;
}





/* 1. БАЗОВІ СТИЛІ (Для мобільних телефонів від 0px і ширше) */


/* 2. МАЛЕНЬКІ ПЛАНШЕТИ ТА МОБІЛЬНІ (>= 576px)
   З'являється трохи більше простору по боках, сітки стають двоколонковими. */
@media (min-width: 576px) {
    .busway-container {
        padding: 0 16px;
        max-width: 540px;
    }
}

/* 3. ПЛАНШЕТИ (>= 768px)
   Класичний поріг для планшетів та iPad. Тут вже можна розгортати таблиці та складні фільтри. */
@media (min-width: 768px) {
    .busway-container {
        max-width: 720px;
    }

    .row-responsive {
        flex-direction: row;
    }
}

/* 4. МАЛЕНЬКІ НОУТБУКИ ТА ГОРИЗОНТАЛЬНІ ПЛАНШЕТИ (>= 992px)
   Стандартна точка для зникнення мобільних меню-бургерів і появи повноцінного десктопного сайдбару AdminLTE. */
@media (min-width: 992px) {
    .busway-container {
        max-width: 960px;
        padding: 0 24px;
    }
}

/* 5. ВЕЛЕКІ ДЕСКТОПИ (>= 1200px)
   Для моніторів та великих екранів офісів перевізників. */
@media (min-width: 1200px) {
    .busway-container {
        max-width: 1140px;
    }
}

/* 6. ULTRA-WIDE МОНІТОРИ (>= 1400px)
   Обмежуємо максимальну ширину, щоб таблиці та інпути не розтягувалися на весь величезний екран. */
@media (min-width: 1400px) {
    .busway-container {
        max-width: 1320px;
    }
}
