@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Cormorant+Garamond:ital,wght@0,1,500;0,1,600;0,1,700&display=swap');

/* Figma Make Pilates App — theme alignment (cream / gold / earth) */
.admin-dashboard-card {
    min-height: 140px;
}
/* Admin kartice: ista porodica boja, blago razlikovane (ne „duga“) */
.dash-card-users { background: linear-gradient(145deg, #8B7355 0%, #6B5A47 100%) !important; }
.dash-card-pilates { background: linear-gradient(145deg, #7D8B6B 0%, #5F6B52 100%) !important; }
.dash-card-salon { background: linear-gradient(145deg, #C9A96E 0%, #A67C52 100%) !important; }
.dash-card-bookings { background: linear-gradient(145deg, #7A9E8E 0%, #5C7F72 100%) !important; }
.dash-card-appointments { background: linear-gradient(145deg, #B8935E 0%, #8B6914 100%) !important; }
.dash-card-reports { background: linear-gradient(145deg, #A67C52 0%, #7D5A3B 100%) !important; }
.dash-card-settings { background: linear-gradient(145deg, #6B5D54 0%, #4A423C 100%) !important; }
.dash-card-translations { background: linear-gradient(145deg, #9A8B76 0%, #6E6254 100%) !important; }
.dash-card-calendar { background: linear-gradient(145deg, #8FA9A0 0%, #6B8580 100%) !important; }
.dash-card-packages { background: linear-gradient(145deg, #C9A96E 0%, #B8935E 100%) !important; }
.dash-card-orders { background: linear-gradient(145deg, #D4A574 0%, #B8894F 100%) !important; }
.admin-dashboard-card:hover { filter: brightness(1.04); box-shadow: 0 12px 28px rgba(61, 50, 38, 0.12); }

/* Opciono: hero pozadina sa fotografijom (samo gde eksplicitno dodaš klasu .main-bg) */
.main-bg {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/images/ajrinmob.jpg');
}
@media (min-width: 769px) {
    .main-bg {
        background-image: url('/images/ajrindesctop.jpg');
        background-attachment: fixed;
    }
}

/* Dizajn tokeni — usklađeno sa ajrin3/src/styles/theme.css (stranice bez ajrin3-theme.css) */
:root {
    --ajr-background: #FAF8F4;
    --ajr-foreground: #3D3226;
    --ajr-card: #FEFDFB;
    --ajr-primary: #C9A96E;
    --ajr-primary-foreground: #FEFDFB;
    --ajr-accent: #B8935E;
    --ajr-secondary: #E8DCC8;
    --ajr-muted: #EDE6D6;
    --ajr-muted-foreground: #8B7355;
    --ajr-border: rgba(201, 169, 110, 0.2);
    --ajr-ring: rgba(201, 169, 110, 0.35);
    --ajr-sidebar: #F5F1E8;
    --ajr-footer: #EBE6DC;
    --ajr-radius: 0.625rem;

    /* Legacy / Tailwind bridge */
    --color-primary: #C9A96E;
    --color-primary-dark: #B8935E;
    --color-accent: #B8935E;
    --color-accent-dark: #9A7B4F;
    --color-light: #EDE6D6;
    --color-pulse-brown: #3D3226;
    --color-pulse-brown-light: #2A231C;
    --color-pulse-cream: #F5F1E8;
    --color-pulse-gold: #C9A96E;

    --sidebar-bg: #F5F1E8;
    --sidebar-bg-dark: #EDE6D6;
    --sidebar-hover: rgba(201, 169, 110, 0.18);
    --sidebar-active: rgba(201, 169, 110, 0.35);
}

/* Celokupna aplikacija (admin + korisnik) — ista školjka kao Figma početna */
.app-shell {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--ajr-background) !important;
    color: var(--ajr-foreground);
    min-height: 100vh;
}

.app-shell h1, .app-shell h2, .app-shell .font-display {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ajr-foreground);
}

.app-top-header {
    background: rgba(254, 253, 251, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ajr-border) !important;
    box-shadow: 0 1px 0 rgba(61, 50, 38, 0.04);
}

.app-content-card {
    background: var(--ajr-card) !important;
    border: 1px solid var(--ajr-border) !important;
    border-radius: calc(var(--ajr-radius) + 4px);
    box-shadow: 0 4px 24px rgba(61, 50, 38, 0.06);
}

.app-shell-public {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--ajr-background);
    color: var(--ajr-foreground);
}

.app-shell-public .app-top-nav {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(10px);
    border-color: var(--ajr-border) !important;
}

/* Tamno dugme (sekundarni admin akcije) — usklađeno sa Figma foreground */
.bg-ajr-ink {
    background-color: var(--ajr-foreground) !important;
    color: var(--ajr-primary-foreground) !important;
}
.bg-ajr-ink:hover {
    background-color: #2a231c !important;
}

.dropdown-ajr-item:hover {
    background-color: var(--ajr-muted) !important;
}

/* Background Colors */
.bg-primary { background-color: var(--color-primary) !important; }
.bg-primary-dark { background-color: var(--color-primary-dark) !important; }
.bg-accent { background-color: var(--color-accent) !important; }
.bg-accent-dark { background-color: var(--color-accent-dark) !important; }
.bg-light { background-color: var(--color-light) !important; }
.bg-pulse-brown { background-color: var(--color-pulse-brown) !important; }
.bg-pulse-brown-light { background-color: var(--color-pulse-brown-light) !important; }
.bg-pulse-cream { background-color: var(--color-pulse-cream) !important; }
.bg-pulse-gold { background-color: var(--color-pulse-gold) !important; }

/* Text Colors */
.text-ajr-fg { color: var(--ajr-foreground) !important; }
.text-primary { color: var(--ajr-primary) !important; }
.text-on-cream { color: var(--ajr-foreground) !important; }
.text-primary-dark { color: var(--color-primary-dark) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-accent-dark { color: var(--color-accent-dark) !important; }
.text-light { color: var(--color-light) !important; }
.text-pulse-brown { color: var(--color-pulse-brown) !important; }
.text-pulse-brown-light { color: var(--color-pulse-brown-light) !important; }
.text-pulse-gold { color: var(--color-pulse-gold) !important; }

/* Border Colors */
.border-ajr-fg { border-color: var(--ajr-foreground) !important; }
.border-primary { border-color: var(--color-primary) !important; }
.border-accent { border-color: var(--color-accent) !important; }
.border-light { border-color: var(--color-light) !important; }
.border-pulse-gold { border-color: var(--color-pulse-gold) !important; }

/* Gradients */
.gradient-primary {
    background: linear-gradient(135deg, var(--ajr-primary) 0%, var(--ajr-accent) 100%) !important;
}

.gradient-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%) !important;
}

.gradient-light {
    background: linear-gradient(135deg, var(--color-light) 0%, #ffffff 100%) !important;
}

/* Tailwind gradient utilities for pulse-cream */
.from-pulse-cream {
    --tw-gradient-from: var(--color-pulse-cream) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 231, 225, 0)) !important;
}

.to-pulse-cream {
    --tw-gradient-to: var(--color-pulse-cream) !important;
}

/* Hover States */
.hover-bg-primary:hover { background-color: var(--color-primary) !important; }
.hover-bg-primary-dark:hover { background-color: var(--color-primary-dark) !important; }
.hover-bg-accent:hover { background-color: var(--color-accent) !important; }
.hover-bg-light:hover { background-color: var(--color-light) !important; }

.hover-text-primary:hover { color: var(--color-primary) !important; }
.hover-text-accent:hover { color: var(--color-accent) !important; }

/* Focus States */
.focus-border-primary:focus { border-color: var(--color-primary) !important; }
.focus-ring-primary:focus { 
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(46, 29, 10, 0.1) !important;
}

/* Sidebar — Figma svetla traka */
.sidebar-bg,
aside.sidebar-bg,
aside.mobile-sidebar,
aside[class*="mobile-sidebar"] {
    background: linear-gradient(180deg, var(--ajr-sidebar) 0%, #EDE6D6 100%) !important;
    background-color: var(--ajr-sidebar) !important;
    border-right: 1px solid var(--ajr-border) !important;
    color: var(--ajr-foreground) !important;
}

.sidebar-item {
    transition: all 0.2s ease !important;
    color: var(--ajr-foreground) !important;
    border-radius: var(--ajr-radius);
}

.sidebar-item:hover {
    background-color: var(--sidebar-hover) !important;
    transform: translateX(2px) !important;
    color: var(--ajr-foreground) !important;
}

.sidebar-item.active {
    background-color: var(--sidebar-active) !important;
    border-right: 3px solid var(--ajr-primary) !important;
    color: var(--ajr-foreground) !important;
    font-weight: 600;
}

.sidebar-text-light {
    color: var(--ajr-muted-foreground) !important;
}

.sidebar-section-title {
    color: var(--color-light) !important;
}

/* Button Styles */
.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ajr-primary) 0%, var(--ajr-accent) 100%) !important;
    color: var(--ajr-primary-foreground) !important;
    border-color: var(--ajr-accent) !important;
}

.btn-primary:hover {
    background: var(--ajr-accent) !important;
    filter: brightness(0.97);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.35);
}

.btn-accent {
    background: linear-gradient(135deg, var(--ajr-accent) 0%, #9A7B4F 100%) !important;
    color: var(--ajr-primary-foreground) !important;
    border-color: var(--ajr-accent) !important;
}

.btn-accent:hover {
    background: #9A7B4F !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(184, 147, 94, 0.3);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-outline-accent {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-outline-accent:hover {
    background: var(--color-accent);
    color: #ffffff;
}

.btn-light {
    background: var(--color-light);
    color: var(--color-primary);
    border-color: var(--color-light);
}

.btn-light:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
}

.btn-danger:hover {
    background: #b91c1c !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border-color: #059669 !important;
}

.btn-success:hover {
    background: #047857 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
}

.btn-lg {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
}

/* Disabled Button */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover,
.btn.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
textarea,
select {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--ajr-primary);
    box-shadow: 0 0 0 3px var(--ajr-ring);
}

/* Table Styles */
table {
    border-collapse: collapse;
    width: 100%;
}

table thead tr {
    background: linear-gradient(135deg, var(--ajr-accent) 0%, var(--ajr-primary) 100%);
    color: var(--ajr-primary-foreground);
}

table thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

table tbody tr:hover {
    background-color: rgba(193, 143, 81, 0.05);
}

table tbody td {
    padding: 1rem;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.badge-primary {
    background-color: var(--ajr-primary);
    color: var(--ajr-primary-foreground);
}

.badge-accent {
    background-color: var(--color-accent);
    color: #ffffff;
}

.badge-success {
    background-color: #059669;
    color: #ffffff;
}

.badge-danger {
    background-color: #dc2626;
    color: #ffffff;
}

.badge-warning {
    background-color: #f59e0b;
    color: #ffffff;
}

.badge-info {
    background-color: #3b82f6;
    color: #ffffff;
}

/* Register Form Button Styles */
button[type="submit"].bg-primary,
button[type="submit"].bg-pulse-brown {
    background-color: var(--ajr-primary) !important;
    color: var(--ajr-primary-foreground) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

button[type="submit"].bg-primary:hover,
button[type="submit"].bg-pulse-brown:hover {
    background-color: var(--ajr-accent) !important;
}

/* Glavni sadržaj — 1300px kao na dizajnu */
.ajr-content-holder {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 640px) {
    .ajr-content-holder {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* —— Marketing shell (javne stranice + auth) —— */
.marketing-body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--ajr-background);
    color: var(--ajr-foreground);
}

.marketing-body h1,
.marketing-body h2,
.marketing-body h3,
.marketing-body .font-display {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ajr-foreground);
}

.marketing-nav-link {
    opacity: 0.88;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.marketing-nav-link:hover {
    color: var(--ajr-primary);
    opacity: 1;
}

.marketing-header-mobile-divider {
    border-color: var(--ajr-border);
}

.marketing-dropdown {
    background: var(--ajr-card);
    border-color: var(--ajr-border);
    color: var(--ajr-foreground);
}

.marketing-footer {
    background: var(--ajr-footer);
    border-color: var(--ajr-border) !important;
}

.marketing-footer-copy-border {
    border-color: var(--ajr-border);
}

.marketing-alert-success {
    background: rgba(197, 163, 115, 0.12);
    border-color: var(--ajr-border);
    color: var(--ajr-foreground);
}

.marketing-alert-error {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: #991b1b;
}

.bg-ajr-muted {
    background-color: var(--ajr-muted) !important;
}

.ajr-kicker {
    font-size: 0.6875rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ajr-primary);
}

.ajr-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ajr-foreground);
    margin-bottom: 0.375rem;
}

.ajr-required {
    color: var(--ajr-primary);
    font-weight: 600;
}

.ajr-input,
textarea.ajr-input,
select.ajr-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--ajr-radius);
    border: 1px solid var(--ajr-border);
    background: #FDFCFA;
    color: var(--ajr-foreground);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ajr-input::placeholder {
    color: var(--ajr-muted-foreground);
    opacity: 0.75;
}

.ajr-input:focus {
    outline: none;
    border-color: var(--ajr-primary);
    box-shadow: 0 0 0 3px var(--ajr-ring);
}

.ajr-btn-cta {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: var(--ajr-radius);
    background: var(--ajr-primary);
    color: var(--ajr-primary-foreground);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.ajr-btn-cta:hover {
    background: var(--ajr-accent);
    box-shadow: 0 8px 24px rgba(197, 163, 115, 0.35);
}

.ajr-module-card {
    border-radius: var(--ajr-radius);
    border: 2px solid var(--ajr-border);
    background: #FDFCFA;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.ajr-module-card:hover {
    border-color: rgba(197, 163, 115, 0.55);
}

.ajr-module-card.is-selected {
    border-color: var(--ajr-primary);
    background: rgba(197, 163, 115, 0.08);
}

/* Registracija — usklađeno sa mockupom (krem, puno vazduha, blagi panel) */
.register-page-mockup {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .register-page-mockup {
        padding-top: 3.5rem;
        padding-bottom: 5rem;
    }
}

.register-form-mockup {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .register-form-mockup {
        max-width: 30rem;
    }
}

.register-form-mockup-heading h1 {
    font-size: clamp(2.125rem, 4.5vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.register-form-mockup .ajr-kicker {
    letter-spacing: 0.32em;
}

.register-form-mockup-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.register-form-mockup .ajr-input,
.register-form-mockup textarea.ajr-input,
.register-form-mockup select.ajr-input {
    background: #ffffff;
    border-radius: 0.5rem;
    border-color: rgba(74, 55, 40, 0.1);
    min-height: 2.875rem;
}

.register-form-mockup textarea.ajr-input {
    min-height: 6rem;
    resize: vertical;
}

.register-module-segment {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.register-module-segment label {
    flex: 1;
    min-width: 5.5rem;
    cursor: pointer;
}

.register-module-segment input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.register-module-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--ajr-radius);
    border: 1px solid rgba(74, 55, 40, 0.12);
    background: #fdfcfa;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ajr-foreground);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.register-module-segment input:focus-visible + .register-module-pill {
    outline: 2px solid var(--ajr-primary);
    outline-offset: 2px;
}

.register-module-segment input:checked + .register-module-pill {
    border-color: var(--ajr-primary);
    background: rgba(197, 163, 115, 0.12);
    color: var(--ajr-foreground);
    box-shadow: 0 0 0 1px rgba(197, 163, 115, 0.35);
}

.register-cta-mockup {
    margin-top: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
}

/* Registracija — ispravka preklapanja (CSS grid min-width, Tailwind preflight na button) */
.marketing-body > main.flex-1 {
    min-width: 0;
}

.register-form-mockup form.register-form-fields {
    display: flex;
    flex-direction: column;
    gap: 2.1rem;
    width: 100%;
    max-width: 100%;
}

.register-form-mockup .register-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .register-form-mockup .register-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.register-form-mockup .register-grid-2 > * {
    min-width: 0;
    width: 100%;
}

.register-form-mockup .register-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.register-form-mockup input.register-input,
.register-form-mockup select.register-input,
.register-form-mockup textarea.register-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0.9rem 1rem !important;
    border-radius: 0.65rem !important;
    min-height: 3rem !important;
}

.register-form-mockup textarea.register-textarea {
    min-height: 7.5rem !important;
    line-height: 1.5 !important;
    resize: vertical;
}

.register-form-mockup select.register-select {
    cursor: pointer;
}

.register-form-mockup .ajr-form-label {
    flex-shrink: 0;
}

.register-form-mockup button.register-submit-btn,
.login-card button.login-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0.25rem;
    padding: 0.9375rem 1.5rem !important;
    border: none !important;
    border-radius: 0.5rem !important;
    background-color: #C5A373 !important;
    background-image: linear-gradient(180deg, #c9a878 0%, #b8935e 100%) !important;
    color: #FEFDFB !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    font-family: 'DM Sans', system-ui, sans-serif;
    line-height: 1.25 !important;
    text-align: center !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.register-form-mockup button.register-submit-btn:hover,
.login-card button.login-submit-btn:hover {
    filter: brightness(0.97);
    box-shadow: 0 8px 24px rgba(197, 163, 115, 0.35);
}

/* Pre-Pilates upitnik — redovi Da/Ne, checkbox mreža */
.register-form-mockup .register-q-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
    .register-form-mockup .register-q-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
    }
}

.register-form-mockup .register-q-label {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.45;
    color: inherit;
    opacity: 0.92;
}

.register-form-mockup .register-q-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 0;
}

.register-form-mockup .register-q-opt {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.register-form-mockup .register-conditions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 1rem;
}

@media (min-width: 480px) {
    .register-form-mockup .register-conditions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.register-form-mockup .register-check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.register-form-mockup .register-declaration-box {
    padding: 1rem 1.125rem;
    border-radius: 0.5rem;
    border: 1px dashed rgba(197, 163, 115, 0.45);
    background: rgba(245, 241, 233, 0.35);
}

/* Registracija — čarobnjak (koraci) */
.register-form-mockup .register-wizard-root {
    width: 100%;
}

.register-form-mockup .register-wizard-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.125rem 0;
}

.register-form-mockup .register-wizard-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    padding: 0 0.125rem;
}

.register-form-mockup .register-wizard-dot-num {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 2px solid rgba(197, 163, 115, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: inherit;
}

.register-form-mockup .register-wizard-dot.is-active .register-wizard-dot-num {
    border-color: #c5a373;
    background: rgba(197, 163, 115, 0.18);
}

.register-form-mockup .register-wizard-dot.is-done .register-wizard-dot-num {
    border-color: rgba(34, 197, 94, 0.65);
    background: rgba(34, 197, 94, 0.12);
}

.register-form-mockup .register-wizard-dot-label {
    font-size: 0.625rem;
    line-height: 1.15;
    max-width: 4.25rem;
    opacity: 0.78;
}

@media (min-width: 640px) {
    .register-form-mockup .register-wizard-dot-label {
        font-size: 0.6875rem;
        max-width: none;
    }
}

.register-form-mockup .register-wizard-connector {
    width: clamp(0.5rem, 2vw, 1.25rem);
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    align-self: center;
    margin-top: 1rem;
    flex-shrink: 0;
}

.register-form-mockup .register-wizard-connector.is-done {
    background: rgba(34, 197, 94, 0.45);
}

.register-form-mockup .register-wizard-panel {
    min-height: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.register-form-mockup .register-wizard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    min-width: 11rem;
    padding: 0.85rem 1.45rem;
    border-radius: 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.register-form-mockup .register-wizard-btn-secondary {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: inherit;
}

.register-form-mockup .register-wizard-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: 0 6px 18px rgba(46, 36, 26, 0.1);
}

.register-form-mockup .register-wizard-btn-primary {
    border: none;
    background: linear-gradient(180deg, #c9a878 0%, #b8935e 100%);
    color: #fefdfb;
    box-shadow: 0 8px 22px rgba(197, 163, 115, 0.28);
}

.register-form-mockup .register-wizard-btn-primary:hover {
    filter: brightness(0.97);
}

.register-form-mockup .register-wizard-actions {
    gap: 0.85rem !important;
}

.register-form-mockup .register-wizard-actions .register-wizard-btn,
.register-form-mockup .register-wizard-actions .register-submit-btn {
    width: 100% !important;
}

@media (min-width: 640px) {
    .register-form-mockup .register-wizard-actions .register-wizard-btn,
    .register-form-mockup .register-wizard-actions .register-submit-btn {
        width: auto !important;
        min-width: 15.5rem;
    }
}

/* Prijava — kao na maketi (bež zona + bela kartica) */
.login-page-outer {
    width: 100%;
}

.login-page-section {
    background: #F5F1E9;
    padding: 3rem 0;
    min-height: min(72vh, 820px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border-radius: 0.625rem;
    box-shadow: 0 4px 28px rgba(74, 55, 40, 0.1);
    border: 1px solid rgba(74, 55, 40, 0.06);
    padding: 2.5rem 2rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .login-card {
        padding: 2.75rem 2.25rem;
    }
}

.login-welcome-title {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4.5vw, 2.625rem);
    font-weight: 600;
    color: var(--ajr-primary) !important;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.login-subtext {
    text-align: center;
    color: var(--ajr-foreground);
    opacity: 0.88;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    line-height: 1.55;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.login-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: 100%;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
    min-width: 0;
}

.login-card input.login-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(74, 55, 40, 0.12) !important;
    background: #ffffff !important;
    color: var(--ajr-foreground) !important;
    font-size: 0.9375rem !important;
    min-height: 2.875rem;
}

.login-card input.login-input:focus {
    outline: none !important;
    border-color: var(--ajr-primary) !important;
    box-shadow: 0 0 0 3px var(--ajr-ring) !important;
}

.login-card input.login-input::placeholder {
    color: var(--ajr-muted-foreground);
    opacity: 0.75;
}

.login-register-line {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.875rem;
    color: var(--ajr-foreground);
    opacity: 0.82;
}

.login-register-line a {
    color: var(--ajr-primary);
    font-weight: 600;
    text-decoration: none;
}

.login-register-line a:hover {
    text-decoration: underline;
    opacity: 0.92;
}

.login-dev-hint {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ajr-border);
}

/* —— Admin panel (maketa: beli top bar, 1300px, pending plava zona) —— */
.admin-app-top {
    box-shadow: 0 1px 0 rgba(74, 55, 40, 0.06);
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.admin-pill-active {
    background: linear-gradient(180deg, #c9a878 0%, #c5a070 100%) !important;
    color: #fefdfb !important;
    box-shadow: 0 2px 8px rgba(197, 160, 112, 0.35);
}

.admin-pill-soft {
    background: rgba(197, 163, 115, 0.22) !important;
    color: var(--ajr-foreground) !important;
    border: 1px solid rgba(197, 163, 115, 0.35);
}

.admin-pill-soft:hover {
    background: rgba(197, 163, 115, 0.32) !important;
}

.admin-pill-gear {
    background: linear-gradient(180deg, #c9a878 0%, #b8935e 100%) !important;
    color: #fefdfb !important;
    border: none;
    cursor: pointer;
}

.admin-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ajr-foreground);
    background: transparent;
    border: 1px solid var(--ajr-border);
}

.admin-main-bg {
    background: #fdfbf7;
}

.admin-pending-panel {
    background: #e3f2fd;
    border-radius: 0.75rem;
    padding: 1.25rem 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(25, 118, 210, 0.12);
}

.admin-pending-card {
    background: #fff;
    border: 1px solid rgba(74, 55, 40, 0.1);
    border-radius: 0.625rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.admin-pending-card:last-child {
    margin-bottom: 0;
}

.admin-btn-approve {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    background: #4d9a6a !important;
    color: #fff !important;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.admin-btn-approve:hover {
    background: #449560 !important;
    filter: none;
    box-shadow: 0 2px 6px rgba(77, 154, 106, 0.35);
}

.admin-btn-approve:focus-visible {
    outline: 2px solid #4d9a6a;
    outline-offset: 2px;
}

.admin-btn-reject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    background: #fff !important;
    color: #9b2d4f !important;
    border: 1px solid #9b2d4f !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.admin-btn-reject:hover {
    background: rgba(155, 45, 79, 0.08) !important;
    color: #861f42 !important;
    border-color: #861f42 !important;
}

.admin-btn-reject:focus-visible {
    outline: 2px solid #9b2d4f;
    outline-offset: 2px;
}

/* Puna širina u modalu / flex redu za pending */
.pending-request-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .pending-request-actions {
        flex-direction: row;
    }
}

.pending-request-actions .admin-btn-approve,
.pending-request-actions .admin-btn-reject {
    flex: 1 1 0%;
    min-height: 2.75rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 0.875rem;
}

.admin-calendar-panel {
    background: #fff;
    border: 1px solid rgba(74, 55, 40, 0.08);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(74, 55, 40, 0.06);
    margin-bottom: 2rem;
}

.admin-segment {
    display: inline-flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(74, 55, 40, 0.12);
}

.admin-segment a {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ajr-foreground);
    background: #fff;
    text-decoration: none !important;
}

.admin-segment a:hover {
    background: var(--ajr-muted);
}

.admin-segment a.is-active {
    background: linear-gradient(180deg, #c9a878 0%, #c5a070 100%);
    color: #fff;
}

.admin-dashboard-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-dashboard-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--ajr-foreground);
    margin: 0.5rem 0 0.75rem;
}

/* Dashboard: week preview grid (under hero) */
.admin-dashboard-week-calendar {
    max-width: 100%;
}

.admin-dash-week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(74, 55, 40, 0.08);
}

.admin-dash-week-day {
    padding: 0.65rem 0.5rem 0.75rem;
    border-right: 1px solid rgba(74, 55, 40, 0.08);
    min-width: 0;
}

.admin-dash-week-day:last-child {
    border-right: none;
}

.admin-dash-week-day--today {
    background: rgba(201, 169, 110, 0.08);
}

.admin-dash-week-day-body {
    max-height: 14rem;
    overflow-y: auto;
}

@media (max-width: 900px) {
    .admin-dash-week-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-dash-week-grid {
        grid-template-columns: repeat(7, minmax(7.5rem, 1fr));
        min-width: 52rem;
    }
}

/* Admin calendar — weekly time grid (classes tab) */
.admin-weekly-grid {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.admin-weekly-grid-head,
.admin-weekly-grid-row {
    display: grid;
    grid-template-columns: 3.25rem repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
    align-items: stretch;
}

.admin-weekly-corner {
    min-height: 2.75rem;
}

.admin-weekly-day-head {
    text-align: center;
    padding: 0.4rem 0.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(74, 55, 40, 0.08);
    background: #fdfbf7;
}

.admin-weekly-day-head--today {
    border-color: rgba(107, 84, 44, 0.45);
    box-shadow: inset 0 0 0 1px rgba(197, 160, 112, 0.25);
}

.admin-weekly-time-gutter {
    padding: 0.35rem 0.25rem 0;
    text-align: right;
    align-self: start;
}

.admin-weekly-cell {
    min-width: 0;
}

.admin-weekly-placeholder-bar {
    height: 0.45rem;
    border: 1px dashed rgba(74, 55, 40, 0.15);
    background: rgba(255, 255, 255, 0.35);
}

.admin-weekly-participant-booked {
    background: #dcf0d1;
    color: #14532d;
    border: 1px solid rgba(20, 83, 45, 0.12);
}

.admin-weekly-participant-open {
    color: #6b542c;
    border: 1px solid rgba(74, 55, 40, 0.18);
    background: #fff;
}

.admin-weekly-participant-open:hover {
    background: rgba(253, 251, 247, 0.95);
    border-color: rgba(197, 160, 112, 0.45);
}

/* Admin — Members (/admin/users) */
.admin-members-back {
    color: var(--ajr-muted-foreground, #8b7355);
}

.admin-members-table {
    border-collapse: collapse;
    width: 100%;
}

.admin-members-table thead tr {
    background: linear-gradient(180deg, #ebe4d6 0%, #e4dcc8 100%);
    border-bottom: 1px solid rgba(74, 55, 40, 0.12);
}

.admin-members-table th {
    padding: 0.85rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c4a38;
}

.admin-members-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(74, 55, 40, 0.07);
}

.admin-members-row:last-child td {
    border-bottom: none;
}

.admin-members-row:hover td {
    background: rgba(253, 251, 247, 0.65);
}

.admin-members-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.admin-members-badge--active {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 1px 2px rgba(34, 197, 94, 0.25);
}

.admin-members-badge--pending {
    background: #f59e0b;
    color: #fff;
}

.admin-members-badge--expired {
    background: #fecaca;
    color: #991b1b;
}

.admin-members-badge--inactive {
    background: #e5e7eb;
    color: #4b5563;
}

.admin-members-badge--neutral {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid rgba(74, 55, 40, 0.12);
}

.admin-dash-card-grid .admin-dashboard-card {
    transform: none;
}

.admin-dash-card-grid .admin-dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(61, 50, 38, 0.12);
}

/* Početna / header / hero / tabovi — vidi public/css/ajrin3-theme.css (port theme.css) */
.ajr-figma-tab {
    color: var(--ajr-foreground);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ajr-figma-tab-active {
    background: linear-gradient(135deg, var(--ajr-primary) 0%, var(--ajr-accent) 100%);
    color: var(--ajr-primary-foreground, #FEFDFB);
    border: 2px solid transparent;
}
.ajr-figma-tab:not(.ajr-figma-tab-active) {
    border-color: var(--ajr-primary);
    color: var(--ajr-primary);
    background: transparent;
}
.ajr-figma-logo-glow {
    background: linear-gradient(to bottom right, var(--ajr-primary), var(--ajr-accent), var(--ajr-primary));
}
.ajr-figma-kicker {
    color: var(--ajr-primary);
}
.ajr-figma-card {
    color: var(--ajr-foreground);
}
.ajr-fg-no-underline:hover {
    text-decoration: none;
}

/* Laravel admin + Blade: utility paritet sa Tailwind v4 temom (ako klasa nije u ajrin3-bundle) */
.text-foreground\/70 {
    color: color-mix(in srgb, var(--ajr-foreground, #3d3226) 70%, transparent);
}
.border-primary\/20 {
    border-color: color-mix(in srgb, var(--ajr-primary, #c9a96e) 20%, transparent);
}
.border-primary\/25 {
    border-color: color-mix(in srgb, var(--ajr-primary, #c9a96e) 25%, transparent);
}
.hover\:border-primary\/30:hover {
    border-color: color-mix(in srgb, var(--ajr-primary, #c9a96e) 30%, transparent);
}
.bg-secondary\/30 {
    background-color: color-mix(in srgb, var(--ajr-secondary, #e8dcc8) 30%, transparent);
}
.bg-background\/40 {
    background-color: color-mix(in srgb, var(--ajr-background, #faf8f4) 40%, transparent);
}
.bg-muted\/30 {
    background-color: color-mix(in srgb, var(--ajr-muted, #ede6d6) 30%, transparent);
}
.bg-muted\/50 {
    background-color: color-mix(in srgb, var(--ajr-muted, #ede6d6) 50%, transparent);
}
.text-muted-foreground {
    color: var(--ajr-muted-foreground, #8b7355);
}
.tracking-\[0\.3em\] {
    letter-spacing: 0.3em;
}
.hover\:bg-muted\/50:hover {
    background-color: color-mix(in srgb, var(--ajr-muted, #ede6d6) 50%, transparent);
}
.hover\:text-accent:hover {
    color: var(--ajr-accent, #b8935e);
}
.bg-background {
    background-color: var(--ajr-background, #faf8f4);
}
.text-foreground {
    color: var(--ajr-foreground, #3d3226);
}
