/* landing-bundle.css - fonts + style + buttons + landing */

/* === fonts-landing.css === */
/**
 * Variable fontovi za landing - samo latin + latin-ext
 * Plus Jakarta Sans (body 400/500, naslovi 700/800)
 */
/* Plus Jakarta Sans Variable - latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Plus Jakarta Sans Variable - latin-ext (č, ć, š, ž, đ...) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* === style.css === */
/* Moj organizator - Main Stylesheet */
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

/* Animated background pattern */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.login-box {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: slideIn 0.5s ease-out;
}
@media (min-width: 768px) {
    .login-box {
        max-width: 520px;
    }
}
@media (min-width: 1200px) {
    .login-box {
        max-width: 560px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box h1 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-box .subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.form-group input:hover {
    border-color: #2563eb;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #1d4ed8;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.error-message {
    color: #dc2626;
    background: #fef2f2;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    animation: shake 0.5s ease-in-out;
}

.error-message::before {
    content: '';
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    margin-right: 0.5rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes navbar-overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes navbar-item-in {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.success-message {
    color: #059669;
    background: #d1fae5;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #a7f3d0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.success-message::before {
    content: '✓';
    font-size: 1.2rem;
    flex-shrink: 0;
    background: #10b981;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    right: 1.5rem;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    max-width: min(420px, calc(100vw - 2rem));
}

.toast {
    background: #0f172a;
    color: #f8fafc;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    border-left: 4px solid #38bdf8;
    animation: toastSlideIn 0.25s ease-out;
}

.toast-message {
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    padding: 0 0.25rem;
}

.toast-close:hover {
    opacity: 1;
}

.toast-success {
    border-left-color: #22c55e;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-warning {
    border-left-color: #38bdf8;
}

.toast-info {
    border-left-color: #38bdf8;
}

.toast-hide {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dialog / Modal (zamenjuje alert) */
.dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dialog-overlay.dialog-visible {
    opacity: 1;
}

.dialog-overlay.dialog-hide {
    opacity: 0;
}

.dialog-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    max-width: 420px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.dialog-visible .dialog-box {
    transform: scale(1);
}

.dialog-hide .dialog-box {
    transform: scale(0.95);
}

.dialog-title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.dialog-message {
    margin: 0 0 1.5rem;
    white-space: pre-wrap;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    white-space: pre-wrap;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.dialog-ok {
    min-width: 100px;
}

.dialog-actions-confirm .dialog-cancel,
.dialog-actions-confirm .dialog-confirm {
    min-width: 100px;
}

.dialog-error .dialog-title {
    color: #dc2626;
}

.dialog-warning .dialog-title {
    color: #d97706;
}

.dialog-success .dialog-title {
    color: #059669;
}

/* Highlight added list rows */
.soft-list-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.soft-list-item:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden {
    display: none;
}

/* Container for dashboard pages */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem;
}

/* Nakon logovanja - širi layout za maksimalno iskorišćenje ekrana */
body:has(.navbar) .container {
    max-width: 94vw;
    width: 100%;
    padding: 1rem 1.25rem;
    box-sizing: border-box;
}

body:has(.navbar) .navbar-container {
    max-width: 94vw;
}

body:has(.navbar) .user-hall-header-content {
    max-width: 94vw;
}

/* Ensure canvas container has full width for user role */
.role-user .page-content,
.role-user .dashboard-content,
.role-user .canvas-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Dashboard styles */
.page-content,
.dashboard-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 0.75rem;
}

.page-content h2,
.dashboard-content h2 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.page-content p,
.dashboard-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* Card actions wrap - dugmad 100% širine */
.card-actions-wrap .card-actions,
.owner-dashboard-cards .owner-dashboard-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 0.5rem;
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: #64748b;
}
.breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.breadcrumbs-item:not(.breadcrumbs-item-current)::after {
    content: '›';
    margin-left: 0.35rem;
    color: #94a3b8;
    font-weight: 600;
}
.breadcrumbs-item-current::after {
    display: none;
}
.breadcrumbs-link {
    color: #64748b;
    text-decoration: none;
}
.breadcrumbs-link:hover {
    color: #1e40af;
}
.breadcrumbs-current {
    color: #1e40af;
    font-weight: 600;
}

.page-back-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.page-back-link:hover {
    color: #1e40af;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 0.5rem;
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: #64748b;
    gap: 0.25rem;
}
.breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.breadcrumbs-link {
    color: #64748b;
    text-decoration: none;
}
.breadcrumbs-link:hover {
    color: #1e40af;
}
.breadcrumbs-current {
    color: #1e40af;
    font-weight: 600;
}
.breadcrumbs-sep {
    color: #94a3b8;
    user-select: none;
}

.page-header,
.dashboard-header {
    margin-bottom: 0.875rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* page-header sa naslovom + akcije u jednom redu (users, halls, employees) */
.page-header.page-header-flex,
.dashboard-header.dashboard-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Red: podnaslov + dugmad (documents, owners) */
.page-header-flex,
.dashboard-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.page-header-actions,
.dashboard-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.page-header .page-header-actions,
.dashboard-header .dashboard-header-actions {
    margin-top: 1rem;
}

.page-header-content,
.dashboard-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-header h1,
.dashboard-header h1 {
    color: #1e40af;
    margin-bottom: 0.2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.page-subtitle,
.dashboard-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.35rem 0 0 0;
}

.page-header .btn.btn-auto,
.page-header-flex .btn.btn-auto,
.page-header-actions .btn.btn-auto,
.dashboard-header .btn.btn-auto,
.dashboard-header-flex .btn.btn-auto,
.dashboard-header-actions .btn.btn-auto {
    white-space: nowrap;
}


.page-subtitle strong,
.dashboard-subtitle strong {
    color: #1e40af;
    font-weight: 600;
}

.page-header-instructions,
.dashboard-header-instructions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.instruction-card {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
}

.instruction-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.instruction-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
}

.instruction-text strong {
    color: #1e40af;
    font-weight: 600;
}

@media (max-width: 828px) {
    .page-header,
    .dashboard-header {
        padding: 0.625rem 0.875rem;
    }
    
    .page-header-instructions,
    .dashboard-header-instructions {
        flex-direction: column;
    }
    
    .instruction-card {
        min-width: 100%;
    }
}

/* Form Styles */
.form-container,
.owner-form {
    width: 100%;
}

#ownerStatus.status-inactive {
    border-color: #dc2626;
    background-color: #fef2f2;
}

#ownerStatus.status-inactive:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

#userStatus.user-status-inactive {
    border-color: #dc2626;
    background-color: #fef2f2;
}

#userStatus.user-status-inactive:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

/* Jedinstvene klase za form kontrole - savršeni inputi */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    min-height: 44px;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    font-family: inherit;
    color: #0f172a;
    box-sizing: border-box;
}

.form-input:disabled {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.form-input[readonly] {
    background: #f8fafc;
    color: #64748b;
    cursor: text;
    border-color: #e2e8f0;
}

.date-input[readonly] {
    cursor: pointer;
}

.form-input.is-invalid,
.form-input[aria-invalid="true"] {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-input.is-invalid:focus,
.form-input[aria-invalid="true"]:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

/* form-select - native dropdown (koristiti uz form-input) */
.form-select {
    min-height: 44px;
    cursor: pointer;
    appearance: auto;
}

/* form-autocomplete - searchable dropdown (data-autocomplete), JS generiše .custom-select */
.form-autocomplete {
    /* Stilovi u filter-inputs.css */
}

.form-input:hover {
    border-color: #2563eb;
}

select.form-input,
.form-group select,
select {
    text-align: left;
}
select option {
    text-align: left;
}

.form-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-input::placeholder {
    color: #94a3b8;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
    padding: 0.75rem 1rem;
}

/* Način plaćanja - radio opcije (single-event, onetime request) */
.payment-method-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.payment-option:has(input:checked) {
    border-color: #3b82f6;
    background: #eff6ff;
}

.payment-option input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: #3b82f6;
    flex-shrink: 0;
    outline: none;
    box-shadow: none;
}
.payment-option input[type="radio"]:focus {
    outline: none;
    box-shadow: none;
}

.payment-option span {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.4;
}

.payment-method-hint {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.payment-option-recommended {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
}

.payment-option-recommended:hover {
    border-color: #2563eb !important;
    background: #dbeafe !important;
}

/* Kompaktni input za tabele (inline edit) */
.form-input-inline {
    width: 100%;
    padding: 0.5rem 0.75rem;
    min-height: 36px;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    background: #fff;
    font-family: inherit;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-inline:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-input-inline::placeholder {
    color: #94a3b8;
}

/* Date input component */
.date-input {
    min-height: 44px;
    padding-right: 2.25rem;
    background-color: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #0f172a;
}

.date-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.date-input::-webkit-calendar-picker-indicator {
    opacity: 0.7;
    cursor: pointer;
    padding-left: 0.35rem;
}

.date-input:disabled {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.form-hint {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Password validation rules list */
.password-rules {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
}

.password-rules li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.password-rules li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

.password-rules li.valid {
    color: #16a34a;
}

.password-rules li.valid::before {
    content: '✓';
    color: #16a34a;
}

.password-rules li.invalid {
    color: #dc2626;
    font-weight: 500;
}

/* Password input with show/hide toggle */
.password-input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.password-input-wrapper .form-input,
.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    padding-right: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.35rem;
    cursor: pointer;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: #1e293b;
}

.password-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.loading {
    color: #6b7280;
    font-size: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 1.25rem;
}

.empty-state p {
    margin: 0;
    color: #999;
    font-size: 0.95rem;
}

/* Owner Meni page - refined layout */
.owner-menus-page .page-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e40af;
}
.owner-menus-page .page-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}
.owner-menus-page .filter-sort-section {
    margin-bottom: 1.25rem;
}
.owner-menus-page .empty-state {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.owner-menus-page .empty-state h3 {
    color: #334155;
    font-size: 1.25rem;
    font-weight: 600;
}
.owner-menus-page .empty-state p {
    color: #64748b;
}

/* Navigation Bar - ispod svih dijaloga (overlay 1050, modali 1051+) */
.navbar {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.35), 0 1px 3px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.menu-open {
    overflow: visible;
}

.navbar-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}

.navbar-header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 110;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                background 0.25s ease;
}
@media (min-width: 993px) {
    .navbar-toggle {
        display: none !important;
    }
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.3s ease,
                background 0.2s ease;
}

.navbar-toggle span:nth-child(1) {
    transform-origin: left center;
}

.navbar-toggle span:nth-child(3) {
    transform-origin: left center;
}

.navbar-toggle:hover span {
    background: rgba(255, 255, 255, 0.9);
}

.navbar-logo {
    color: white;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.navbar-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.navbar-logo-img {
    width: 28px;
    height: 28px;
    min-width: 24px;
    min-height: 24px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.navbar-logo:hover {
    opacity: 0.8;
}

.navbar-menu,
.navbar-user-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Razmak između stavki */
.navbar-menu > * + * {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
}
/* Separator samo između linkova (ne između dugmadi - dropdown toggle, Odjavi se) */
.navbar-menu > a.navbar-link + a.navbar-link {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-link-icon {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
    margin-right: 0.35rem;
}

.navbar-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.navbar-link.active {
    background: rgba(255, 255, 255, 0.22);
    color: white;
    font-weight: 600;
}

/* Navbar dropdown (owner menu groups) */
.navbar-dropdown {
    position: relative;
}
.navbar-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.navbar-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}
.navbar-dropdown.active > .navbar-dropdown-toggle {
    background: rgba(255, 255, 255, 0.22);
    font-weight: 600;
}
.navbar-dropdown-arrow {
    font-size: 0.6em;
    opacity: 0.8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-dropdown.open .navbar-dropdown-arrow {
    transform: rotate(180deg);
}
.navbar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 0.4rem 0;
    margin-top: 0.35rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.25s;
    z-index: 110;
}
.navbar-dropdown:hover .navbar-dropdown-menu,
.navbar-dropdown.open .navbar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
}
.navbar-dropdown-link {
    display: block;
    padding: 0.55rem 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.18s ease;
    margin: 0 0.25rem;
    border-radius: 6px;
}
.navbar-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.18);
}
.navbar-dropdown-link.active {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}
.navbar-dropdown-divider {
    padding: 0.5rem 1.1rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 0.25rem;
}
.navbar-dropdown-divider:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.navbar-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.25rem;
}

/* When there's no menu (user role), push logout to the right */
.navbar-menu-wrapper.user-navbar {
    justify-content: flex-end;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    margin-left: auto;
}

.navbar-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.navbar-user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
}

