/* Atlas Dubrovnik Transfers - Custom CSS */


/* === blockTopRoutes.php === */
.top-routes-block {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
    padding: 24px 0 16px;
    border-top: 3px solid #c9a96e;
}
.top-routes-title {
    font-family: 'Playfair Display', serif;
    color: #1a3a5c;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.top-route-col { margin-bottom: 12px; }
.top-route-card {
    display: block;
    background: #fff;
    border: 1px solid #dde3ea;
    border-left: 3px solid #c9a96e;
    border-radius: 4px;
    padding: 10px 14px;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease;
    position: relative;
    min-height: 70px;
}
.top-route-card:hover {
    border-left-color: #1a3a5c;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    background: #fafcff;
    text-decoration: none !important;
}
.top-route-popular {
    border-left-color: #e53935;
}
.top-route-badge {
    position: absolute;
    top: -1px;
    right: 8px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 0 0 4px 4px;
    letter-spacing: 0.3px;
}
.top-route-from {
    font-size: 14px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 4px;
    line-height: 1.3;
}
.top-route-arrow {
    color: #c9a96e;
    font-size: 13px;
    margin-bottom: 4px;
}
.top-route-to {
    font-size: 13px;
    font-weight: 600;
    color: #2c6e49;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .top-route-col { width: 50%; }
}
@media (max-width: 480px) {
    .top-route-col { width: 100%; }
}

/* === bookingStep1.php === */
#step1 {
    position: relative;
    background: #1a3a5c url('/admin/i/dubrovnik.webp') center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 420px;
    padding: 40px 0 30px;
}
#step1::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 25, 50, 0.65);
    z-index: 0;
}
#step1 .container {
    position: relative;
    z-index: 1;
}
#step1 .booking-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 24px 20px 16px;
    backdrop-filter: blur(4px);
}
#step1 .form-label {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}
#step1 input[type=text] {
    background: rgba(255,255,255,0.95) !important;
    color: #222 !important;
    border: none;
    border-radius: 4px;
    height: 44px;
    font-size: 15px;
    padding: 0 12px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
#step1 input[type=text]:focus {
    outline: none;
    box-shadow: 0 0 0 2px #c9a96e, 0 2px 8px rgba(0,0,0,0.2);
}
#step1 input[type=text].fldError {
    box-shadow: 0 0 0 2px #e53935 !important;
}
#step1 .form-control-atlas {
    background: rgba(255,255,255,0.95) !important;
    color: #222 !important;
    border: none;
    border-radius: 4px;
    height: 44px;
    font-size: 15px;
    padding: 0 10px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    -webkit-appearance: menulist;
}
#step1 .form-control-atlas:focus {
    outline: none;
    box-shadow: 0 0 0 2px #c9a96e, 0 2px 8px rgba(0,0,0,0.2);
}
#step1 .list-group {
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
#step1 .form-icon {
    color: #c9a96e;
    margin-right: 6px;
}
#step1 .small-hint {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    margin-top: 3px;
    display: block;
}
#step1 .btn-atlas-outline {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    border-radius: 4px;
    transition: all 0.2s;
}
#step1 .btn-atlas-outline:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
#step1 .btn-atlas-red {
    background: #c0392b;
    border: none;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(192,57,43,0.5);
}
#step1 .btn-atlas-red:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 6px 16px rgba(192,57,43,0.6);
}
#step1 .return-section {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 16px;
    margin-top: 10px;
}
@media (max-width: 768px) {
    #step1 { background-attachment: scroll; padding: 24px 0 20px; }
    #step1 .booking-card { padding: 16px 12px; }
    #step1 .col-md-4, #step1 .col-md-2 { margin-bottom: 12px; }
}

