/* Studio Aurora - shared stylesheet
   Soft elegant salon theme: blush pink, white, beige, dark text. */

/* ---------- Theme tokens ---------- */
:root {
    /* Stranica je uvijek svijetla; preglednik je ne smije sam potamniti. */
    color-scheme: only light;
    --primary:        #A0615A;
    --primary-hover:  #8B4F48;
    --primary-soft:   #FCE4E0;
    --beige:          #F5EFE6;
    --beige-dark:     #E8DFD0;
    --bg:             #FFFBF8;
    --card:           #FFFFFF;
    --text:           #1F2937;
    --text-muted:     #6B7280;
    --border:         #E5E7EB;
    --success:        #10B981;
    --warning:        #F59E0B;
    --danger:         #EF4444;
    --shadow-sm:      0 1px 2px rgba(31, 41, 55, 0.04);
    --shadow:         0 4px 12px rgba(31, 41, 55, 0.06);
    --shadow-lg:      0 12px 32px rgba(31, 41, 55, 0.10);
    --radius:         12px;
    --radius-lg:      18px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* ---------- Layout primitives ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

/* ---------- Top navbar (public site) ---------- */
.navbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.3px;
}
.brand span { color: var(--primary); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* ---------- Hero (landing) ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}
.hero p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto 32px;
}

.hero .container-narrow {
	position: relative;
	z-index: 3;
	text-align: center;
	max-width: 680px;
	padding: 40px 32px;
	background: rgba(255,255,255,0.82);
	border-radius: 16px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(233, 122, 141, 0.25);
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}
.btn-ghost:hover { color: var(--primary); }
.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover { background: #DC2626; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Cards ---------- */
.card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    border: 1px solid var(--border);
}
.card-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 122, 141, 0.15);
}
/* Field with a message under it (form-check.js: login, registration). */
.form-input.is-invalid { border-color: #DC2626; }
.form-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
.field-error { margin-top: 6px; font-size: 13px; color: #991B1B; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .navbar-inner { flex-wrap: wrap; gap: 8px; padding: 0; }
    .navbar { padding: 8px 12px; }
    .navbar .brand img { height: 60px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 13px; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .navbar .brand img { height: 50px; }
    .nav-links { gap: 8px; }
    .nav-links a { font-size: 12px; }
    .hero { height: 380px; }
    .hero .container-narrow { width: 92%; padding: 20px 16px; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 14px; }
    .booking-section { padding: 24px 16px; }
    .option-grid { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 480px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    .card { padding: 12px; }
    .stat-card { padding: 12px; }
    .btn { font-size: 13px; padding: 8px 14px; }
}

/* ---------- Booking flow ---------- */
.booking-section {
    padding: 48px 0;
}
.booking-step {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.step-number {
    width: 32px; height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}
.step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
}

/* Service / therapist option cards */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.option-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}
.option-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.option-card.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.option-card-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}
.option-card-meta {
    font-size: 13px;
    color: var(--text-muted);
}
.option-card-price {
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary);
}
/* Sitni sivi tekst uz cijene: sidrena cijena i PDV napomena. */
.price-footnote {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Time-slot grid */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.slot-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
}
.slot-card:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-1px);
}
.slot-time {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}
.slot-therapist {
    font-size: 12px;
    color: var(--text-muted);
}

/* Empty / loading states */
.empty-state {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
}
.empty-state-icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* ---------- Modal ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31, 41, 55, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; }
.modal {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    animation: modalIn 0.2s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
}
.modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}
.modal-summary {
    background: var(--primary-soft);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    font-size: 14px;
}
.modal-summary div { margin: 4px 0; }
.modal-summary strong { color: var(--text); }
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ---------- Alerts / toasts ---------- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: var(--primary-soft); color: var(--text); border: 1px solid var(--primary); }

/* ---------- Auth pages ---------- */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--beige) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.auth-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    max-width: 440px;
    width: 100%;
}
.auth-card .brand {
    text-align: center;
    display: block;
    margin-bottom: 8px;
    font-size: 26px;
}
.auth-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 600;
}
.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Dashboard layout (admin / therapist / client) ---------- */
.app-shell {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 240px;
    background: var(--card);
    border-right: 1px solid var(--border);
    padding: 0 0 24px 0;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar > a.brand {
    display: block;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--border);
}
.sidebar > a.brand img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    margin: 0 16px 4px 16px;
}
.sidebar-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.sidebar-link.active {
    background: var(--primary);
    color: #fff;
}
.sidebar-link.active:hover {
    background: var(--primary-hover);
    color: #fff;
}
.main-content {
    flex: 1;
    padding: 32px 40px;
    overflow-x: auto;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .app-shell { flex-direction: column; }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border);
        display: none;
    }
    .sidebar.open { display: block; }
    .main-content { padding: 24px 20px; }
}

/* ---------- Tables ---------- */
.table-wrapper {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.table th {
    text-align: left;
    padding: 14px 16px;
    background: var(--beige);
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg); }