.navbar-user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Navbar - show mobile menu on tablets and smaller */
@media (max-width: 1052px) {
    /* Zaključaj scroll kad je meni otvoren */
    body:has(.navbar.menu-open) {
        overflow: hidden;
        touch-action: none;
    }
    /* Z-index: overlay < menu < header (X dugme uvek klikabilno) */
    .navbar.menu-open {
        z-index: 1002;
    }
    .navbar.menu-open .navbar-header {
        position: relative;
        z-index: 1003;
    }

    .navbar-container {
        position: relative;
        flex-wrap: wrap;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .navbar-header {
        width: 100%;
        flex: 1 1 100%;
        justify-content: space-between;
    }
    
    .navbar-toggle {
        display: flex;
        flex-shrink: 0;
        border-radius: 12px;
    }
    .navbar-toggle:active {
        transform: scale(0.94);
    }
    /* Rotacija celog ikona kad se otvori - X postaje + (90°) */
    .navbar-toggle.active {
        background: rgba(255, 255, 255, 0.12);
        transform: rotate(90deg);
    }
    .navbar-toggle.active:active {
        transform: rotate(90deg) scale(0.94);
    }
    
    /* Hamburger → X: elastic morph (cubic-bezier za blagi overshoot) */
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Full-screen overlay sa blur efektom */
    .navbar.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1000;
        opacity: 0;
        animation: navbar-overlay-in 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        pointer-events: auto;
    }
    
    .navbar-menu-wrapper {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        min-width: 100%;
        margin-left: 0;
        background: linear-gradient(180deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
        flex-direction: column;
        padding: calc(60px + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
        padding-top: calc(70px + env(safe-area-inset-top));
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
        gap: 0.5rem;
        box-sizing: border-box;
        z-index: 1002;
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                    visibility 0s linear 0.4s;
    }
    
    .navbar-menu-wrapper.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                    visibility 0s linear 0s;
    }
    
    .navbar-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.25rem;
        justify-content: flex-start;
        flex: 0 0 auto;
    }
    /* Staggered slide-in animacija za stavke menija */
    .navbar-menu-wrapper.active .navbar-menu > * {
        animation: navbar-item-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        opacity: 0;
    }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(1) { animation-delay: 0.05s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(2) { animation-delay: 0.1s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(3) { animation-delay: 0.15s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(4) { animation-delay: 0.2s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(5) { animation-delay: 0.25s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(6) { animation-delay: 0.3s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(7) { animation-delay: 0.35s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(8) { animation-delay: 0.4s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(9) { animation-delay: 0.45s; }
    .navbar-menu-wrapper.active .navbar-menu > *:nth-child(10) { animation-delay: 0.5s; }
    .navbar-menu-wrapper.active .navbar-user,
    .navbar-menu-wrapper.active .navbar-user-links > * {
        animation: navbar-item-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s forwards;
        opacity: 0;
    }
    /* Mobile: razmak između stavki */
    .navbar-menu > * + * {
        margin-left: 0;
        margin-top: 0.25rem;
        padding-left: 0;
        padding-top: 0.5rem;
    }
    /* Mobile: separator samo između linkova (ne između dugmadi) */
    .navbar-menu > a.navbar-link + a.navbar-link {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .navbar-link {
        width: 100%;
        padding: 0.85rem 1.15rem;
        text-align: left;
        border-radius: 12px;
        font-size: 1rem;
        transition: background 0.2s ease, transform 0.15s ease;
    }
    .navbar-link:active {
        transform: scale(0.98);
    }
    
    .navbar-link:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    /* Mobile: dropdown as accordion */
    .navbar-dropdown {
        width: 100%;
    }
    .navbar-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem 1.15rem;
        text-align: left;
        border-radius: 12px;
        transition: background 0.2s ease, transform 0.15s ease;
    }
    .navbar-dropdown-toggle:active {
        transform: scale(0.98);
    }
    .navbar-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        margin: 0.25rem 0 0 0.5rem;
        padding: 0.25rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .navbar-dropdown.open .navbar-dropdown-menu {
        max-height: 300px;
    }
    .navbar-dropdown-link {
        padding: 0.7rem 1.15rem;
        border-radius: 10px;
        margin: 0 0.35rem;
        transition: background 0.2s ease, transform 0.15s ease;
    }
    .navbar-dropdown-link:active {
        transform: scale(0.98);
    }
    
    .navbar-user {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 1.25rem 0 0;
        margin-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    .navbar-user .btn {
        transition: transform 0.15s ease;
    }
    .navbar-user .btn:active {
        transform: scale(0.98);
    }
    
    .navbar-user-info {
        align-items: flex-start;
        width: 100%;
    }
    
}

/* Responsive */
@media (max-width: 828px) {
    .login-box {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .login-box h1 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .page-content,
    .dashboard-content {
        padding: 1rem;
    }
    
    /* Navbar - tighter padding */
    .navbar-container {
        padding: 0.75rem 1rem;
    }
    
    .navbar-menu-wrapper {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
}

@media (max-width: 540px) {
    .navbar-logo {
        font-size: 1.15rem;
    }
    
    .navbar-logo-wrap { padding: 3px; }
    .navbar-logo-img {
        width: 30px;
        height: 30px;
    }
    
    .navbar-container {
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-link {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .navbar-menu-wrapper {
        padding: 0.75rem;
    }
}

@media (max-width: 420px) {
    .navbar-logo {
        font-size: 1rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .navbar-logo-wrap { padding: 2px; }
    .navbar-logo-img {
        width: 28px;
        height: 28px;
    }
    
    .navbar-container {
        padding: 0.5rem 0.5rem;
    }
    
    .navbar-user-name {
        font-size: 0.875rem;
    }
    
    .navbar-user-role {
        font-size: 0.75rem;
    }
    
}

/* ========================================
   TABLES - Data table styles
   ======================================== */

/* Table container for responsive scrolling */
.table-container {
    overflow-x: auto;
    margin: 1.5em 0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    padding: 0;
}

/* Data Table - Unified table style for all tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin: 1em 0;
    table-layout: auto;
    display: table;
}

.data-table thead {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    display: table-header-group;
}

.data-table thead th {
    padding: 1.2em 1.25em;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    white-space: nowrap;
    color: white;
    background: transparent;
    position: relative;
}

.data-table thead th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.data-table thead th.sortable a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 1.2em 1.25em;
    padding-right: 2em;
    position: relative;
    transition: background-color 0.2s ease;
}

.data-table thead th.sortable:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.data-table thead th.sortable:hover a {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Active sorted column */
.data-table thead th.sortable.sorted {
    background-color: rgba(255, 255, 255, 0.15);
}

.data-table thead th.sortable.sorted a {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 700;
}

.data-table thead th.sortable.sorted:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.data-table thead th.sortable.sorted:hover a {
    background-color: rgba(255, 255, 255, 0.2);
}

.data-table thead th.sortable a::after {
    content: ' ↕';
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.data-table thead th.sortable:hover a::after {
    opacity: 1;
}

.data-table thead th:first-child {
    border-top-left-radius: 8px;
}

.data-table thead th:last-child {
    border-top-right-radius: 8px;
}

.data-table tbody {
    display: table-row-group;
    background: white;
}

.data-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
    background: white;
    display: table-row;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.data-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.data-table tbody tr:nth-child(even):hover {
    background-color: #f1f3f5;
}

.data-table tbody td {
    padding: 1.2em 1.25em;
    color: #333;
    border: none;
    vertical-align: middle;
    font-size: 0.95em;
    display: table-cell;
    background: transparent;
}

.data-table tbody td:first-child {
    font-weight: 600;
    color: #666;
}

.data-table tbody td strong {
    color: #1e40af;
    font-weight: 600;
    font-size: 1em;
}

.data-table .table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.data-table .link-cell a {
    color: #1d4ed8;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.data-table .link-cell a:hover {
    color: #1e40af;
}

/* TreeTable - expandable rows with child templates */
.data-table.treetable .treetable-col-expand {
    padding: 0.5rem;
    text-align: center;
}

.data-table.treetable .treetable-cell-expand {
    padding: 0.5rem;
    text-align: center;
    vertical-align: middle;
}

.data-table.treetable .treetable-row-child {
    background: #f8fafc;
}

.data-table.treetable .treetable-row-child:hover {
    background: #f1f5f9;
}

.data-table.treetable .treetable-cell-indent {
    padding-left: 2rem;
}

.data-table.treetable .treetable-cell-indent a {
    font-weight: 500;
    color: #64748b;
}

.data-table.treetable .treetable-cell-indent a:hover {
    color: #1e40af;
}

.treetable-default-badge {
    font-size: 0.7rem;
    font-weight: 500;
    color: #059669;
    background: #d1fae5;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.treetable-no-templates {
    color: #94a3b8;
    font-size: 0.9rem;
}

.treetable-template-count {
    white-space: nowrap;
}

.text-muted {
    color: #64748b;
}

/* Badge variants (status labels) */
.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}
.badge-secondary { background: #e2e8f0; color: #475569; }
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-danger { background: #fee2e2; color: #b91c1c; }

/* Responsive table styles */
@media (max-width: 828px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table,
    .table-container .job-table {
        min-width: 600px;
    }
    
    .data-table thead th {
        padding: 0.75em 1em;
        font-size: 0.9em;
    }
    .data-table thead th.sortable a {
        padding: 0.75em 1em;
        padding-right: 1.5em;
    }
    .data-table tbody td {
        padding: 0.75em 1em;
        font-size: 0.9em;
    }
    
    .data-table .btn-action {
        padding: 0.4em 0.8em;
        font-size: 0.85em;
    }
}

/* ========================================
   KPI / Stat kartice - globalne (dashboard, referral, itd.)
   ======================================== */

.kpi-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.kpi-card {
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    min-width: 140px;
}

.kpi-card.kpi-card-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    min-width: 180px;
}

.kpi-card .kpi-label {
    color: #64748b;
    font-size: 0.875rem;
}

.kpi-card.kpi-card-success .kpi-label {
    color: #047857;
}

.kpi-card .kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.kpi-card.kpi-card-success .kpi-value {
    color: #047857;
}

.form-panel {
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-panel .form-group { margin-bottom: 1rem; }
.form-panel .form-group:last-of-type { margin-bottom: 0; }

.form-panel .btn { margin-top: 1rem; }

.form-msg {
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.form-msg:empty { display: none; }
.form-msg.form-msg-success { color: #047857; }
.form-msg.form-msg-error { color: #dc2626; }

.page-content-max {
    max-width: 500px;
}

.page-content-max-700 {
    max-width: 700px;
}

.form-hint {
    margin: 0.5rem 0 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

.details-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.details-item summary {
    cursor: pointer;
    font-weight: 600;
}

.details-item p {
    margin: 0.75rem 0 0 0;
}

.table-year-row td {
    background: #e2e8f0;
    font-weight: 700;
    padding: 0.75rem;
}

.section-title {
    font-size: 1.125rem;
    margin: 2rem 0 1rem 0;
}

.admin-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    margin: 2rem 0 0.75rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-section-title:first-of-type {
    margin-top: 0;
}

.filter-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-inline label {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.filter-inline select {
    min-width: 120px;
}

.copy-input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.copy-input-row .form-input {
    flex: 1;
    min-width: 200px;
}

.copy-input-row .form-input[readonly] {
    background: #f8fafc;
    cursor: text;
}

.referral-url-block {
    margin-bottom: 1.5rem;
}

.referral-url-block .form-hint {
    margin-top: 0.5rem;
}

.referral-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.referral-share-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-right: 0.25rem;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-share:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-share .share-icon {
    width: 18px;
    height: 18px;
}

.btn-share-fb {
    background: #1877f2;
    color: #fff;
}

.btn-share-wa {
    background: #25d366;
    color: #fff;
}

.btn-share-tg {
    background: #0088cc;
    color: #fff;
}

@media (max-width: 540px) {
    .kpi-grid { flex-direction: column; }
    .kpi-card,
    .kpi-card.kpi-card-success { min-width: 0; width: 100%; }
}

/* ========================================
   PAGINATION - Pagination styles
   ======================================== */

.pagination-container {
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.pagination-info {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
    text-align: center;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    background: white;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.pagination-btn:hover:not(:disabled) {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(7, 70, 130, 0.3);
}

.pagination-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(7, 70, 130, 0.2);
}

.pagination-btn:disabled,
.pagination-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #9ca3af;
}

.pagination-page-ellipsis {
    padding: 0 0.25rem;
    color: #9ca3af;
    font-weight: 600;
}

.pagination-pages {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-page-btn:hover {
    background: #f8f9fa;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.pagination-page-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(7, 70, 130, 0.3);
}

.pagination-page-btn.active:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* Responsive pagination */
@media (max-width: 828px) {
    .pagination-controls {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .pagination-page-btn {
        min-width: 32px;
        height: 32px;
        padding: 0.4rem;
        font-size: 0.8rem;
    }
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 4px 0;
    min-width: 180px;
    z-index: 10001; /* Higher than modal (1000) and overlay (998) */
    font-size: 14px;
    user-select: none;
    pointer-events: auto; /* Ensure context menu can receive clicks */
}

.context-menu-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
    color: #333;
}

.context-menu-item:hover {
    background-color: #f0f0f0;
}

.context-menu-item-danger {
    color: #dc3545;
}

.context-menu-item-danger:hover {
    background-color: #fee;
    color: #c82333;
}

.context-menu-item span {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.context-menu-item-label {
    cursor: default;
}

/* Modal & Overlay - iznad navbar-a (100), siva pozadina */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1050;
    display: none;
}

#gridModal {
    z-index: 1051; /* iznad overlay-a (1050) */
}

#editModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 1051;
    width: 650px;
    max-width: calc(100vw - 40px);
    max-height: 90vh;
    overflow: hidden;
    box-sizing: border-box;
    animation: modalSlideIn 0.3s ease-out;
}
#editModal.edit-modal-dialog {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
}
@media (max-width: 828px) {
    #editModal {
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
        width: auto;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#editModal .modal-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 16px 16px 0 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#editModal .modal-header h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.modal-close:active {
    transform: scale(0.98);
}

#editModal .modal-body {
    padding: 32px;
}

#editModal .form-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
}

#editModal .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#editModal .section-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#editModal .form-group-modal {
    margin-bottom: 20px;
}

#editModal .form-group-modal:last-child {
    margin-bottom: 0;
}

#editModal .form-label-modal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}

#editModal .label-icon {
    font-size: 1.2em;
    opacity: 0.8;
}

#editModal .required-star {
    color: #dc3545;
    font-weight: 700;
    margin-left: 2px;
}

#editModal .form-input-modal {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    min-height: 44px;
    font-size: 1rem;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    color: #0f172a;
}

#editModal .form-input-modal:hover {
    border-color: #2563eb;
}

#editModal .form-input-modal:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

#editModal .form-input-modal:disabled {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

#editModal .form-input-modal::placeholder {
    color: #94a3b8;
    opacity: 1;
}

#editModal .form-color-input {
    width: 100%;
    height: 50px;
    padding: 4px;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background: #fafafa;
}

#editModal .form-color-input:hover {
    border-color: #2563eb;
    background: #fff;
}

#editModal .form-color-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

#editModal .color-input-wrapper {
    width: 100%;
}

#editModal .table-color-palette {
    margin-top: 0.75rem;
}

#editModal .table-color-palette .palette-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

#editModal .table-color-palette .palette-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#editModal .table-color-palette .palette-swatch {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#editModal .table-color-palette .palette-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#editModal .table-color-palette .palette-swatch:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

#editModal .form-hint-modal {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 0.875em;
    line-height: 1.5;
    font-style: italic;
}

#editModal .row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 0;
}

#editModal .row > div {
    flex: 1;
    min-width: 0;
}

#editModal input[type="number"] {
    font-size: 1em;
    font-weight: 500;
}

#editModal .validation-error {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 6px;
    display: none;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
}

#editModal .validation-error.show {
    display: block;
}