/* === carPanel.php === */
.car-panel-col { margin-bottom: 16px; }
.car-panel {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 12px 14px;
    position: relative;
    font-size: 13px;
}
.cp-badge {
    position: absolute;
    top: -1px; right: 12px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 0 0 6px 6px;
    font-weight: 600;
}
.cp-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
    padding-right: 80px;
}
.cp-row-main {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}
.cp-image-col { flex: 0 0 110px; }
.cp-img { width: 110px; height: 75px; object-fit: contain; display: block; }
.cp-details-col { flex: 1; }
.cp-detail {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 4px;
    color: #444;
    line-height: 1.3;
}
.cp-detail i { color: #27ae60; font-size: 15px; margin-top: 1px; flex-shrink: 0; }
.cp-row-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 6px;
    margin-bottom: 6px;
}
.cp-price-col { flex: 1; }
.cp-price-old { text-decoration: line-through; color: #bbb; font-size: 12px; }
.cp-price-special-label { font-size: 10px; color: #e53935; text-transform: uppercase; }
.cp-price-amount { font-size: 26px; font-weight: 700; color: #27ae60; line-height: 1; }
.cp-price-sub { font-size: 11px; color: #999; margin-top: 2px; }
.cp-vehicles-col { flex: 0 0 70px; text-align: center; }
.cp-vehicles-label { font-size: 11px; color: #777; margin-bottom: 3px; }
.cp-vehicles-select { width: 60px !important; text-align: center; font-size: 15px; padding: 3px; }

/* Jedan red 1:1:2 */
.cp-btn-row {
    display: flex;
    gap: 4px;
    align-items: stretch;
}
.cp-btn-1 {
    flex: 1;
    font-size: 11px;
    padding: 5px 4px;
    color: #555 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cp-btn-2 {
    flex: 2;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 3px;
}

.cp-more { margin-top: 8px; padding: 8px; background: #f9f9f9; border-radius: 4px; font-size: 12px; color: #555; }
.cp-email { margin-top: 8px; padding: 8px; background: #f1f8e9; border-radius: 4px; }

@media (max-width: 768px) {
    .car-panel-col { width: 100% !important; }
    .cp-img { width: 90px; height: 60px; }
    .cp-price-amount { font-size: 22px; }
    .cp-btn-1 { font-size: 10px; }
}
/* === Input polja u booking stepovima (step4, step5) === */
#step4 input[type=text],
#step4 input[type=email],
#step4 input[type=tel],
#step4 select,
#step4 textarea,
#step5 input[type=text],
#step5 input[type=email],
#step5 input[type=tel],
#step5 select,
#step5 textarea {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    padding: 8px 10px !important;
    color: #333 !important;
}
#step4 input[type=text]:focus,
#step4 input[type=email]:focus,
#step4 input[type=tel]:focus,
#step4 select:focus,
#step5 input[type=text]:focus,
#step5 input[type=email]:focus,
#step5 input[type=tel]:focus,
#step5 select:focus {
    border-color: #c9a96e !important;
    box-shadow: none !important;
    outline: none !important;
}


/* === index.php === */
/* === TYPOGRAPHY === */
        body {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            color: #333;
        }
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 400;
        }

        /* === GLOBAL INPUTS === */
        input[type=text],
        input[type=email],
        input[type=tel],
        input[type=password],
        select,
        textarea {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            border: none;
            border-bottom: 2px solid #ddd;
            border-radius: 0;
            background: transparent;
            padding: 8px 4px;
            width: 100%;
            transition: border-color 0.2s ease;
            box-shadow: none !important;
            outline: none;
        }
        input[type=text]:focus,
        input[type=email]:focus,
        input[type=tel]:focus,
        select:focus,
        textarea:focus {
            border-bottom-color: #c9a96e;
            background: transparent;
        }
        .form-control {
            font-family: 'Inter', sans-serif;
            border: none;
            border-bottom: 2px solid #ddd;
            border-radius: 0;
            box-shadow: none;
            padding: 8px 4px;
        }
        .form-control:focus {
            border-bottom-color: #c9a96e;
            box-shadow: none;
        }
        .input-lg {
            height: 42px;
            font-size: 15px;
        }

        /* === BUTTONS === */
        .btn {
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            letter-spacing: 0.5px;
            border-radius: 3px;
        }

        /* === NAVBAR === */
        .navbar-brand {
            font-family: 'Playfair Display', serif;
            font-size: 20px;
            letter-spacing: 1px;
        }

        /* === MISC === */
        .homeHeading {
            background: #1a3a5c url('/admin/i/dubrovnik.webp') center center;
            background-size: cover;
        }
        .mainTitle   { font-size: 1.7em !important; }
        .scrollToTop { margin-bottom: 40px; }

        /* jQuery UI datepicker font */
        .ui-widget { font-family: 'Inter', sans-serif !important; font-size: 13px; }

        @media (max-width: 768px) {
            .homeHeading { background: #1a3a5c; }
            .mainTitle   { font-size: 1.2em !important; }
        }

/* === blockTopRoutesMap.php === */
.top-routes-map-block {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
    border-top: 3px solid #c9a96e;
    padding-bottom: 20px;
}
#topRoutesMap {
    height: 440px;
    width: 100%;
    background: #e8edf2;
}
.top-routes-list {
    padding: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.top-routes-title {
    font-family: 'Playfair Display', serif;
    color: #1a3a5c;
    font-size: 20px;
    font-weight: 400;
    margin: 20px 0 16px;
    letter-spacing: 0.5px;
    width: 100%;
}
.top-route-item {
    display: block;
    background: #fff;
    border: 1px solid #dde3ea;
    border-left: 3px solid #c9a96e;
    border-radius: 3px;
    padding: 10px 14px;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
    flex: 0 0 calc(25% - 10px);
    min-width: 180px;
}
.top-route-item:hover,
.top-route-item.active {
    border-left-color: #1a3a5c;
    background: #f0f4f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.top-route-item.popular { border-left-color: #e53935; }
.tr-badge {
    position: absolute;
    top: -1px; right: 8px;
    background: #e53935;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 0 0 3px 3px;
}
.tr-from {
    font-size: 14px;
    font-weight: 700;
    color: #1a3a5c;
}
.tr-arrow {
    font-size: 12px;
    color: #c9a96e;
    margin: 2px 0;
}
.tr-to {
    font-size: 14px;
    font-weight: 600;
    color: #2c6e49;
}
@media (max-width: 992px) {
    .top-route-item { flex: 0 0 calc(33% - 10px); }
}
@media (max-width: 768px) {
    #topRoutesMap { height: 280px; }
    .top-route-item { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 480px) {
    .top-route-item { flex: 0 0 100%; }
}
/* === bookingStep4.php + bookingStep5.php === */
.step-card {
    background: #fff;
    border-radius: 4px;
    margin: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
}
.step-card-header {
    background: #1a3a5c;
    color: #fff;
    padding: 14px 20px;
    font-size: 17px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.step-card-header i { margin-right: 8px; color: #c9a96e; }
.step-card-body { padding: 20px; }

.step-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}
.step-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}
.step-badge.blue { background: #1a3a5c; }
.step-badge.red  { background: #e53935; }
.step-route { font-size: 13px; color: #555; font-weight: 500; }
.step-datetime {
    font-size: 13px;
    color: #1a3a5c;
    font-weight: 600;
    margin-bottom: 6px;
}
.step-datetime i { color: #c9a96e; margin-right: 3px; }
.step-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 14px;
    line-height: 1.5;
}

/* Step 5 */
.step-coupon-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.step-coupon-row .form-control { flex: 1; }
.step-btn-coupon {
    background: #c9a96e;
    white-space: nowrap;
    padding: 8px 16px;
}
.step-price-bar {
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 3px;
    padding: 8px 14px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 4px;
}
.step-section-label {
    font-size: 15px;
    color: #1a3a5c;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 6px;
    margin-bottom: 14px;
}
.step-btn-continue {
    background: #e53935;
    font-size: 15px;
    font-weight: 600;
    padding: 12px;
    letter-spacing: 0.5px;
}
.step-btn-continue:hover { background: #c0392b; color: #fff; }

/* Input fix za step4 i step5 */
.step-card input[type=text],
.step-card input[type=email],
.step-card input[type=tel],
.step-card select,
.step-card textarea {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    border-bottom: 2px solid #c9a96e !important;
    padding: 8px 10px !important;
    color: #333 !important;
}
.step-card input:focus,
.step-card select:focus,
.step-card textarea:focus {
    border-color: #1a3a5c !important;
    outline: none !important;
    box-shadow: none !important;
}
