﻿/*==================================================
    GLOBAL
==================================================*/
body {
    background: #0b0f19; /* Темна позадина како на сликата */
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}

.trip-list {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Растојание меѓу картичките */
}

/*==================================================
    HERO
==================================================*/
.hero-search {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    height:500px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    margin-bottom: 45px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(245,158,11,.08), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 50px;
}

/*==================================================
    TITLE
==================================================*/
.hero-title {
    margin-bottom: 40px;
}

    .hero-title h1 {
        color: #fff;
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .hero-title i {
        color: #fbbf24;
        margin-right: 12px;
    }

    .hero-title p {
        color: #94a3b8;
        font-size: 18px;
    }

/*==================================================
    LABELS
==================================================*/
.hero-search label {
    display: block;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}

    .hero-search label i {
        color: #fbbf24;
        margin-right: 6px;
    }

/*==================================================
    INPUTS
==================================================*/
.trip-input {
    height: 54px;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #1f2937 !important;
    color: #fff !important;
    padding: 0 18px;
    transition: .3s;
}

    .trip-input::placeholder {
        color: #64748b;
    }

    .trip-input:focus {
        background: #1f2937 !important;
        border-color: #fbbf24;
        color: #fff;
        box-shadow: 0 0 0 .20rem rgba(245,158,11,.15);
    }

input[type=date] {
    color-scheme: dark;
}

/*==================================================
    SEARCH BUTTON
==================================================*/
.hero-search-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    transition: .3s;
}

    .hero-search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(245,158,11,0.25);
    }

/*==================================================
    CITY SEARCH LIVE RESULTS
==================================================*/
/*==================================================
    CITY SEARCH LIVE RESULTS (КОРЕКЦИЈА ЗА ШИРИНА)
==================================================*/
.city-live {
    width: 100%;
    position: relative;
}

.city-results {
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%; /* Ова гарантира дека кутијата ќе биде широка колку и самиот input */
    min-width: 250px; /* Спречува премногу стеснување ако инпутот е мал */
    background: #1f2937;
    border: 1px solid #334155;
    border-radius: 12px;
    z-index: 999;
    max-height: 480px; /* Доволно простор за да се видат повеќе градови одеднаш */
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* Сенка за подобар 3Д ефект */
}

.city-option {
    padding: 12px 16px;
    color: #e2e8f0;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 10px; /* Чист простор меѓу иконата и името на градот */
}

    .city-option i {
        color: #fbbf24;
        font-size: 14px;
    }

    .city-option:hover {
        background: #2d3748; /* Суптилна промена на позадината при hover */
        color: #fff;
    }

    .city-option.active {
        background: #fbbf24;
        color: #111827;
        font-weight: 700;
    }
/*==================================================
    TRIP CARD STYLES (НОВО - ОВА ФАЛЕШЕ ЗА ДЕСКТОП)
==================================================*/
.trip-item {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

    .trip-item:hover {
        border-color: rgba(245, 158, 11, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

.trip-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.trip-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1f2937;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #fbbf24; /* Жолта икона за колата во кругот */
}

.trip-info h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

    .trip-info h3 i {
        color: #fbbf24;
    }

.trip-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    .trip-meta span {
        color: #94a3b8;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .trip-meta span i {
            color: #fbbf24; /* Жолти икони за мета податоците */
        }

.trip-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.trip-price {
    font-size: 28px;
    font-weight: 800;
    color: #4ade80; /* Зелена боја за цената како на сликата */
}

    .trip-price span {
        font-size: 16px;
        color: #94a3b8;
        font-weight: 500;
        margin-left: 4px;
    }

.trip-btn {
    border: 1px solid #fbbf24;
    color: #fbbf24 !important;
    background: transparent;
    padding: 8px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
}

    .trip-btn:hover {
        background: #fbbf24;
        color: #111827 !important;
    }

/*==================================================
    EMPTY STATE
==================================================*/
.empty-trips {
    background: #111827;
    border-radius: 24px;
    padding: 70px 40px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.05);
}

.empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg,#f59e0b,#fbbf24);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: #111827;
}

.empty-trips h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.empty-trips p {
    color: #94a3b8;
    font-size: 18px;
}

/*==================================================
    SCROLLBAR
==================================================*/
.city-results::-webkit-scrollbar {
    width: 6px;
}

.city-results::-webkit-scrollbar-track {
    background: #1f2937;
}

.city-results::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 20px;
}

/*==================================================
    MOBILE RESPONSIVE
==================================================*/
@media(max-width:991px) {
    .hero-content {
        padding: 30px;
    }

    .hero-title h1 {
        font-size: 34px;
    }

    .trip-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .trip-right {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 15px;
    }

    .trip-btn {
        width: auto;
    }
}
/*==================================================
    LABELS & WRAPPERS (КОРЕКЦИЈА ЗА РАСПОРЕДОТ)
==================================================*/
.input-field-wrapper {
    display: flex;
    flex-direction: column; /* Секогаш лабелот да оди НАД инпутот */
    gap: 8px;
    width: 100%;
}

.hero-search label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

    .hero-search label i {
        color: #fbbf24;
    }