#editModal .modal-footer {
    background: #f8f9fa;
    padding: 20px 32px;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #e9ecef;
}

#editModal .footer-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

/* Generic modal overlay (documents, etc.) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay .modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow: visible;
}
.modal-overlay .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
}
.modal-overlay .modal-header h3 { margin: 0; font-size: 1.25rem; }
.modal-overlay .modal-body { padding: 1.25rem; }
/* Modal sa dugim sadržajem - scroll unutar body da dropdown može da izađe */
.modal-overlay .modal-body.modal-body-scroll {
    max-height: 60vh;
    overflow-y: auto;
}
.modal-overlay .modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}
.modal-overlay .form-group { margin-bottom: 1rem; }
.modal-overlay .form-group label { display: block; margin-bottom: 0.25rem; font-weight: 500; }
.modal-overlay .form-group input,
.modal-overlay .form-group select { width: 100%; padding: 0.5rem 0.75rem; border-radius: 6px; border: 1px solid #ddd; }
.form-error { color: #dc2626; font-size: 0.9rem; margin-top: 0.5rem; }

/* Send document modal - lepši dizajn */
.send-document-modal-content {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.send-document-modal-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}
.send-document-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.send-document-modal-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.send-document-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}
.send-document-modal-close {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    opacity: 0.9;
}
.send-document-modal-close:hover {
    opacity: 1;
}
.send-document-modal-body {
    padding: 1.5rem 1.5rem 1.25rem;
}
.send-document-main-question {
    margin: 0 0 1.25rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #1e293b;
    font-weight: 500;
}
.send-document-paid-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}
.send-document-paid-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #334155;
}
.send-document-paid-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: #0ea5e9;
}
.send-document-paid-text {
    flex: 1;
}
.send-document-paid-hint {
    margin: 0.6rem 0 0 1.85rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.45;
}
.send-document-modal-footer {
    padding: 1rem 1.5rem 1.25rem;
    background: #f8fafc;
    gap: 0.75rem;
}

/* User Dashboard - Hall Cards */
.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.content-card,
.hall-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-card:hover,
.hall-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0ea5e9;
}