/* Status pills */
.pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pill-pending   { background: #FEF3C7; color: #92400E; }
.pill-confirmed { background: #DBEAFE; color: #1E40AF; }
.pill-completed { background: #D1FAE5; color: #065F46; }
.pill-cancelled { background: #FEE2E2; color: #991B1B; }
.pill-no_show   { background: #F3F4F6; color: #4B5563; }

/* Stat cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.stat-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 600px) {
    .wh-row-main select,
    .wh-row-main input[type="time"] {
        font-size: 16px;
        min-width: 80px;
        padding: 6px 4px;
    }
    .wh-row-main {
        overflow-x: visible;
        flex-wrap: wrap;
    }
    .wh-iznimka-btn {
        order: 10;
        width: 100%;
        margin-top: 4px;
    }
}

/* Working-hours "Iznimka" button — desktop baseline */
.wh-iznimka-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
    padding: 5px 10px;
    line-height: 1.4;
}

/* Responsive table → card on mobile */
@media (max-width: 700px) {
    .table thead { display: none; }
    .table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 10px;
    }
    .table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
    }
    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 12px;
        text-transform: uppercase;
    }
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* Utilities */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* Password show/hide toggle */
.pwd-wrap { position: relative; display: flex; }
.pwd-toggle {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    font-size: 16px; padding: 0; line-height: 1;
}

/* Slike - hero slider */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.2);
    z-index: 2;
}
.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.hero-slider .container-narrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    max-width: 680px;
    width: 90%;
    padding: 40px 32px;
    background: rgba(255,255,255,0.82);
    border-radius: 16px;
}
.hero-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hero-slider .slide.active {
    display: flex;
    opacity: 1;
}
.slide-img-landscape {
    flex: 2;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slide-img-portrait {
    flex: 1;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 600px) {
    .hero-slider .slide {
        flex-direction: column;
    }
    .slide-img-landscape,
    .slide-img-portrait {
        width: 100%;
        flex: none;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    .slide-img-portrait:last-child,
    .slide-img-landscape:last-child {
        display: none;
    }
}

@media (max-width:600px) {
	.slot-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	.slot-card {
		padding: 10px 8px;
		min-height: auto;
	}
	.slot-time {
		font-size: 18px;
	}
	.slot-therapist {
		font-size: 12px;
	}
}

/* ---------- Working hours responsive ---------- */
@media (max-width: 600px) {
    .wh-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    .wh-day-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
    }
    .wh-times {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .wh-times select {
        flex: 1;
        min-width: 0;
    }
    .wh-block-btn {
        width: 100%;
        margin-top: 4px;
    }
    .wh-block-form {
        flex-direction: column;
        gap: 8px;
    }
    .wh-block-form input,
    .wh-block-form select {
        width: 100%;
    }
    .week-nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .week-nav button {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ---------- Loyalty checkbox in booking modal ---------- */
.loyalty-option {
    background: var(--beige);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14px;
}
.loyalty-option label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}
.loyalty-option input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    flex-shrink: 0;
}
.loyalty-option-text strong { color: var(--primary); }
.loyalty-option-hint {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
}

/* ---------- Pending-fee badge on client dashboard ---------- */
.fee-warning {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}
.fee-warning strong { font-weight: 700; }

.sidebar > a.brand img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    min-width: 100% !important;
}

.sidebar > a.brand {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ---------- Stranica s pravilima (pravila.html) ---------- */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 56px;
    font-size: 16px;
    line-height: 1.7;
}
.legal-page h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 20px;
}
.legal-page h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    margin: 36px 0 12px;
}
.legal-page p { margin-bottom: 12px; }
.legal-page ul { margin: 0 0 12px; padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { overflow-wrap: anywhere; }
.legal-meta { color: var(--text-muted); }
@media (max-width: 600px) {
    .legal-page { padding: 24px 16px 40px; font-size: 15px; }
    .legal-page h1 { font-size: 24px; }
    .legal-page h2 { font-size: 19px; margin-top: 28px; }
}

/* ---------- Prihvaćanje pravila (js/terms-consent.js) ---------- */
.terms-modal { max-width: 620px; }
.terms-intro { font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
/* Tekst pravila u okviru koji se pomiče */
.terms-box {
    max-height: 38vh;
    overflow-y: auto;
    padding: 16px 18px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.terms-box h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.terms-box h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; font-weight: 600; margin: 18px 0 6px; }
.terms-box p { margin-bottom: 8px; }
.terms-box ul { margin: 0 0 8px; padding-left: 20px; }
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    cursor: pointer;
}
.terms-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
}
/* Istaknut izlaz za klijenta koji ne želi odmah prihvatiti (stranica rezervacije) */
.terms-exit {
    margin-top: 16px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    background: var(--beige);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
}
.terms-exit a { font-weight: 600; text-decoration: underline; }
/* Stalna traka na "Moj račun" */
.terms-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
}
/* ---------- Nepodmireni iznos, prozor na stranici rezervacije (js/debt-notice.js) ---------- */
.debt-modal { max-width: 500px; }
.debt-modal .fee-warning { font-size: 15px; line-height: 1.6; }
.debt-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Jednokratni upit za newsletter (js/newsletter-prompt.js) ---------- */
.newsletter-modal { max-width: 480px; }
.newsletter-text { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
/* Dva jednako istaknuta gumba, bez unaprijed odabranog odgovora */
.newsletter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.newsletter-actions .btn { font-size: 15px; padding: 12px 16px; }

@media (max-width: 600px) {
    .newsletter-actions { grid-template-columns: 1fr; }
    .terms-modal { padding: 22px 18px; }
    .terms-box { max-height: 34vh; }
    .terms-banner .btn { width: 100%; }
}

