/* --- OSNOVNI DIZAJN --- */


.booking-bg {
    background: url('../../assets/img/border.png') center/cover no-repeat fixed;
    min-height: 100vh;
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 60px 15px;
    position: relative;
    margin-top: -70px;
    z-index: 1;
}

.booking-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    z-index: -1; 
}

.booking-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 30px;
    padding: 50px;
    width: 100%;
    max-width: 850px;
    border: 1px solid rgba(255,255,255,0.5);
    margin-left: auto;  
    margin-right: auto; 
}

.header-line {
    width: 60px;
    height: 4px;
    background: #a93332;
    margin: 15px auto;
    border-radius: 2px;
}

/* --- USLUGE (STEP 1) --- */
.step-title {
    text-align: center;
    font-weight: 700;
    color: #666;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.service-card {
    border: 2px solid #eee;
    border-radius: 18px;
    padding: 20px 25px;
    transition: 0.3s;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card:hover {
    border-color: #a93332;
    transform: translateY(-2px);
}

.service-card.active {
    border-color: #a93332;
    background: #fff9f9;
    box-shadow: 0 5px 15px rgba(169, 51, 50, 0.1);
}

.service-name { font-size: 1.1rem; display: block; }
.service-desc { color: #888; text-transform: none; line-height: 1.3; margin-top: 4px; display: block; }
.price-tag { font-weight: 800; color: #a93332; font-size: 1.1rem; }

/* --- TERMINI (STEP 2) --- */
.date-input {
    max-width: 300px;
    height: 55px;
    font-size: 1.1rem;
    border-radius: 15px !important;
    text-align: center;
    border: 2px solid #eee;
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr; /* Termini jedan ispod drugog */
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.time-card {
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
}

.time-card:hover { border-color: #a93332; color: #a93332; }
.time-card.active {
    background: #a93332 !important;
    color: #fff !important;
    border-color: #a93332;
}

/* --- CAPTCHA BOX --- */
.captcha-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eee;
    margin: 30px auto 0;
    max-width: 400px;
    text-align: center;
}

#captchaText {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 8px;
    color: #333;
    margin: 0 auto;
    margin-bottom: 15px;
    font-family: monospace;
}

#captchaInput {
    max-width: 220px;
    margin: 0 auto;
    text-align: center;
    height: 50px;
    border-radius: 10px;
}

/* --- BUTTONS & INPUTS --- */
.form-control, .form-select {
    height: 50px;
    border-radius: 12px !important;
    border: 1px solid #ddd;
}

.btn-danger-2 {
    height: 60px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    background: #a93332 !important;
    color: #fff !important;
    border: none;
    transition: 0.3s;
}

.btn-danger-2:hover:not(:disabled) {
    background: #8e2b2a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(169, 51, 50, 0.2);
}

.btn-danger-2:disabled { background: #ccc; }

/* Animacija za glatki prijelaz */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease forwards; }

/* Responzivnost */
@media (max-width: 576px) {
    .booking-card { padding: 30px 20px; }
    .service-card { flex-direction: column; text-align: center; }
    .price-tag { margin-top: 10px; }
}

.privacy-notice {
    max-width: 450px;
    margin: 0 auto;
    padding: 10px;
}

.form-check-input:checked {
    background-color: #a93332;
    border-color: #a93332;
}

.form-check-label a {
    text-decoration: underline;
    font-weight: 600;
}