.card-header,
.hall-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-title,
.hall-card-title {
    color: #1e40af;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.card-status,
.hall-card-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.card-stats,
.hall-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.card-footer,
.hall-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.card-footer-info,
.hall-card-footer-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.card-footer-info-value,
.hall-card-footer-info-value {
    font-weight: 600;
    color: #1e40af;
}

.card-footer-updated,
.hall-card-footer-updated {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

.fill-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.fill-bar-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.fill-bar-fill.low {
    background: #10b981;
}

.fill-bar-fill.medium {
    background: #f59e0b;
}

.fill-bar-fill.high {
    background: #ef4444;
}

/* User Dashboard Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h2 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.empty-state h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.empty-state p {
    color: #6b7280;
    margin: 0;
}

@media (max-width: 828px) {
    .halls-grid {
        grid-template-columns: 1fr;
    }
}

/* User Hall Page Styles */
.user-hall-header {
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.user-hall-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-hall-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.user-hall-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.user-hall-stat-box {
    text-align: center;
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border-radius: 8px;
    min-width: 100px;
}

.user-hall-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

/* Maks. gostiju 0 ili 1 - crvena boja na pregledima */
.user-hall-stat-box.max-guests-low .user-hall-stat-value,
input.max-guests-low,
.form-input.max-guests-low,
.hall-edit-input.max-guests-low {
    color: #dc2626 !important;
    font-weight: 700;
}
input.max-guests-low,
.form-input.max-guests-low,
.hall-edit-input.max-guests-low {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.user-hall-stat-label {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.user-hall-fill-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border-radius: 8px;
}

.user-hall-fill-bar {
    width: 200px;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.user-hall-fill-progress {
    height: 100%;
    background: #10b981;
    transition: width 0.3s;
}

.user-hall-fill-progress.warning {
    background: #f59e0b;
}

.user-hall-fill-progress.danger {
    background: #ef4444;
}

.user-hall-actions {
    display: flex;
    gap: 0.75rem;
}

.user-hall-tutorial {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.user-info-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.hall-page .user-info-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    flex: none !important;
    flex-basis: auto !important;
}

.info-section-header {
    margin-bottom: 1.5rem;
}

.info-section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.info-content-full {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.info-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.info-card h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

/* Card grid - admin, accounting index, generic */
.card-grid,
.dashboard-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-grid.card-grid-sm,
.dashboard-card-grid.dashboard-card-grid-sm {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.dashboard-card {
    text-decoration: none;
    color: inherit;
}

.card-inner,
.dashboard-card-inner {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover .card-inner,
.dashboard-card:hover .dashboard-card-inner {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-inner h3,
.dashboard-card-inner h3 {
    margin: 0 0 0.5rem 0;
    color: #3b82f6;
    font-size: 1.1rem;
}

.card-icon,
.icon-inline {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.2em;
    margin-right: 0.25rem;
}

.status-icon-svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
}

.card-inner p,
.dashboard-card-inner p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* Kartice za kreiranje – suptilna akcent boja */
.card--create .card-inner,
.card--create .dashboard-card-inner {
    border-left: 3px solid #10b981;
    background: linear-gradient(to right, #f0fdf4 0%, #fff 12%);
}

.card--create .card-inner h3,
.card--create .dashboard-card-inner h3 {
    color: #059669;
}

/* Option cards - unificirani izbor opcija (checkbox u kartici), npr. licence */
.option-cards-section {
    margin-top: 1.5rem;
}

.option-cards-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.option-cards-header > .option-cards-icon,
.option-cards-header > span:first-child {
    font-size: 1.5rem;
}

.option-cards-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.option-cards-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.option-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.option-card {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.option-card:hover {
    border-color: #94a3b8;
}

.option-card:has(input:checked),
.option-card.is-checked {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.option-card-icon,
.option-card > span:not(input) {
    font-size: 1.25rem;
}

.option-card-content,
.option-card > div {
    margin-top: 0.5rem;
}

.option-card p,
.option-card-content p,
.option-card-content > span {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: #64748b;
    display: block;
}

/* Menu type selector - izbor sadržaj vs link */
.menu-type-section {
    margin-top: 0.5rem;
}

.menu-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.menu-type-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.menu-type-option:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.menu-type-option:has(input:checked) {
    border-color: #3b82f6;
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.menu-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-type-option-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 1.5rem;
}

.menu-type-option:has(input:checked) .menu-type-option-icon {
    background: #dbeafe;
    color: #2563eb;
}

.menu-type-option-content {
    flex: 1;
    min-width: 0;
}

.menu-type-option-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
    margin: 0;
}

.menu-type-option-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
    line-height: 1.4;
}

@media (max-width: 540px) {
    .menu-type-grid {
        grid-template-columns: 1fr;
    }
}

.option-card-features {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: #64748b;
}

.guests-list {
    height: 640px;
    overflow-y: auto;
}

.guests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.guest-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    transition: box-shadow 0.2s;
}

.guest-item:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guest-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.guest-details {
    font-size: 0.875rem;
    color: #666;
}

#tableGuestsModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 2rem;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: visible;
    z-index: 1001;
}

#tableGuestsTable {
    font-size: 0.9rem;
    width: 100%;
    border-collapse: collapse;
}

#tableGuestsTable tbody tr,
.table-guests-grid tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

#tableGuestsTable tbody tr:hover,
.table-guests-grid tbody tr:hover {
    background: #f9fafb;
}

.owner-guest-sort:hover {
    background: #e2e8f0;
}

#tableGuestsTable td {
    padding: 0.75rem;
    vertical-align: top;
}

.pagination-container {
    margin-top: 1.5rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-page-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.pagination-page-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

#guestModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    z-index: 1002;
}

@media (max-width: 828px) {
    .user-hall-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-hall-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .user-info-section {
        padding: 1rem;
    }
    
    .guests-grid {
        grid-template-columns: 1fr;
    }
    
    .page-content > div[style*="grid-template-columns"],
    .dashboard-content > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .guests-list {
        height: auto;
        min-height: 200px;
        max-height: 400px;
    }
}

@media (max-width: 540px) {
    .guests-list {
        max-height: 320px;
    }
}

/* Owner edit - licence za pravno lice */
.owner-licenses-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    min-height: 100px;
    margin-bottom: 2rem;
}

.owner-licenses-table-wrap {
    overflow-x: auto;
}

.owner-licenses-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.owner-licenses-table thead tr {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
}

.owner-licenses-table thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.owner-licenses-table thead th.owner-licenses-actions-col {
    text-align: center;
    width: 1%;
    white-space: nowrap;
}

.owner-licenses-table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.owner-licenses-table tbody tr:last-child td {
    border-bottom: none;
}

.owner-licenses-table .license-type-select,
.owner-licenses-table .date-input {
    width: 100%;
    min-width: 0;
}

.owner-licenses-actions-cell {
    text-align: center;
}

.owner-licenses-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.license-details-row {
    display: none;
    background: #f1f5f9;
}

.license-details-row.is-expanded {
    display: table-row;
}

.license-details-row td {
    padding: 1.25rem !important;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.license-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.license-detail-field {
    min-width: 0;
}

.license-detail-field-wide {
    grid-column: 1 / -1;
}

.license-detail-field-full {
    grid-column: 1 / -1;
}

.license-detail-field label {
    display: block;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.license-detail-field .form-input {
    width: 100%;
}

.license-details-hint {
    display: block;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.owner-add-license-box {
    margin-top: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
}

.owner-payment-section {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.owner-payment-section-title {
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    color: #074682;
    font-size: 1.1rem;
}

.invoice-send-mode-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.invoice-send-mode-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.invoice-send-mode-option:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.invoice-send-mode-option input:checked + span {
    color: #1e40af;
}

.invoice-send-mode-option:has(input:checked) {
    border-color: #3b82f6;
    background: #eff6ff;
}

.invoice-send-mode-option input {
    margin-top: 0.2rem;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.invoice-send-mode-option span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.owner-add-license-box h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.owner-add-license-box p {
    margin: 0 0 0.75rem 0;
    color: #64748b;
}

@media (max-width: 828px) {
    .owner-licenses-table thead th,
    .owner-licenses-table tbody td {
        padding: 0.75rem;
    }
    .owner-licenses-actions {
        flex-direction: column;
    }
    .owner-licenses-actions .btn {
        width: 100%;
    }
}

/* Inline/filter checkbox - konzistentan stil */
.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #475569;
}

.checkbox-inline input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

/* Owner edit - veliki checkbox sa labelom */
.owner-checkbox-group .owner-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.owner-checkbox-group .owner-checkbox-large {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    cursor: pointer;
}

.owner-checkbox-group .owner-checkbox-text small {
    color: #64748b;
}

/* License edit - Dodatne opcije sekcija */
.license-attributes-section {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.license-attributes-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.license-attributes-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.license-attributes-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
}

.license-attributes-desc {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

.license-attributes-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.license-option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.license-option-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.license-option-card:has(input:checked),
.license-option-card.is-checked {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
}

.license-option-card input {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #3b82f6;
}

.license-option-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.license-option-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.license-option-content strong {
    font-size: 0.95rem;
    color: #1e293b;
}

.license-option-content span {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.3;
}

.license-option-features {
    margin: 0.5rem 0 0 0;
    padding-left: 1.1rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
}

.license-option-features li {
    margin-bottom: 0.2rem;
}

.license-option-features li:last-child {
    margin-bottom: 0;
}

.accounting-msg {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}
.accounting-msg.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.accounting-msg.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.accounting-result-header {
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}
.accounting-result-header strong {
    color: #1e293b;
}

/* Owner users page - tabela responsive */
@media (max-width: 828px) {
    .owner-users-page .dashboard-header {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .owner-users-page .dashboard-header .btn { width: 100% !important; text-align: center !important; }
    .owner-users-page .table-wrap .data-table { min-width: 500px; font-size: 0.9rem; }
    .owner-users-page .table-wrap .data-table th,
    .owner-users-page .table-wrap .data-table td { padding: 0.5rem 0.75rem !important; }
}
@media (max-width: 540px) {
    .owner-users-page .container { padding: 0.75rem 1rem !important; }
    .owner-users-page .page-content,
    .owner-users-page .dashboard-content { padding: 1rem !important; }
    .owner-users-page .page-header h1,
    .owner-users-page .dashboard-header h1 { font-size: 1.25rem !important; }
    .owner-users-page .table-wrap .data-table { min-width: 450px; font-size: 0.85rem !important; }
    .owner-users-page .table-wrap .data-table th,
    .owner-users-page .table-wrap .data-table td { padding: 0.4rem 0.5rem !important; }
}

/* Owner employees page - tabela responsive */
@media (max-width: 828px) {
    .owner-employees-page .dashboard-header {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .owner-employees-page .dashboard-header .btn { width: 100% !important; text-align: center !important; }
    .owner-employees-page .table-wrap .data-table { min-width: 550px; font-size: 0.9rem; }
    .owner-employees-page .table-wrap .data-table th,
    .owner-employees-page .table-wrap .data-table td { padding: 0.5rem 0.75rem !important; }
    .owner-employees-page .table-wrap .data-table .btn-action { padding: 0.35rem 0.6rem !important; font-size: 0.8rem !important; }
}
@media (max-width: 540px) {
    .owner-employees-page .container { padding: 0.75rem 1rem !important; }
    .owner-employees-page .page-content,
    .owner-employees-page .dashboard-content { padding: 1rem !important; }
    .owner-employees-page .page-header h1,
    .owner-employees-page .dashboard-header h1 { font-size: 1.25rem !important; }
    .owner-employees-page .table-wrap .data-table { min-width: 480px; font-size: 0.85rem !important; }
    .owner-employees-page .table-wrap .data-table th,
    .owner-employees-page .table-wrap .data-table td { padding: 0.4rem 0.5rem !important; }
}

/* Global dashboard responsive - sve stranice u users/* */
@media (max-width: 828px) {
    .dashboard-page .page-header,
    .dashboard-page .dashboard-header,
    .page-header-flex,
    .dashboard-header-flex {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .dashboard-page .page-header .btn,
    .dashboard-page .dashboard-header .btn,
    .page-header-flex .btn,
    .dashboard-header-flex .btn,
    .page-header-flex > a.btn,
    .dashboard-header-flex > a.btn { width: 100% !important; text-align: center !important; }
    .dashboard-page [style*="display: flex"][style*="gap"] form:not(.filter-form) {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .dashboard-page .table-container .data-table { min-width: 500px; font-size: 0.9rem; }
    .dashboard-page .table-container .data-table th,
    .dashboard-page .table-container .data-table td { padding: 0.5rem 0.75rem !important; }
    .dashboard-page .info-card[style*="display: flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .dashboard-page .info-card[style*="display: flex"] .btn { width: 100% !important; }
    .dashboard-page .page-header-actions .btn,
    .dashboard-page .dashboard-header-actions .btn,
    .dashboard-page .page-header-actions a.btn,
    .dashboard-page .dashboard-header-actions a.btn { width: 100% !important; }
}
@media (max-width: 540px) {
    .dashboard-page .container { padding: 0.75rem 1rem !important; }
    .dashboard-page .page-content,
    .dashboard-page .dashboard-content { padding: 1rem !important; }
    .dashboard-page .page-header,
    .dashboard-page .dashboard-header,
    .page-header,
    .dashboard-header { padding: 0.5rem 0.75rem !important; }
    .dashboard-page .page-header h1,
    .dashboard-page .dashboard-header h1 { font-size: 1.25rem !important; }
    .dashboard-page .page-subtitle,
    .dashboard-page .dashboard-subtitle { font-size: 0.85rem !important; }
    .dashboard-page .table-container .data-table { min-width: 450px; font-size: 0.85rem !important; }
    .dashboard-page .table-container .data-table th,
    .dashboard-page .table-container .data-table td { padding: 0.4rem 0.5rem !important; }
}

/* Filter tabs card - full responsive layout (access logs, itd.) */
.filter-tabs-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem !important;
}
.filter-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.filter-tabs-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.filter-tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Desktop: sve u jednom redu, filteri inline sa dugmadima */
@media (min-width: 1052px) {
    .filter-tabs-card {
        gap: 1rem;
    }
    .filter-tabs {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
    .filter-tabs-label {
        flex-shrink: 0;
    }
    .filter-actions {
        flex-shrink: 0;
    }
}

/* Mobil: sve u kolonu, 100% širine */
@media (max-width: 540px) {
    .filter-tabs-buttons {
        flex-direction: column;
    }
    .filter-actions {
        width: 100%;
    }
}

/* Access logs - tabela responsive */
@media (max-width: 828px) {
    .owner-access-logs-page .table-wrap .data-table {
        min-width: 500px;
        font-size: 0.9rem;
    }
    .owner-access-logs-page .table-wrap .data-table th,
    .owner-access-logs-page .table-wrap .data-table td {
        padding: 0.5rem 0.75rem !important;
    }
}
@media (max-width: 540px) {
    .owner-access-logs-page .table-wrap .data-table {
        min-width: 450px;
        font-size: 0.85rem !important;
    }
    .owner-access-logs-page .table-wrap .data-table th,
    .owner-access-logs-page .table-wrap .data-table td {
        padding: 0.4rem 0.5rem !important;
    }
}

@media (max-width: 540px) {
    .owner-halls-page .filter-form .filter-group {
        flex-direction: column !important;
        width: 100% !important;
    }
    .owner-halls-page .filter-form .filter-group .btn,
    .owner-halls-page .filter-form .filter-group a.btn {
        width: 100% !important;
    }
    /* Radni dani filter */
    .owner-radni-dani-page .filter-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .owner-radni-dani-page .filter-form .filter-item {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    .owner-radni-dani-page .filter-form select,
    .owner-radni-dani-page .filter-form .form-input,
    .owner-radni-dani-page .filter-form .custom-select,
    .owner-radni-dani-page .filter-form .filter-select {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    .owner-radni-dani-page .filter-form .btn,
    .owner-radni-dani-page .filter-form a.btn {
        width: 100% !important;
    }
}

/* Print - samo kad je body.canvas-print-mode (klik na Štampaj raspored) */
@media print {
    @page {
        size: A4 landscape;
        margin: 10mm;
    }
    /* Sakriveni elementi van canvasa - izvan stranice, bez prostora */
    body.canvas-print-mode * {
        position: absolute !important;
        left: -99999px !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }
    body.canvas-print-mode *:has(.canvas-print-wrapper),
    body.canvas-print-mode .canvas-print-wrapper,
    body.canvas-print-mode .canvas-print-wrapper *,
    body.canvas-print-mode #canvas-container,
    body.canvas-print-mode #canvas-container * {
        position: revert !important;
        left: revert !important;
        width: revert !important;
        height: revert !important;
        overflow: visible !important;
        visibility: visible !important;
    }
    body.canvas-print-mode #canvas-container {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100vh !important;
        border: none !important;
        background: #fff !important;
        box-shadow: none !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        page-break-inside: avoid !important;
    }
    body.canvas-print-mode #canvas-container #canvas {
        width: 2400px !important;
        height: 1500px !important;
        min-width: 2400px !important;
        min-height: 1500px !important;
        transform: translate(-50%, -50%) scale(0.42) !important;
        transform-origin: center center !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        overflow: visible !important;
    }
    body.canvas-print-mode #canvas-container .canvas-zoom-controls {
        display: none !important;
    }
}

/* Spinner pri pripremi štampe (Štampaj raspored) */
.canvas-print-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}
.canvas-print-loading-overlay .canvas-print-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: canvas-print-spin 0.7s linear infinite;
}
.canvas-print-loading-overlay .canvas-print-loading-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}
@keyframes canvas-print-spin {
    to { transform: rotate(360deg); }
}

/* Canvas crop modal - osečite sliku pre štampe */
.canvas-crop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.canvas-crop-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.canvas-crop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}
.canvas-crop-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}
.canvas-crop-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 0.25rem;
}
.canvas-crop-close:hover {
    color: #1e293b;
}
.canvas-crop-body {
    padding: 1rem;
    overflow: auto;
    flex: 1;
    min-height: 0;
}
.canvas-crop-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.canvas-crop-img {
    display: block;
    max-width: 85vw;
    max-height: 70vh;
    width: auto;
    height: auto;
}
.canvas-crop-box {
    position: absolute;
    left: 5%;
    top: 5%;
    width: 90%;
    height: 90%;
    border: 2px dashed #3b82f6;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4);
    cursor: move;
    box-sizing: border-box;
}
.canvas-crop-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border: 2px solid #fff;
    border-radius: 2px;
    cursor: nwse-resize;
}
.canvas-crop-handle.n { top: -6px; left: 50%; transform: translateX(-50%); cursor: n-resize; }
.canvas-crop-handle.s { bottom: -6px; left: 50%; transform: translateX(-50%); cursor: s-resize; }
.canvas-crop-handle.e { right: -6px; top: 50%; transform: translateY(-50%); cursor: e-resize; }
.canvas-crop-handle.w { left: -6px; top: 50%; transform: translateY(-50%); cursor: w-resize; }
.canvas-crop-handle.ne { top: -6px; right: -6px; cursor: ne-resize; }
.canvas-crop-handle.nw { top: -6px; left: -6px; cursor: nw-resize; }
.canvas-crop-handle.se { bottom: -6px; right: -6px; cursor: se-resize; }
.canvas-crop-handle.sw { bottom: -6px; left: -6px; cursor: sw-resize; }
.canvas-crop-options {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}
.canvas-crop-options-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.canvas-crop-options-row:last-child { margin-bottom: 0; }
.canvas-crop-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}
.canvas-crop-option input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}
.canvas-crop-option select {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}
.canvas-crop-grayscale-opts {
    gap: 1.5rem;
}
.canvas-crop-slider-label {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.canvas-crop-contrast,
.canvas-crop-threshold {
    width: 80px;
    vertical-align: middle;
}
.canvas-crop-rotate {
    display: flex;
    gap: 0.25rem;
}
.canvas-crop-rotate .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
}
.canvas-crop-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e5e7eb;
}
.canvas-crop-footer-left {
    display: flex;
    gap: 0.5rem;
}
.canvas-crop-actions {
    display: flex;
    gap: 0.75rem;
}

/* === buttons.css === */
/**
 * Buttons - sav CSS za dugmad
 * Centralizovani stilovi za .btn, .edit-btn, .btn-action, modal dugmad, itd.
 */

/* ========== Base - tekst uvek na sredini ========== */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
a.btn,
.btn-action,
.btn-modal,
.zoom-btn,
.navbar-link,
.edit-btn {
    text-align: center;
}

button:not(.navbar-toggle),
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn-action,
.btn-modal,
.edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ========== .btn - osnovni stil ========== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.5;
    box-sizing: border-box;
    white-space: nowrap;
    min-width: auto;
    width: auto;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 10px;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-auto {
    width: auto;
    min-width: 120px;
}

.btn-fit {
    width: fit-content;
    min-width: auto;
}

/* ========== Button Variants ========== */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100, 116, 139, 0.35);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.25);
}