/*==================================================
    INPUTS & BUTTONS
==================================================*/
.trip-input {
    width: 100%;
    height: 54px;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #1f2937 !important;
    color: #fff !important;
    padding: 0 16px;
    transition: .3s;
}

.hero-search-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto; /* Го порамнува копчето со инпутите на десктоп */
}

/*==================================================
    CITY LIVE DROP DOWN ПОЗИЦИОНИРАЊЕ
==================================================*/
.city-live {
    width: 100%;
    position: relative;
}

.city-results {
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    display: none;
    background: #1f2937;
    border: 1px solid #334155;
    border-radius: 12px;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
}

/*==================================================
    КОРЕКЦИЈА ЗА МОБИЛЕН (RESPONSIVE)
==================================================*/
@media (max-width: 991px) {
    .row.g-3 {
        --bs-gutter-y: 1.5rem; /* Поголем простор меѓу полињата на мобилен */
    }
    .hero-search {
        height:600px;
    }
        .hero-search-btn {
            margin-top: 10px; /* Мало растојание за копчето на мобилен */
        }
    }
























.create-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    padding: 40px;
}

.create-title {
    font-size: 27px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
}

    .create-title i {
        color: #fbbf24;
        margin-right: 12px;
    }

.trip-textarea {
    height: auto !important;
    padding: 15px 18px !important;
}

.btn-add-stop {
    height: 54px;
    border-radius: 12px;
    font-weight: 700;
    background: #1f2937;
    border: 1px solid #334155;
    color: #fff;
    transition: 0.3s;
}

    .btn-add-stop:hover {
        background: #2d3748;
        border-color: #fbbf24;
        color: #fbbf24;
    }

.stop-item {
    background: #1f2937;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-submit-trip {
    height: 56px;
    border-radius: 12px;
    background: #fbbf24; /* За уредување користиме брендирана жолта боја */
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    width: 100%;
}

    .btn-submit-trip:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
        background: #f59e0b;
        color: #111827;
    }

.form-switch .form-check-input {
    background-color: #334155;
    border-color: #475569;
    height: 24px;
    width: 45px;
    cursor: pointer;
}

    .form-switch .form-check-input:checked {
        background-color: #fbbf24;
        border-color: #fbbf24;
    }

.form-check-label {
    color: #e2e8f0;
    font-weight: 600;
    cursor: pointer;
    padding-left: 8px;
    padding-top: 2px;
}


/* Главна темна картичка */
.details-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    padding: 30px;
    width: 100%;
    align-self: flex-start; /* ДОДАДИ ГО ОВА за да не се издолжува картичката */
}

.details-title-box {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* Стилизирање на Timeline (Временска линија) */
.timeline-wrapper {
    position: relative;
    padding-left: 35px;
}

.timeline-line {
    position: absolute;
    height: calc(100% - 30px);
    border-left: 2px dashed #334155;
    left: 12px;
    top: 15px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-badge {
    position: absolute;
    left: -35px;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1f2937;
    border: 2px solid #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: 0.3s;
}

.timeline-item.active .timeline-badge {
    border-color: #4ade80;
    background: #111827;
}

.timeline-item.last .timeline-badge {
    border-color: #ef4444;
    background: #111827;
}

/* Десна колона: Инфо лепенки */
.info-row-item {
    background: #1f2937;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-icon-box {
    width: 44px;
    height: 44px;
    background: #111827;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Цена блок */
.price-badge-box {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border: 2px solid #4ade80;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.1);
    width: 100%;
}

/* Забелешка стил */
.notes-box {
    background: #1f2937;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
}

/* Копчиња за Комуникација */
.btn-action-driver {
    height: 54px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
}

.btn-call-driver {
    background: #4ade80;
    color: #111827;
}

    .btn-call-driver:hover {
        background: #22c55e;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(74, 222, 128, 0.25);
    }

.btn-viber-driver {
    background: #735bf2;
    color: #fff;
}

    .btn-viber-driver:hover {
        background: #5b42db;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(115, 91, 242, 0.25);
    }

/* Оптимизација за мобилни екрани */
@media (max-width: 576px) {
    .details-card {
        padding: 20px;
        border-radius: 20px;
    }

    .price-badge-box {
        padding: 18px;
        border-radius: 18px;
    }
}
/* Advertisement Banner */

.ads-link {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
}

.ads-banner {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
    transition: all .35s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
    cursor: pointer;
}

.ads-banner:hover {
    transform: scale(1.015);
    box-shadow: 0 15px 45px rgba(255,181,0,.20);
}

/* Tablet */

@media (max-width:991px) {

    .ads-banner {
        height: 180px;
    }

}

/* Mobile */

@media (max-width:768px) {

    .ads-banner {
        height: 140px;
        border-radius: 14px;
    }

}

/* Централен банер - прилагодување на висината за да не се крати текстот */
.central-ad-banner {
    height: 220px; /* За мобилни уреди */
    object-fit: contain; /* Го спречува кратењето на текстот */
    background-color: rgba(255, 255, 255, 0.02); /* Суптилно во позадина ако има празен простор околу */
}

@media (min-width: 992px) {
    .central-ad-banner {
        height: 380px; /* Поголема и читлива висина за десктоп */
        object-fit: cover; /* Ако е дизајниран како широк банер, смени во соntain ако пак се крати */
    }
}