.btn-light {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-light:hover:not(:disabled) {
    background: #e2e8f0;
    color: #334155;
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-danger:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-success:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-warning:hover:not(:disabled) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.btn-warning:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-info:hover:not(:disabled) {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-info:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-calendar {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-calendar:hover:not(:disabled) {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.btn-calendar:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Button Groups */
.btn-group {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-group .btn {
    margin: 0;
}

/* Button with icon spacing - flex-shrink: 0 prevents icon from collapsing in flex layouts */
.btn-icon,
.btn .lucide {
    flex-shrink: 0;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon-only {
    padding: 0.75rem;
    min-width: auto;
    width: auto;
}

/* Outline variants */
.btn-outline-primary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    box-shadow: none;
}

.btn-outline-primary:hover:not(:disabled) {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline-secondary {
    background: transparent;
    color: #64748b;
    border: 2px solid #64748b;
    box-shadow: none;
}

.btn-outline-secondary:hover:not(:disabled) {
    background: #64748b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.btn-outline-danger {
    background: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
    box-shadow: none;
}

.btn-outline-danger:hover:not(:disabled) {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ========== Menu link button (Otvori meni) ========== */
.btn-menu-link {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-menu-link:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* ========== Card actions wrap ========== */
.card-actions-wrap .card-actions .btn,
.owner-dashboard-cards .owner-dashboard-card-actions .btn,
.card-actions-wrap .card-actions a.btn,
.owner-dashboard-cards .owner-dashboard-card-actions a.btn {
    width: 100% !important;
    text-align: center;
}

/* ========== Navbar ========== */
.navbar-user .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
}

/* ========== Table action buttons ========== */
.data-table .btn-action {
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875em;
    white-space: nowrap;
    transition: all 0.2s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-weight: 500;
}

.data-table .btn-action.btn-edit {
    background: #ffc107;
    color: #000;
}

.data-table .btn-action.btn-edit:hover {
    background: #ffb300;
}

.data-table .btn-action.btn-delete {
    background: #dc3545;
    color: white;
}

.data-table .btn-action.btn-delete:hover {
    background: #c82333;
}

.data-table .btn-action.btn-view {
    background: #17a2b8;
    color: white;
}

.data-table .btn-action.btn-view:hover {
    background: #138496;
}

/* TreeTable toggle */
.data-table.treetable .treetable-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.35rem 0.6rem;
    font-size: 1.1rem;
    min-width: 32px;
    min-height: 32px;
    color: #3b82f6;
    transition: transform 0.2s ease;
}

.data-table.treetable .treetable-toggle:hover:not(:disabled) {
    color: #1d4ed8;
}

.data-table.treetable .treetable-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ========== Edit modal (#editModal) ========== */
#editModal .btn-modal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    box-sizing: border-box;
}

#editModal .btn-primary-modal {
    background: #3b82f6;
    color: white;
}

#editModal .btn-primary-modal:hover {
    background: #2563eb;
}

#editModal .btn-secondary-modal {
    background: #6c757d;
    color: white;
}

#editModal .btn-secondary-modal:hover {
    background: #5a6268;
}

#editModal .btn-danger-modal {
    background: #dc3545;
    color: white;
}

#editModal .btn-danger-modal:hover {
    background: #c82333;
}

/* ========== Edit page buttons (.edit-btn) ========== */
.edit-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.edit-btn-primary {
    background: #3b82f6;
    color: #fff;
}

.edit-btn-primary:hover {
    background: #2563eb;
}

.edit-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.edit-btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}

.edit-btn-outline {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.edit-btn-outline:hover {
    background: #f8fafc;
    color: #475569;
}

.edit-btn-danger {
    background: #ef4444;
    color: #fff;
}

.edit-btn-danger:hover {
    background: #dc2626;
}

/* ========== Landing - Demo button ========== */
.btn-demo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    border: none;
    animation: demo-glow 2.5s ease-in-out infinite;
}

@keyframes demo-glow {
    0%, 100% { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.55); }
}

.btn-demo:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
    color: white !important;
    animation: none;
}

.btn-demo:active {
    transform: translateY(0) scale(0.97);
}
.btn-demo:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.5);
}

/* Landing - hero guest table remove */
.hero-guest-table .btn-remove {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1rem;
}

.hero-guest-table .btn-remove:hover {
    color: #b91c1c;
}

/* ========== Custom select (autocomplete) - trigger button ========== */
.custom-select-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    width: 100%;
    min-height: 44px;
    text-align: left;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

/* ========== Filter tabs & actions ========== */
.filter-tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tabs-buttons .btn {
    min-height: 44px;
    padding: 0.5rem 1rem;
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
}

.filter-actions .btn,
.filter-actions a.btn,
.filter-actions button {
    min-height: 36px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

@media (max-width: 540px) {
    .filter-tabs-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .filter-actions .btn {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* ========== Licenses ========== */
.owner-licenses-actions .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
}

/* ========== Send document modal close ========== */
.send-document-modal-close {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    opacity: 0.9;
}

.send-document-modal-close:hover {
    opacity: 1;
}

/* ========== Responsive overrides ========== */
@media (max-width: 1052px) {
    .navbar-user .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 828px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-group .btn {
        width: 100%;
    }
    .btn-auto,
    .btn-fit {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .navbar-user .btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
}


/* === landing.css === */
/* Landing page styles - originalna širina za public stranice */
.landing-container {
    width: min(1800px, 98%);
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Scroll reveal - blage animacije pri skrolovanju */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.reveal-visible,
.reveal-visible .reveal {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered delay za decu - kad roditelj postane vidljiv */
.reveal-visible .role-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .role-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .role-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .zasto-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .zasto-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .zasto-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .license-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .license-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .license-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .license-card:nth-child(4) { transition-delay: 0.18s; }
.reveal-visible .faq-item:nth-child(1) { transition-delay: 0.02s; }
.reveal-visible .faq-item:nth-child(2) { transition-delay: 0.05s; }
.reveal-visible .faq-item:nth-child(3) { transition-delay: 0.08s; }
.reveal-visible .faq-item:nth-child(4) { transition-delay: 0.11s; }
.reveal-visible .faq-item:nth-child(5) { transition-delay: 0.14s; }
.reveal-visible .faq-item:nth-child(6) { transition-delay: 0.17s; }
.reveal-visible .feature-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .feature-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .feature-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .feature-card:nth-child(4) { transition-delay: 0.18s; }
.reveal-visible .chooser-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .chooser-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .step-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .step-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .step-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .step-card:nth-child(4) { transition-delay: 0.18s; }
.reveal-visible .addon-service-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .addon-service-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .addon-service-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .o-sistemu-card:nth-child(1) { transition-delay: 0.03s; }
.reveal-visible .o-sistemu-card:nth-child(2) { transition-delay: 0.08s; }
.reveal-visible .o-sistemu-card:nth-child(3) { transition-delay: 0.13s; }
.reveal-visible .use-tag:nth-child(1) { transition-delay: 0.02s; }
.reveal-visible .use-tag:nth-child(2) { transition-delay: 0.05s; }
.reveal-visible .use-tag:nth-child(3) { transition-delay: 0.08s; }
.reveal-visible .use-tag:nth-child(4) { transition-delay: 0.11s; }
.reveal-visible .use-tag:nth-child(5) { transition-delay: 0.14s; }

/* Veći font na širem ekranu - iPad ostaje na 16px */
@media (min-width: 1101px) {
    html {
        font-size: 18px;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1 0 auto;
}

.landing-header {
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.landing-header .landing-container {
    min-width: 0;
}

.landing-header.header-scrolled-down {
    transform: translateY(-100%);
}

body:has(.landing-header) main {
    padding-top: 68px;
}

/* Scroll progress bar - napredak čitanja stranice */
.scroll-progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(226, 232, 240, 0.5);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.scroll-progress-wrap.is-visible {
    opacity: 1;
    visibility: visible;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 0 2px 2px 0;
    transition: width 0.15s ease-out;
}
.scroll-progress-msg {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.2s ease;
    pointer-events: none;
}
.scroll-progress-wrap.is-visible .scroll-progress-msg.is-showing {
    opacity: 1;
    visibility: visible;
    top: -2.25rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    gap: 1rem;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #64748b;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Separator između linkova - kratka vertikalna linija (ne između dugmadi) */
.header-nav > a {
    position: relative;
}
.header-nav > a:not(.btn) + a:not(.btn)::before {
    content: '';
    position: absolute;
    left: -0.375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1em;
    background: rgba(31, 41, 55, 0.35);
}

/* Desktop - nikad u dva reda (samo kad je full nav vidljiv) */
@media (min-width: 1400px) {
    .header-nav {
        flex-wrap: nowrap;
    }
}

/* Srednji desktop (1400-1800px) - kompaktan nav da stane u jedan red */
@media (min-width: 1400px) and (max-width: 1800px) {
    .header-content {
        gap: 0.75rem;
    }

    .header-nav {
        gap: 0.5rem;
        min-width: 0;
        flex-shrink: 1;
    }

    .header-nav > a:not(.btn) + a:not(.btn)::before {
        left: -0.25rem;
        height: 0.9em;
    }

    .landing-header a {
        font-size: 0.9rem;
    }

    .header-nav a:not(.btn) {
        white-space: nowrap;
    }
}

/* Ispod 1600px - manja dugmad i manji razmaci u meniju */
@media (min-width: 1400px) and (max-width: 1599px) {
    .header-content {
        gap: 0.5rem;
    }

    .header-nav {
        gap: 0.35rem;
    }

    .header-nav > a:not(.btn) + a:not(.btn)::before {
        left: -0.175rem;
        height: 0.85em;
    }

    .header-nav .btn-primary,
    .header-nav .btn-demo,
    .header-nav .btn-prijava {
        padding: 0.25rem 0.45rem !important;
        font-size: 0.8rem !important;
    }
}

/* Backdrop - skriven na desktopu, prikazuje se samo na mobilnom */
.landing-nav-backdrop {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                background 0.2s ease,
                border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.nav-toggle:active {
    transform: scale(0.94);
}
@media (min-width: 1400px) {
    .nav-toggle {
        display: none !important;
    }
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1f2937;
    border-radius: 1px;
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.3s ease;
}
.nav-toggle-bar:nth-child(1),
.nav-toggle-bar:nth-child(3) {
    transform-origin: left center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.landing-header a {
    font-size: 1.05rem;
}

.header-nav a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
}

.header-nav a:not(.btn) {
    position: relative;
    padding: 0.25rem 0.1rem;
    transition: color 0.2s ease;
}

.header-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: #2563eb;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-nav a:not(.btn):hover,
.header-nav a:not(.btn).is-active {
    color: #2563eb;
}

/* Prostor za 1 događaj - istaknuta boja (najkorišćenija opcija) */
.header-nav a.nav-link-fizicka {
    color: #0d9488;
    font-weight: 600;
}
.header-nav a.nav-link-fizicka:hover,
.header-nav a.nav-link-fizicka.is-active {
    color: #0f766e;
}
.header-nav a.nav-link-fizicka::after {
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.header-nav a:not(.btn):hover::after,
.header-nav a:not(.btn).is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Sva tri dugmeta (PORUČI, PROBAJ BESPLATNO, Prijava) - isti stil, fluid veličina */
.header-nav .btn-primary,
.header-nav .btn-demo,
.header-nav .btn-prijava {
    padding: clamp(0.25rem, 0.3vw + 0.2rem, 0.4rem) clamp(0.4rem, 0.6vw + 0.25rem, 0.85rem) !important;
    font-size: clamp(0.8rem, 0.35vw + 0.7rem, 1rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    border-radius: 10px;
}

.header-nav .btn-primary,
.header-nav .btn-prijava {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(96, 165, 250, 0.4) !important;
}

.header-nav .btn-demo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

.header-nav .btn-primary,
.header-nav .btn-demo,
.header-nav .btn-prijava {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}
.header-nav .btn-primary:hover,
.header-nav .btn-prijava:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.5) !important;
    transform: translateY(-2px) !important;
}
.header-nav .btn-demo:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
    transform: translateY(-2px) !important;
}

.hero {
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
    padding: 2rem 0 4rem;
    margin-bottom: -1px;
    background: linear-gradient(160deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 68px;
    display: flex;
    align-items: center;
}

/* Hero pozadinska slika - mutno na početku, bistra tranzicija kad se učita */
.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img-src {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(20px);
    opacity: 0.7;
    transform: scale(1.05);
    transition: filter 1.4s ease-out, opacity 1.2s ease-out, transform 1.4s ease-out;
}

.hero-bg-img.is-loaded .hero-bg-img-src {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-img-src {
        transition-duration: 0.5s;
    }
}

/* Animated gradient blobs - iznad pozadinske slike */
.hero-bg-animation {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    isolation: isolate;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.25;
    animation: hero-blob-float 18s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.7) 0%, rgba(14, 165, 233, 0.25) 45%, transparent 70%);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.6) 0%, rgba(251, 146, 60, 0.2) 45%, transparent 70%);
    top: 25%;
    right: -12%;
    animation-delay: -6s;
    animation-duration: 22s;
}

.hero-blob-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.6) 0%, rgba(16, 185, 129, 0.2) 45%, transparent 70%);
    bottom: -20%;
    left: 15%;
    animation-delay: -12s;
    animation-duration: 20s;
}

.hero-blob-4 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.55) 0%, rgba(99, 102, 241, 0.18) 45%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hero-blob-float-center 25s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes hero-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

@keyframes hero-blob-float-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    25% { transform: translate(calc(-50% + 25px), calc(-50% - 30px)) scale(1.08); }
    50% { transform: translate(calc(-50% - 20px), calc(-50% + 15px)) scale(0.92); }
    75% { transform: translate(calc(-50% + 35px), calc(-50% + 25px)) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-blob {
        animation: none;
        opacity: 0.35;
    }
}

@media (min-width: 769px) {
    .hero {
        min-height: calc(100vh - 68px);
        min-height: calc(100dvh - 68px);
        padding: 3rem 0 5rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 3;
}

.hero-grid .hero-copy {
    max-width: 44rem;
    text-align: center;
}

/* Hero entrance animations */
@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes header-nav-item-in {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes header-nav-panel-in {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-copy-inner {
    background: rgba(15, 23, 42, 0.92);
    padding: 2rem 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: hero-fade-in 0.6s ease-out;
    isolation: isolate;
}

.hero-title-main {
    animation: hero-slide-up 0.5s ease-out 0.1s both;
}

.hero-title-sub {
    animation: hero-slide-up 0.5s ease-out 0.2s both;
}

.hero-bullets li {
    animation: hero-slide-up 0.4s ease-out both;
    transition: transform 0.2s ease;
}
.hero-bullets li:hover .hero-bullet-icon {
    transform: scale(1.15);
}

.hero-bullets li:nth-child(1) { animation-delay: 0.3s; }
.hero-bullets li:nth-child(2) { animation-delay: 0.35s; }
.hero-bullets li:nth-child(3) { animation-delay: 0.4s; }
.hero-bullets li:nth-child(4) { animation-delay: 0.45s; }
.hero-bullets li:nth-child(5) { animation-delay: 0.5s; }
.hero-bullets li:nth-child(6) { animation-delay: 0.55s; }
.hero-bullets li:nth-child(7) { animation-delay: 0.6s; }
.hero-bullets li:nth-child(8) { animation-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
    .hero-copy-inner,
    .hero-title-main,
    .hero-title-sub,
    .hero-bullets li {
        animation: none;
    }
}

.hero-grid .hero-actions {
    justify-content: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
}

.hero-copy h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero-title-main {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    display: block;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-title-underline {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.hero-title-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: block;
    font-size: 0.9em;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 0;
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.7;
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
    width: 100%;
}

@media (min-width: 520px) {
    .hero-bullets {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 2.5rem;
        justify-items: start;
    }
    .hero-bullets-3col {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.hero-bullets li {
    position: relative;
    padding-left: 1.6rem;
    white-space: nowrap;
}

.hero-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.hero-bullets li:has(.hero-bullet-icon)::before {
    content: none;
}
.hero-bullet-icon {
    position: absolute;
    left: 0;
    width: 1.35em;
    height: 1.35em;
    color: #ffffff;
    transition: transform 0.2s ease;
}

/* Trust badges - hero */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.hero-trust-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

/* Sticky CTA - prikazuje se pri skrolu */
button.sticky-cta {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.sticky-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.sticky-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

.feature-card-icon,
.role-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #2563eb;
    flex-shrink: 0;
}
.step-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.step-card-badge {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-card-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.contact-section-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.contact-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.contact-meta-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #64748b;
}
.cta-icon {
    width: 3rem;
    height: 3rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}
/* Zašto Moj organizator? - zelena nijansa za razliku */
.section-zasto {
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 50%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.section-zasto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-zasto .landing-container {
    position: relative;
    z-index: 1;
}

.zasto-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .zasto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .zasto-grid {
        grid-template-columns: 1fr;
    }
}

.zasto-card {
    padding: 1.75rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.zasto-card:nth-child(2) { border-left-color: #3b82f6; }
.zasto-card:nth-child(3) { border-left-color: #8b5cf6; }
.zasto-card:nth-child(4) { border-left-color: #f59e0b; }

.zasto-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
}

.zasto-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.zasto-icon {
    width: 22px;
    height: 22px;
    color: #059669;
}

.zasto-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.zasto-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.section-zasto .section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* O Moj organizator sistemu */
.section-o-sistemu {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 30%, #f8fafc 70%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.section-o-sistemu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-o-sistemu .landing-container {
    position: relative;
    z-index: 1;
}

.o-sistemu-container {
    max-width: 960px;
}

.section-o-sistemu .section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 2px;
    margin: 1rem auto 0;
}

.section-o-sistemu .section-header p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.o-sistemu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .o-sistemu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .o-sistemu-grid {
        grid-template-columns: 1fr;
    }
}

.o-sistemu-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.25s ease;
}

.o-sistemu-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.o-sistemu-card-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-radius: 12px;
}

.o-sistemu-card .o-sistemu-icon {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.o-sistemu-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.o-sistemu-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.o-sistemu-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.o-sistemu-icon {
    width: 2rem;
    height: 2rem;
    color: #2563eb;
}
.section-icon {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: -0.2em;
    margin-right: 0.35rem;
    transition: transform 0.2s ease;
}
.section-header:hover .section-icon {
    transform: scale(1.1);
}

.hero-copy p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 1.75rem 0 0;
    flex-wrap: wrap;
}

.hero-highlights {
    display: grid;
    gap: 1rem;
}

.highlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Chooser stranica - izbor pravno/fizičko lice */
.chooser-hero {
    min-height: 60vh;
    padding: 3rem 0 4rem;
    background: linear-gradient(160deg, #fafaf9 0%, #f5f5f4 40%, #ebebea 100%);
    background-image: url('../img/wedding-hall-photo.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    scroll-margin-top: 68px;
}

/* Tamni overlay 60-80% - WCAG kontrast (NN/G best practice) */
.chooser-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.chooser-hero .landing-container {
    position: relative;
    z-index: 1;
}

.chooser-hero-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.chooser-hero-icon {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Semi-transparent backdrop za naslov - garantovan kontrast (NN/G, WCAG) */
.chooser-hero-copy-inner {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 2rem;
}

@supports not (backdrop-filter: blur(1px)) {
    .chooser-hero-copy-inner {
        background: rgba(15, 23, 42, 0.75);
    }
}

.chooser-hero-copy-inner h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #ffffff;
    margin: 0 0 0.5rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chooser-hero-copy-inner p {
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.chooser-cards-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.chooser-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .chooser-cards {
        grid-template-columns: 1fr;
    }
}

.chooser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: center;
    padding: 2.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.chooser-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
    transform: translateY(-6px);
}

.chooser-card-icon {
    width: 56px;
    height: 56px;
    color: #2563eb;
    margin-bottom: 1.25rem;
    padding: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-radius: 14px;
}

.chooser-card h2 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chooser-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.chooser-cta {
    font-weight: 600;
    color: #2563eb;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.chooser-cta-icon {
    width: 18px;
    height: 18px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    vertical-align: -0.2em;
}

.btn.btn-demo .btn-icon {
    margin-right: 0.25rem;
}

.section {
    padding: 3.5rem 0;
    scroll-margin-top: 68px;
    position: relative;
    margin-bottom: -1px;
    background: #f8fafc;
}

.section:last-of-type {
    margin-bottom: 0;
}

/* Kompaktne sekcije - manje sadržaja */
#roles,
#roles-use-cases {
    padding: 2rem 0;
}

.section-use-cases {
    padding: 5rem 0;
}

.section-use-cases .section-header,
#roles .section-header,
#roles-use-cases .section-header {
    margin-bottom: 1.5rem;
}

/* Sadržajne sekcije - više prostora */
#features,
#primeri,
section.faq-section,
#licenses,
.section-o-sistemu,
.section-zasto,
#roles-cards {
    padding: 3.5rem 0;
}

/* Divider - trougasti SVG polygon, sastavni deo sekcije */
.divider {
    display: block;
    width: 100%;
    height: 58px;
    line-height: 0;
    overflow: hidden;
}

/* Unutar sekcije - pozadina sekcije prolazi kroz divider */
.section .divider {
    background: transparent;
}

/* Divider na vrhu sekcije - fiksiran na vrh */
.section > .divider:first-child:not(.divider--bottom) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Divider na dnu sekcije */
.divider--bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.divider svg polygon {
    fill: currentColor;
}

/* Svi divideri bele boje (za sada) */
.divider--blue-first,
.divider--blue,
.divider--white,
.divider--dark {
    background: #ffffff;
    color: #ffffff;
}

.divider--blue-first svg polygon,
.divider--blue svg polygon,
.divider--white svg polygon,
.divider--dark svg polygon {
    fill: #ffffff;
}

/* Hero - trougao dole, preko cele širine */
.divider--hero {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 58px;
    z-index: 10;
    pointer-events: none;
}

.hero .divider--hero {
    background: transparent;
}

.divider--hero svg polygon {
    fill: #ffffff;
}

.section.muted {
    background: #f8fafc;
}

/* Section backgrounds - jasno vidljiv presek */
#primeri,
#features {
    background: #ffffff;
}

#primeri .landing-container,
#features .landing-container {
    position: relative;
    z-index: 1;
}

/* Plava pozadina - roles (3.), licenses (5.) - hero ima svoju pozadinu sa blobovima */
/* Sekcija izbora - vizuelno posebna, veća visina, atraktivna pozadina */
.section-chooser {
    min-height: 500px;
    min-height: min(70vh, 560px);
    min-height: min(70dvh, 560px);
    padding: 3rem 0 4rem;
    background: linear-gradient(145deg, #eef6ff 0%, #dbeafe 25%, #e0f2fe 50%, #ecfeff 75%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
}

/* Mesh gradient + suptilna tačkasta tekstura */
.section-chooser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 80% at 85% 80%, rgba(16, 185, 129, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.1) 0%, transparent 40%),
        radial-gradient(circle at center, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 24px 24px;
    pointer-events: none;
}

.section-chooser .landing-container {
    position: relative;
    z-index: 1;
}

.section-chooser .section-header p {
    color: #334155;
    font-size: 1.1rem;
    font-weight: 500;
}

.section-chooser .section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* Sekcija "Gde se često koristi" - bela/neutralna za kontrast sa chooser */
.section-use-cases {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.section-use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-use-cases .landing-container {
    position: relative;
    z-index: 1;
}

.section-use-cases .use-case-tags-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.section-use-cases .use-case-tags {
    margin-bottom: 0;
}

#roles,
#licenses {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #f8fafc 70%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

#roles::before,
#licenses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

#roles .landing-container,
#licenses .landing-container {
    position: relative;
    z-index: 1;
}

/* Alternativna pozadina - features (2.), how (4.) */
#how {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    background-image:
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%),
        radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 0.05) 1px, transparent 0);
    background-size: 100% 100%, 28px 28px;
    position: relative;
}

#how .landing-container {
    position: relative;
    z-index: 1;
}

#contact {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    color: #e2e8f0;
}

#contact .contact-info h2,
#contact .contact-info p {
    color: #e2e8f0;
}

#contact .contact-info p {
    color: #cbd5e1;
}

#contact .contact-meta {
    color: #e2e8f0;
}

#contact .contact-meta span {
    color: #94a3b8;
}

#contact .contact-meta strong {
    color: #f8fafc;
}

#contact .contact-meta a,
#contact .contact-meta .js-reveal-email-link,
#contact .contact-meta .js-reveal-phone-link {
    color: #f8fafc;
    text-decoration: none;
}

#contact .contact-meta a:hover,
#contact .contact-meta .js-reveal-email-link:hover,
#contact .contact-meta .js-reveal-phone-link:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

#contact .contact-form {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

#contact .contact-form h3,
#contact .contact-form label {
    color: #0f172a;
}

#contact .contact-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

#contact .landing-container {
    position: relative;
    z-index: 1;
}

#roles .landing-container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#features .section-header h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#features .section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
    margin: 1rem auto 0;
}

.section-header p {
    color: #64748b;
}

/* Prvi paragraf u sekciji Funkcionalnosti */
.features-intro {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

.feature-grid-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 2.5rem 0 1.25rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.feature-card .feature-card-icon {
    padding: 0.6rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}
.feature-card-links {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-links-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}
.feature-link-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: white !important;
}
.feature-link {
    color: #2563eb;
    text-decoration: none;
}
.feature-link:hover {
    text-decoration: underline;
}

/* Organizacija svečane sale */
.primeri-iz-aplikacije {
    margin-top: 2.5rem;
    padding: 2rem 2rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
.primeri-naslov {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}
.primeri-lead {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem;
}
.primeri-single {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.primeri-single:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}
.primeri-single img {
    width: 100%;
    height: auto;
    display: block;
}
.primeri-single:hover img {
    opacity: 0.98;
}
/* Fullscreen image overlay */
.img-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
}
.img-fullscreen-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: default;
}
.img-fullscreen-overlay .img-fullscreen-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
}
.img-fullscreen-overlay .img-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.primeri-cta {
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}
.primeri-cta a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}
.primeri-cta a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}
.roles-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1rem 3.5rem;
}

.roles-header {
    text-align: center;
    margin-bottom: 2rem;
}

.roles-header h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    color: #0f172a;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.roles-lead-short {
    max-width: 480px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.roles-lead {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.roles-lead p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.roles-lead strong {
    color: #0f172a;
}

.roles-use-cases {
    margin-bottom: 2rem;
}

.roles-use-cases h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
    text-align: center;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.use-tag {
    background: #f8fafc;
    color: #475569;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

.use-tag:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.roles-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.roles-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.roles-cards:has(.role-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
}

.role-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.role-card:nth-child(2) {
    border-left-color: #059669;
}

.role-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.role-card:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
    border-color: #93c5fd;
    transform: translateY(-4px);
}

.role-card:nth-child(2):hover {
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
    border-color: #6ee7b7;
    transform: translateY(-4px);
}

.role-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.role-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 600;
}

.role-card .role-card-icon {
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    color: #2563eb;
}

.role-card:nth-child(2) .role-card-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
}

.role-card:nth-child(2) ul li::before {
    color: #059669;
}

.role-card:nth-child(2) .role-card-cta {
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
    border-top-color: #6ee7b7;
    color: #065f46;
}

.role-card:nth-child(2):hover .role-card-cta {
    background: linear-gradient(180deg, #d1fae5 0%, #a7f3d0 100%);
    border-top-color: #34d399;
}

.role-card-intro {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.role-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: #475569;
    flex: 1;
}

.role-card ul li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.role-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

.role-card-cta {
    margin: 1.5rem -2rem -2rem -2rem;
    padding: 1.25rem 2rem;
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
    border-radius: 0 0 16px 16px;
    color: #166534;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.25s ease;
}

.role-card:hover .role-card-cta {
    background: #dcfce7;
    border-top-color: #86efac;
}

.role-card-link:hover .role-card-cta {
    color: #166534;
}

.role-card-cta a,
.role-card-cta .btn-link {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.role-card-cta a:hover,
.role-card-cta .btn-link:hover {
    text-decoration: underline;
    color: #047857;
}

.roles-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem 2rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.roles-cta p {
    margin: 0 0 1rem;
    color: #475569;
    font-weight: 500;
    font-size: 1rem;
}

.roles-cta .btn {
    display: inline-flex;
}

/* CTA blok unutar sekcije - svakih 1-2 ekrana */
.section-cta-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

/* License / pricing grid */
.license-packages-promo {
    position: relative;
    border: 3px solid #10b981;
    border-radius: 14px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.license-promo-badge {
    position: absolute;
    top: -0.6rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.license-packages-promo:has(.license-grid.reveal-visible) .license-promo-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.5s;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
    .license-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .license-grid {
        grid-template-columns: 1fr;
    }
}

.license-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.license-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    border-color: #bfdbfe;
    transform: translateY(-2px);
}

.license-card-featured {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.license-card-featured:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.license-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.license-card h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.license-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.license-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.license-price-old {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.license-price-new {
    font-size: 1.9rem;
    font-weight: 800;
    color: #059669;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.license-packages-promo:has(.license-grid.reveal-visible) .license-price-new {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.9s;
}

.license-card .btn-license-request {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.license-packages-promo:has(.license-grid.reveal-visible) .license-card .btn-license-request {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
    .license-promo-badge,
    .license-price-new,
    .license-card .btn-license-request {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.license-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.license-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.license-features li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: #475569;
}

.license-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

.license-note {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.license-note a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.license-note a:hover {
    text-decoration: underline;
}

/* Sekcija: Prostor samo za 1 događaj - PORUČI */
.single-event-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
    padding: 3.5rem 0;
}

.single-event-card {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 3rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.single-event-header {
    margin-bottom: 1.75rem;
}

.single-event-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.6rem 0;
    letter-spacing: -0.02em;
}

.single-event-desc {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.single-event-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    display: inline-block;
}

.single-event-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 1.05rem;
    color: #475569;
}

.single-event-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.single-event-price-block {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.75rem;
    border: 1px solid #bbf7d0;
}

.single-event-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.6rem 0;
    letter-spacing: -0.03em;
}

.single-event-price span {
    font-size: 1.15rem;
    font-weight: 600;
    color: #64748b;
}

.single-event-flow-note {
    font-size: 1rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

.single-event-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.single-event-card .btn {
    margin-top: 0;
    min-width: 160px;
}

.single-event-buttons .btn-order-cta {
    padding: 1.1rem 2.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    min-width: 220px;
}

/* Single event modal - plaćanje IPS / Karticno */
.single-event-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: single-event-modal-fadeIn 0.2s ease-out;
}
@keyframes single-event-modal-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.single-event-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}
.single-event-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: single-event-modal-slideUp 0.3s ease-out;
    border-top: 3px solid #059669;
}
@keyframes single-event-modal-slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.single-event-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0.5rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
}
.single-event-modal-header-text {
    flex: 1;
    min-width: 0;
}
.single-event-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.single-event-modal-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}
.single-event-modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s;
}
.single-event-modal-close:hover {
    color: #0f172a;
    background: #e2e8f0;
}
.single-event-modal-body {
    padding: 0.75rem 1rem 1rem;
    background: #fafbfc;
}

.single-event-form-intro {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.75rem;
    line-height: 1.45;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    border-left: 3px solid #059669;
}

@media (min-width: 768px) {
    .single-event-modal-content {
        max-width: 560px;
    }
}

@media (min-width: 1024px) {
    .single-event-modal-content {
        max-width: 600px;
    }
    .single-event-modal-body {
        padding: 0.85rem 1.25rem 1.1rem;
    }
    .single-event-modal-header {
        padding: 0.85rem 1.25rem 0.6rem;
    }
}
.single-event-modal-body .single-event-form .form-row {
    margin-bottom: 0.65rem;
}
.single-event-modal-body .single-event-form .form-row-floating-pair {
    margin-bottom: 0.35rem;
}
.single-event-modal-body .single-event-form .form-row:last-of-type {
    margin-bottom: 0;
}
/* Floating label - email i datum u modalu */
.single-event-modal-body .single-event-form .form-floating {
    position: relative;
}
.single-event-modal-body .single-event-form .form-floating input {
    padding-top: 1.25rem;
}
.single-event-modal-body .single-event-form .form-floating label {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    pointer-events: none;
    transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.single-event-modal-body .single-event-form .form-floating input:focus ~ label,
.single-event-modal-body .single-event-form .form-floating input:not(:placeholder-shown) ~ label {
    top: 0.4rem;
    transform: translateY(0);
    font-size: 0.7rem;
    color: #059669;
}
.single-event-modal-body .single-event-form .date-picker-wrap.form-floating label {
    padding-right: 2rem;
}
.single-event-modal-body .single-event-form .form-row-actions {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    gap: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}
.single-event-modal-body .single-event-form .form-row-actions .btn-primary {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}
.single-event-modal-body .single-event-form .form-row-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.single-event-modal-body .single-event-form .form-row-actions .btn {
    flex: 0 1 auto;
    min-width: 90px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
}
.single-event-modal-body .single-event-form .form-policy-note {
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0.25rem 0 0;
    line-height: 1.35;
}
.single-event-modal-payment-label {
    font-weight: 600;
    color: #334155;
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
}
.single-event-modal-payment-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
}
.single-event-modal-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.single-event-payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.single-event-payment-option:hover {
    border-color: #bfdbfe;
    background: #f8fafc;
}
.single-event-payment-option:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}
.single-event-payment-option-recommended:has(input:checked) {
    border-color: #059669;
    background: #f0fdf4;
}
.single-event-payment-option input[type="radio"] {
    flex-shrink: 0;
}
.single-event-payment-option span {
    font-size: 0.95rem;
    color: #334155;
}
.btn-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.btn-link:hover {
    text-decoration: underline;
}

.single-event-form-wrap {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.single-event-form-panel {
    background: #f8fafc;
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}
.single-event-modal-body .single-event-form-panel {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
}

.single-event-form-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 1.25rem 0;
    text-align: center;
    line-height: 1.5;
}

.single-event-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.single-event-form .form-row .form-label {
    flex: 0 0 100%;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.single-event-modal-body .single-event-form .form-row .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.single-event-form .form-row:last-of-type {
    margin-bottom: 0;
}

.single-event-form .form-row-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    gap: 0.75rem;
}

.single-event-form .form-group {
    flex: 1;
    min-width: 140px;
}

.single-event-form .form-group-wide {
    flex: 1 1 100%;
}

.single-event-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.4rem;
}

.single-event-modal-body .single-event-form input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    min-height: 38px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-event-form input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.single-event-form input::placeholder {
    color: #94a3b8;
}

/* Date picker wrapper - Flatpickr */
.single-event-form .date-picker-wrap {
    position: relative;
}
.single-event-form .date-picker-wrap input {
    padding-right: 2.5rem;
    background: #fff;
}
.single-event-form .date-picker-wrap input[readonly] {
    background: #fff;
}
.single-event-form .date-picker-wrap .date-picker-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
    opacity: 0.6;
}

/* Izbor paketa u modalu */
.single-event-form .package-options-grid {
    display: grid;
    gap: 0.5rem;
}

.single-event-form .package-options-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .single-event-form .package-options-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .single-event-form .package-options-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.single-event-form .package-options-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .single-event-form .package-options-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.single-event-form .package-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    min-width: 0;
    padding: 0.6rem 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.single-event-form .package-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.single-event-form .package-option:has(input:checked) {
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.single-event-form .package-option-popular {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.single-event-form .package-option-popular:has(input:checked) {
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.single-event-form .package-option-badge {
    position: absolute;
    top: -0.65rem;
    right: 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    white-space: nowrap;
}

.single-event-form .package-option input[type="radio"] {
    appearance: none;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.single-event-form .package-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 0;
}

.single-event-form .package-option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    white-space: nowrap;
}

.single-event-form .package-option-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.single-event-form .single-event-selected-package {
    margin-bottom: 0;
}

.single-event-form .package-option-selected {
    cursor: default;
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    display: inline-flex;
}

.single-event-form .package-option-selected .package-option-inner {
    flex-direction: row;
    gap: 0.5rem;
}

.single-event-form .package-option-selected:hover {
    border-color: #059669;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

/* Način plaćanja - opcije */
.single-event-form .payment-method-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.single-event-form .payment-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.single-event-form .payment-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.single-event-form .payment-option:has(input:checked) {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.single-event-form .payment-option-recommended:has(input:checked) {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.single-event-form .payment-option input[type="radio"] {
    appearance: none;
    width: 1rem;
    height: 1rem;
    margin: 0.25rem 0 0 0;
    flex-shrink: 0;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.single-event-form .payment-option input[type="radio"]:hover {
    border-color: #94a3b8;
}

.single-event-form .payment-option input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.single-event-form .payment-option input[type="radio"]:checked:focus-visible {
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.single-event-form .payment-option-recommended input[type="radio"]:checked:focus-visible {
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(5, 150, 105, 0.4);
}

.single-event-form .payment-option input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: inset 0 0 0 2px #fff;
}

.single-event-form .payment-option-recommended input[type="radio"]:checked {
    border-color: #059669;
    background: #059669;
}

.single-event-form .payment-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.single-event-form .payment-option-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.single-event-form .payment-option-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* Fallback za stari markup (npr. span sa strong) */
.single-event-form .payment-option span:not(.payment-option-text) {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.single-event-form .payment-method-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.35rem 0;
    line-height: 1.4;
}

/* Logotipi plaćanja u modalu - zahtev trgovca */
.single-event-modal-body .modal-payment-logos-row {
    margin-bottom: 0.5rem;
}
.single-event-modal-body .modal-payment-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
}
.single-event-modal-body .modal-payment-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.single-event-modal-body .modal-payment-separator {
    width: 1px;
    height: 20px;
    background: rgba(148, 163, 184, 0.35);
    flex-shrink: 0;
}
.single-event-modal-body .modal-payment-logo img {
    height: 22px;
    width: auto;
    object-fit: contain;
}
.single-event-modal-body .modal-payment-link {
    color: #64748b;
    text-decoration: none;
}
.single-event-modal-body .modal-payment-link:hover {
    color: #475569;
}
@media (max-width: 480px) {
    .single-event-modal-body .modal-payment-logos {
        flex-direction: column;
        gap: 0.5rem;
    }
    .single-event-modal-body .modal-payment-separator {
        width: 50%;
        max-width: 80px;
        height: 1px;
    }
}

/* Flatpickr theme - uklapa se u single-event formu */
.flatpickr-calendar {
    font-family: inherit !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #10b981 !important;
    border-color: #10b981 !important;
}
.flatpickr-day:hover {
    background: #d1fae5 !important;
    border-color: #d1fae5 !important;
}
.flatpickr-months .flatpickr-month {
    background: #f8fafc !important;
    color: #0f172a !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month .numInputWrapper:hover {
    background: #e2e8f0 !important;
}
.flatpickr-weekdays span {
    color: #64748b !important;
}
.flatpickr-day.flatpickr-disabled {
    color: #cbd5e1 !important;
}

.single-event-form .checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #475569;
}
.single-event-form .checkbox-inline input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #059669;
}
.single-event-form .terms-preview-link {
    cursor: pointer;
    color: #059669;
    text-decoration: underline;
    font-weight: 600;
}
.single-event-form .terms-preview-link:hover {
    color: #047857;
}

.single-event-form .form-message,
.single-event-form-wrap .form-message,
.single-event-modal-body .form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.single-event-modal-body .form-message-top {
    margin-top: 0;
    margin-bottom: 0.6rem;
    border-radius: 10px;
}

.single-event-form .form-message.success,
.single-event-form-wrap .form-message.success,
.single-event-modal-body .form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 1rem 1.25rem;
}

.single-event-form-wrap .form-message.success a.btn {
    margin-top: 0.5rem;
}

.single-event-form .form-message.error,
.single-event-form-wrap .form-message.error,
.single-event-modal-body .form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 600px) {
    .single-event-section {
        padding: 3.5rem 0;
    }
    .single-event-card {
        padding: 2rem 1.5rem;
    }
    .single-event-card h2 {
        font-size: 1.5rem;
    }
    .single-event-price {
        font-size: 2.1rem;
    }
    .single-event-form-panel {
        padding: 1.5rem;
    }
    .single-event-form .form-group {
        min-width: 100%;
    }
    .single-event-form .form-row-actions {
        flex-direction: column;
    }
    .single-event-form .form-row-actions .btn {
        width: 100%;
    }
}

/* Dodatne usluge sekcija - posebna sekcija sa zelenim akcentom */
section.addon-services-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.addon-services-section .section-header h2 {
    color: #0f172a;
}

.addon-services-section .section-header p {
    color: #64748b;
}

.addon-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .addon-services-grid {
        grid-template-columns: 1fr;
    }
}

.addon-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #bbf7d0;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.06);
    transition: all 0.25s ease;
}
.addon-service-card:hover {
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
    border-color: #86efac;
    transform: translateY(-2px);
}

.addon-service-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.addon-service-header {
    margin-bottom: 0.5rem;
}

.addon-service-header h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin: 0;
}

.addon-service-card .addon-service-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.addon-service-why {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border-left: 3px solid #059669;
}

.addon-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    color: #475569;
}

.addon-service-features li {
    padding: 0.2rem 0;
    padding-left: 1rem;
    position: relative;
}

.addon-service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #059669;
}

.addon-service-price {
    margin-top: auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.addon-price-table {
    width: 100%;
    font-size: 0.9rem;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.addon-price-table th,
.addon-price-table td {
    padding: 0.35rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.addon-price-table th {
    font-weight: 600;
    color: #64748b;
}

.addon-price-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #059669;
}

.addon-price-note {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.addon-services-note {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.addon-services-note a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.addon-services-note a:hover {
    text-decoration: underline;
}

/* FAQ sekcija - plava nijansa za razliku od ostalih */
section.faq-section {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 40%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

section.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

section.faq-section .landing-container {
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.06);
}

.faq-item[open] {
    border-color: rgba(5, 150, 105, 0.4);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.1);
}

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    margin-left: auto;
    color: #64748b;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}
.step-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.step-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.step-number {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: #ffffff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta .landing-container {
    position: relative;
    z-index: 1;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-content h2 {
    margin-bottom: 0.5rem;
}

.contact-section {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.contact-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-meta {
    display: grid;
    gap: 1rem;
    color: #475569;
}

.contact-meta span {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
}

.contact-form .form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.contact-form h3 {
    margin-bottom: 1rem;
}

.contact-form textarea.form-input {
    resize: vertical;
    min-height: 140px;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.contact-social-link:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-social-icon {
    width: 22px;
    height: 22px;
}

/* Contact consent - koristi checkbox-inline kao na filterima (override .form-group label) */
.form-group.contact-consent-group label.checkbox-inline {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* Login page - centered card with subtle pattern */
.login-centered {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 280px);
    padding: 3rem 1rem;
}

.login-section-pattern {
    position: relative;
    width: 100%;
    max-width: 420px;
}
@media (min-width: 768px) {
    .login-section-pattern {
        max-width: 520px;
    }
}
@media (min-width: 1200px) {
    .login-section-pattern {
        max-width: 560px;
    }
}

/* Subtle dot pattern background */
.login-section-pattern::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f8fafc;
    background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: -1;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
    animation: loginCardFade 0.5s ease-out;
}

@keyframes loginCardFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card h3 {
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
}

.login-card-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.login-card .form-group {
    margin-bottom: 1.25rem;
}

.login-card .form-input {
    padding: 0.75rem 1rem;
    min-height: 44px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-card .form-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.login-card .form-input::placeholder {
    color: #94a3b8;
}

.login-card .btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.login-forgot-wrap {
    margin-top: 0.5rem;
}

.login-card .login-forgot-link,
.login-card a[href*="forgot"] {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.login-card .login-forgot-link:hover,
.login-card a[href*="forgot"]:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Demo page - wider content */
.demo-page .demo-container {
    max-width: min(1800px, 98%);
    width: 100%;
    padding-top: 68px; /* ispod fixed header-a */
}

.demo-page .landing-header .landing-container {
    width: min(1800px, 98%);
}

.landing-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
}

.footer-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.footer-brand p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.footer-col h4 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: #f8fafc;
}

.footer-col a,
.footer-col span {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col a.footer-link-fizicka {
    color: #5eead4;
    font-weight: 600;
}
.footer-col a.footer-link-fizicka:hover {
    color: #99f6e4;
}

.footer-demo-link .btn-icon {
    margin-right: 0.25rem;
}
.footer-demo-link {
    color: #34d399 !important;
    font-weight: 600;
}

.footer-demo-link:hover {
    color: #6ee7b7 !important;
}

.footer-contact-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}
.footer-contact-item {
    margin-bottom: 0.35rem;
}
.footer-contact-address {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Payment logos - zahtev trgovca: platni instrumenti | banka + Monri (sredina) | sigurnosni procesi */
.footer-payment-section {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.footer-payment-section-inner {
    text-align: center;
}
.footer-payment-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-payment-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
}
.footer-payment-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-payment-separator {
    width: 1px;
    height: 28px;
    background: rgba(148, 163, 184, 0.35);
    flex-shrink: 0;
}
.footer-payment-logo {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #94a3b8;
}
.footer-payment-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
}
.footer-payment-link {
    color: #94a3b8;
    text-decoration: none;
}
.footer-payment-link:hover {
    color: #cbd5e1;
}
@media (max-width: 640px) {
    .footer-payment-logos {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-payment-separator {
        width: 60%;
        max-width: 120px;
        height: 1px;
    }
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 1rem;
    color: #cbd5e1;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-bottom .footer-legal-link {
    color: #cbd5e1;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-bottom .footer-legal-link:hover {
    color: #f8fafc;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-social-icon {
    width: 20px;
    height: 20px;
}

/* Hamburger meni - na širini manjoj od 1400px */
@media (max-width: 1399px) {
    body:has(.landing-header) main {
        padding-top: 60px;
    }

    .section-chooser {
        min-height: min(70vh, 480px);
        min-height: min(70dvh, 480px);
    }

    .header-content {
        padding: 0.45rem 0;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0;
        align-items: center;
    }

    .header-content .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header-content .nav-toggle {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0.5rem;
    }

    .header-content .header-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 0.75rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Full-screen backdrop kad je mobilni meni otvoren - ispod navbar-a (brand + hamburger) */
    .landing-nav-backdrop {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 98;
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    .landing-header.is-open .landing-nav-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 16px;
        padding: 0.5rem;
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2),
                    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
        max-height: min(85vh, 520px);
        overflow-y: auto;
        z-index: 99;
        position: relative;
    }

    .landing-header.is-open .header-nav {
        display: flex;
        animation: header-nav-panel-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    /* Hamburger → X animacija + rotacija kada je meni otvoren */
    .landing-header.is-open .nav-toggle {
        transform: rotate(90deg);
        background: #f1f5f9;
        border-color: #94a3b8;
    }
    .landing-header.is-open .nav-toggle:active {
        transform: rotate(90deg) scale(0.94);
    }
    .landing-header.is-open .nav-toggle .nav-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(4px, 2px);
    }
    .landing-header.is-open .nav-toggle .nav-toggle-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .landing-header.is-open .nav-toggle .nav-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -2px);
    }

    /* Staggered animacija stavki menija kad se otvori */
    .landing-header.is-open .header-nav > a {
        animation: header-nav-item-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        opacity: 0;
    }
    .landing-header.is-open .header-nav > a:nth-child(1) { animation-delay: 0.03s; }
    .landing-header.is-open .header-nav > a:nth-child(2) { animation-delay: 0.06s; }
    .landing-header.is-open .header-nav > a:nth-child(3) { animation-delay: 0.09s; }
    .landing-header.is-open .header-nav > a:nth-child(4) { animation-delay: 0.12s; }
    .landing-header.is-open .header-nav > a:nth-child(5) { animation-delay: 0.15s; }
    .landing-header.is-open .header-nav > a:nth-child(6) { animation-delay: 0.18s; }
    .landing-header.is-open .header-nav > a:nth-child(7) { animation-delay: 0.21s; }
    .landing-header.is-open .header-nav > a:nth-child(8) { animation-delay: 0.24s; }
    .landing-header.is-open .header-nav > a:nth-child(9) { animation-delay: 0.27s; }

    /* Mobilni dropdown - linkovi */
    .header-nav a {
        font-size: 0.95rem !important;
        padding: 0.65rem 1rem !important;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    }
    .header-nav a:not(.btn):hover {
        background: rgba(37, 99, 235, 0.08);
        color: #2563eb;
    }
    .header-nav a:not(.btn):active {
        transform: scale(0.98);
    }

    /* Mobilni dropdown - CTA dugmad (PROBAJ BESPLATNO, Prijava) */
    .header-nav .btn-primary,
    .header-nav .btn-demo,
    .header-nav .btn-prijava {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem !important;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
        margin-top: 0.25rem;
        transition: transform 0.15s ease, box-shadow 0.2s ease !important;
    }
    .header-nav .btn-primary:active,
    .header-nav .btn-demo:active,
    .header-nav .btn-prijava:active {
        transform: scale(0.97) !important;
    }

    .header-nav {
        padding: 0.75rem;
        gap: 0.15rem;
        flex-wrap: nowrap;
    }

    /* Mobilni dropdown - separator između linkova (ne između dugmadi) */
    .header-nav > a + a::before {
        display: none;
    }
    .header-nav > a:not(.btn) + a:not(.btn) {
        border-top: 1px solid rgba(31, 41, 55, 0.08);
        padding-top: 0.5rem;
        margin-top: 0.15rem;
    }
    /* Veći razmak pre CTA dugmadi */
    .header-nav > a.btn-demo,
    .header-nav > a.btn-primary,
    .header-nav > a.btn-prijava {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(31, 41, 55, 0.12);
    }

    .hero-copy h1 {
        font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
    }

    .hero {
        padding-top: 0.5rem;
        scroll-margin-top: 60px;
    }

    #primeri,
    #features,
    #licenses,
    #roles,
    #roles-use-cases,
    #roles-cards,
    #how,
    #faq,
    #contact {
        scroll-margin-top: 60px;
    }

    .demo-page .demo-container {
        padding-top: 60px;
    }
}

@media (max-width: 828px) {
    .landing-container {
        width: 100%;
        padding: 0 1rem;
    }

    .hero {
        padding-top: 2rem;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        order: 1;
    }

    .hero-bullets {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem 1rem;
        margin-bottom: 1rem;
        order: 2;
    }

    .hero-bullets li {
        margin-bottom: 0;
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }

    .hero-copy .hero-actions {
        order: 3;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .hero-copy p {
        order: 4;
    }

    .hero-copy .hero-highlights {
        order: 5;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .landing-container {
        padding: 0 0.75rem;
    }

    .hero {
        padding-top: 0.5rem;
    }

    .hero-grid {
        gap: 1rem;
    }

    .hero-copy-inner {
        padding: 1.5rem 1.25rem;
    }

    .hero-bullets {
        grid-template-columns: 1fr;
        gap: 0.4rem 0;
        font-size: 0.95rem;
    }

    .hero-bullets li {
        padding-left: 1.4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .roles-cards {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem 1rem 1.5rem;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .footer-bottom span:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 0.5rem;
    }

    .footer-legal-sep {
        display: none;
    }

    .footer-legal-link {
        white-space: nowrap;
    }

    .footer-bottom span:last-child .footer-legal-link:not(:first-of-type)::before {
        content: " · ";
        color: #cbd5e1;
        margin-right: 0.25em;
    }
}

@media (max-width: 540px) {
    .landing-footer {
        padding: 2rem 0 1rem;
    }

    .landing-footer .landing-container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .footer-grid {
        gap: 1.25rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-brand p {
        font-size: 0.875rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .footer-bottom span:last-child {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom span:last-child .footer-legal-link:not(:first-of-type)::before {
        content: none;
    }
}

/* Uslovi korišćenja u dijalogu */
.dialog-content-body {
    line-height: 1.7;
}
.dialog-content-body h1 {
    color: #0f172a;
    border-bottom: 3px solid #0ea5e9;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    font-size: 1.25rem;
}
.dialog-content-body h2 {
    color: #0f172a;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-size: 1.1rem;
}
.dialog-content-body h3 {
    color: #475569;
    margin-top: 1em;
    font-size: 1rem;
}
.dialog-content-body ul,
.dialog-content-body ol {
    margin: 0.75em 0;
    padding-left: 1.5em;
}
.dialog-content-body li {
    margin: 0.35em 0;
}
.dialog-content-body .highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1em;
    margin: 1em 0;
    border-radius: 0 8px 8px 0;
}
.dialog-content-body .warning-box {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 1em;
    margin: 1em 0;
    border-radius: 0 8px 8px 0;
}
.dialog-content-body .contact-info {
    background: #f8fafc;
    padding: 1em;
    border-radius: 8px;
    margin: 1em 0;
}
.dialog-content-body .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75em;
    margin: 1em 0;
}
.dialog-content-body .service-card {
    background: #f8fafc;
    padding: 1em;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}
.dialog-content-body .legal-footer-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}
.dialog-content-body .legal-footer-links a {
    color: #0ea5e9;
    text-decoration: none;
}
.dialog-content-body .legal-footer-links a:hover {
    text-decoration: underline;
}
.dialog-content-body a {
    color: #0ea5e9;
}


