/* Resetiraj.me — shared frontend and WordPress admin UI. Scoped, touch-friendly. */
:where(.rbm14-manager,.rbm14-calendar,.rbm14-partner-bookings,.rbm14-admin-header,.rbm14-reservations-page){--rbm14-ink:#202B35;--rbm14-accent:#B7472A;--rbm14-soft:#F6F4F0;--rbm14-line:#dfe3e5;--rbm14-muted:#64727c;color:var(--rbm14-ink)}
.rbm14-manager,.rbm14-calendar,.rbm14-partner-bookings,.rbm14-reservations-page{box-sizing:border-box;max-width:100%;min-width:0;overflow-wrap:anywhere}
.rbm14-manager *, .rbm14-calendar *, .rbm14-partner-bookings *{box-sizing:border-box}
.rbm14-manager{background:#fff;border:1px solid #e0e4e6;border-radius:17px;padding:clamp(14px,2.8vw,26px);box-shadow:0 7px 24px #202B3509;margin:18px 0;max-width:1180px}
.rbm14-intro{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:20px}
.rbm14-intro h2,.rbm14-section-heading h2{font-size:clamp(20px,3vw,26px);color:#202B35;line-height:1.2;margin:0 0 8px}
.rbm14-intro p,.rbm14-section-heading p{color:#64727c;margin:0;line-height:1.55}
.rbm14-filters{display:flex!important;flex-wrap:wrap;align-items:end;gap:12px;background:#F6F4F0;border:1px solid #e7e4df;border-radius:14px;padding:14px;margin:15px 0 20px;max-width:100%}
.rbm14-filter{display:flex!important;flex:1 1 185px;flex-direction:column;gap:6px;min-width:0;margin:0!important;color:#202B35;font-size:13px;font-weight:700;line-height:1.4}
.rbm14-filters select,.rbm14-filters input{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:43px!important;padding:8px 12px!important;background:#fff!important;color:#202B35!important;border:1px solid #cdd3d7!important;border-radius:9px!important;font-size:15px!important;line-height:1.4!important}
.rbm14-btn,.rbm14-filters .button-primary{background:#B7472A!important;border:1px solid #B7472A!important;color:#fff!important;border-radius:9px!important;min-height:43px!important;padding:9px 20px!important;text-decoration:none!important;font-weight:700!important;cursor:pointer!important;line-height:1.35!important;white-space:nowrap}
.rbm14-btn:hover,.rbm14-filters .button-primary:hover{background:#91331b!important;color:#fff!important}
.rbm14-context{padding:12px 14px;background:#f7f9f9;border-left:3px solid #B7472A;display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#46535e;font-size:14px;border-radius:7px;margin:10px 0 20px;line-height:1.4}
.rbm14-context a{font-size:13px;color:#9b3d27;margin-left:auto;white-space:nowrap}
.rbm14-context a.button{margin-left:0}
.rbm14-message{margin:12px 0;background:#fff3ec;color:#73301d;padding:12px;border-radius:9px;border-left:4px solid #B7472A}
.rbm14-empty{padding:25px;border:1px dashed #bcc5cd;color:#52636e;background:#f7f8f9;border-radius:12px;margin-top:16px}
.rbm14-calendar{padding:18px;border:1px solid #dfe3e5;border-radius:16px;background:#fff;margin:16px 0 20px;max-width:100%;width:100%;overflow:hidden}
.rbm14-monthhead{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px;margin:0 0 16px!important;padding:0!important}
.rbm14-monthhead h3{margin:0!important;min-width:0;color:#202B35!important;font-weight:750!important;font-size:clamp(17px,2.7vw,23px)!important;line-height:1.25!important;text-align:center!important;text-transform:capitalize}
.rbm14-monthnav{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;min-height:38px!important;flex:0 0 auto;border:1px solid #dce0e4!important;border-radius:9px!important;background:#fff!important;text-decoration:none!important;color:#202B35!important;padding:6px 12px!important;font-size:13px!important;font-weight:700;line-height:1.25!important}
.rbm14-monthnav:hover{border-color:#B7472A!important;color:#B7472A!important}
.rbm14-monthgrid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:clamp(2px,.65vw,7px)!important;width:100%!important;max-width:100%!important;min-width:0!important;align-items:stretch!important;justify-content:stretch!important}
.rbm14-monthgrid>.rbm14-weekday{display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 0!important;min-width:0!important;text-align:center!important;background:transparent!important;color:#596975!important;font-size:clamp(10px,1.5vw,13px)!important;font-weight:700!important;white-space:nowrap!important;line-height:1!important;min-height:27px!important}
.rbm14-monthgrid>.rbm14-pad{display:block!important;min-width:0!important}
.rbm14-monthgrid>.rbm14-day{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;min-width:0!important;width:100%!important;height:clamp(37px,6vw,56px)!important;min-height:0!important;max-height:62px!important;padding:2px!important;box-sizing:border-box!important;border-radius:8px!important;font-size:clamp(12px,2.2vw,16px)!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;border:1px solid transparent!important;white-space:nowrap!important;color:#202B35}
.rbm14-day .rbm14-dot{height:5px!important;width:5px!important;border-radius:50%!important;display:block!important;background:currentColor!important;opacity:.5}
.rbm14-day.rbm14-free{background:#eaf5ef!important;color:#276149!important}
.rbm14-day.rbm14-pending{background:#fff1d3!important;color:#8f5c12!important}
.rbm14-day.rbm14-confirmed{background:#f7ddd4!important;color:#98402b!important}
.rbm14-day.rbm14-blocked{background:#e7e9ed!important;color:#515a68!important}
.rbm14-day.rbm14-past{background:#f4f5f6!important;color:#9aa4ad!important;font-weight:400!important}
.rbm14-day.rbm14-today{border:2px solid #202B35!important}
.rbm14-legend{display:flex!important;flex-wrap:wrap!important;gap:10px 18px!important;margin:17px 0 0!important;padding:0!important;align-items:center;color:#53636f!important;font-size:12px!important;line-height:1.3!important}
.rbm14-legend>span{display:inline-flex!important;gap:7px!important;align-items:center!important;white-space:nowrap!important}
.rbm14-key{height:12px;width:12px;border-radius:3px;border:1px solid #cdd1d3;display:inline-block;flex:none}
.rbm14-key-free{background:#eaf5ef}.rbm14-key-pending{background:#fff1d3}.rbm14-key-confirmed{background:#f7ddd4}.rbm14-key-blocked{background:#e7e9ed}
.rbm14-block{margin-top:22px;background:#F6F4F0;border:1px solid #e5e1db;padding:clamp(14px,2vw,22px);border-radius:13px}
.rbm14-block summary{font-size:18px;font-weight:750;color:#202B35;cursor:pointer;margin-bottom:9px}
.rbm14-block-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 15px;margin:13px 0 16px}
.rbm14-block-fields label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;color:#202B35;font-size:13px;font-weight:700;margin:0!important}
.rbm14-block-fields input,.rbm14-block-fields select{box-sizing:border-box!important;max-width:100%!important;width:100%!important;min-width:0!important;min-height:44px!important;border-radius:9px!important;border:1px solid #c8d0d5!important;padding:9px!important;font-size:15px!important;color:#202B35!important;background:#fff!important}
.rbm14-block-list{padding:14px 2px;margin-top:15px}.rbm14-block-list h3{margin:0 0 10px!important;font-size:18px!important}.rbm14-block-list form{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px!important;border-bottom:1px solid #edf0f1!important;padding:11px 0!important;margin:0!important}.rbm14-block-list form span{flex:1 1 180px!important}.rbm14-block-list form small{display:block!important;color:#64727c!important;margin-top:4px!important}.rbm14-remove{background:#fff!important;border:1px solid #d7a59b!important;border-radius:8px!important;padding:9px 12px!important;color:#913e2c!important;cursor:pointer!important}
.rbm14-partner-bookings{max-width:1200px;margin:20px auto;background:#fff;border:1px solid #e2e5e7;border-radius:15px;padding:clamp(14px,2vw,23px)}
.rbm14-section-heading{margin-bottom:14px}
.rbm14-booking-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:13px}
.rbm14-booking-card{border:1px solid #dfe4e7;border-radius:12px;padding:16px;background:#fff;min-width:0}
.rbm14-booking-top{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:7px}
.rbm14-booking-top strong{font-size:16px;color:#202B35}
.rbm14-booking-meta{display:flex;flex-wrap:wrap;gap:8px 15px;font-size:13px;color:#63717c;margin:14px 0}
.rbm14-booking-meta strong{color:#202B35}.rbm14-booking-card p{font-size:13px;color:#53626d;margin-bottom:4px}
.rbm14-status{display:inline-flex;align-items:center;background:#e9eef2;border-radius:20px;padding:5px 10px;color:#344754;font-size:12px;font-weight:700;white-space:nowrap}
.rbm14-status-pending{background:#fff0ce;color:#8f5b0f}.rbm14-status-confirmed{background:#e1f4e8;color:#20613e}.rbm14-status-cancel_requested,.rbm14-status-cancelled{background:#fae0d8;color:#8a3926}.rbm14-status-completed{background:#e2edf7;color:#26547c}
.rbm14-note{color:#64727c;font-size:12px;margin-top:15px}
/* Admin UI navigation */
.rbm14-admin-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;margin:12px 20px 15px 0;background:#fff;border:1px solid #e2e5e7;border-radius:14px;box-shadow:0 3px 12px rgba(32,43,53,.04);min-width:0;box-sizing:border-box}
.rbm14-logo{display:block;max-width:200px!important;width:200px!important;height:auto!important;object-fit:contain}
.rbm14-admin-header>a{display:block;flex:0 0 auto}
.rbm14-admin-nav{display:flex;align-items:center;gap:3px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;-webkit-overflow-scrolling:touch;max-width:100%;min-width:0}
.rbm14-admin-nav a{display:inline-flex;text-decoration:none;border-radius:8px;padding:10px 12px;font-size:13px;color:#3c4a55;font-weight:650}
.rbm14-admin-nav a:hover,.rbm14-admin-nav a.is-current{color:#B7472A;background:#f8ece7}
.rbm14-reservations-page h1,.rbm14-admin-calendar h1{font-size:clamp(24px,3vw,32px)!important}
.rbm14-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;max-width:920px;margin:20px 0}
.rbm14-stats>div{background:#fff;border:1px solid #e1e5e7;border-radius:13px;padding:14px;display:grid;gap:5px}
.rbm14-stats strong{font-size:24px;color:#B7472A}.rbm14-stats span{color:#53636f;font-size:13px}
.rbm14-tablewrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.rbm14-reservations-table{min-width:880px!important;table-layout:auto;width:100%}
.rbm14-reservations-table th{white-space:nowrap}.rbm14-reservations-table td{vertical-align:top!important;font-size:13px;line-height:1.5;max-width:320px;overflow-wrap:anywhere}
.rbm14-reservations-table td:nth-child(5){min-width:180px}
.rbm14-status-form{display:grid;gap:7px;margin-top:11px}.rbm14-status-form select{max-width:100%;width:100%;font-size:13px}
.rbm14-admin-calendar>.rbm14-manager{max-width:1180px}
.rbm-admin .rbm121-table th,.rbm-admin .rbm121-table td{vertical-align:middle;padding:13px}
.rbm-admin .rbm121-table .button{margin:3px 2px}
/* Flexible account navigation and dense editing interfaces */
.rbm13-account-header h2{font-size:clamp(19px,3vw,25px)}
.rbm13-account-nav a{font-weight:600;font-size:14px;line-height:1.35}
.rbm13-account-panel{overflow-x:hidden}
.rbm13-account-panel .rbm14-manager{max-width:100%;margin:0;border:none;box-shadow:none;padding:0}
.rbm13-account-panel .rbm14-calendar{padding:12px}
.rbm13-account-panel .rbm14-manager .rbm14-filters{padding:10px}
.rbm11-front-form,.rbm121-admin-view{max-width:100%;min-width:0}
.rbm11-front-form :is(input,textarea,select){box-sizing:border-box;max-width:100%}
@media(max-width:900px){.rbm14-admin-header{flex-wrap:wrap}.rbm14-admin-nav{flex:1 1 100%;padding:0 0 4px}.rbm14-admin-header .rbm14-logo{max-width:174px!important;width:174px!important}}
@media(max-width:782px){.rbm14-admin-header{margin:10px 10px 12px 0}.rbm14-block-fields{grid-template-columns:1fr}.rbm14-reservations-page .rbm14-filters{gap:10px}.rbm14-admin-calendar>.rbm14-manager{padding:14px}.rbm14-monthnav span{display:none}.rbm14-monthnav{min-width:40px;min-height:40px;padding:7px!important;font-size:22px!important}.rbm14-booking-cards{grid-template-columns:1fr}}
@media(max-width:520px){.rbm14-manager{padding:10px;border-radius:12px}.rbm14-filters{padding:10px}.rbm14-filter{flex-basis:100%}.rbm14-filters>.rbm14-btn{width:100%}.rbm14-calendar{padding:8px;margin:12px 0}.rbm14-monthgrid{gap:3px!important}.rbm14-monthgrid>.rbm14-day{height:clamp(34px,9vw,44px)!important;font-size:13px!important;border-radius:6px!important}.rbm14-weekday{font-size:10px!important}.rbm14-monthhead{margin-bottom:12px!important}.rbm14-monthhead h3{font-size:17px!important}.rbm14-legend{gap:9px!important;font-size:11px!important}.rbm14-context{display:block;line-height:1.9}.rbm14-context a{margin:0 8px 0 0}.rbm14-block{padding:12px}.rbm14-block-list form{align-items:flex-start!important}.rbm14-reservations-page .rbm14-filters .button{width:100%;text-align:center}.rbm14-admin-header{padding:10px}}
.rbm14-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;color:#53636f}
.rbm14-pagination .button{margin:0}
.rbm14-operations{margin:22px 0}.rbm14-operations h2{margin:0 0 12px}
.rbm14-operation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;max-width:1100px}
.rbm14-operation-grid a{background:#fff;border:1px solid #e2e5e7;border-radius:12px;padding:18px;display:flex;gap:7px;flex-direction:column;text-decoration:none;color:#202B35}
.rbm14-operation-grid strong{color:#B7472A;font-size:24px}.rbm14-operation-grid span{font-size:13px;color:#53636f}
@media(max-width:700px){
 .rbm14-reservations-table,.rbm14-reservations-table tbody,.rbm14-reservations-table tr,.rbm14-reservations-table td{display:block!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
 .rbm14-reservations-table thead{display:none!important}
 .rbm14-reservations-table tr{margin:0 0 15px!important;background:#fff!important;border:1px solid #dfe5e8!important;border-radius:12px!important;overflow:hidden!important}
 .rbm14-reservations-table td{border-bottom:1px solid #f1f2f4!important;padding:12px 15px!important;max-width:none!important;line-height:1.5!important}
 .rbm14-reservations-table td:before{display:block;font-size:11px;letter-spacing:.035em;text-transform:uppercase;color:#64727c;font-weight:700;margin-bottom:5px}
 .rbm14-reservations-table td:nth-child(1):before{content:'Rezervacija'}
 .rbm14-reservations-table td:nth-child(2):before{content:'Partner / vozilo'}
 .rbm14-reservations-table td:nth-child(3):before{content:'Gost'}
 .rbm14-reservations-table td:nth-child(4):before{content:'Termin'}
 .rbm14-reservations-table td:nth-child(5):before{content:'Iznos i obračun'}
 .rbm14-reservations-table td:nth-child(6):before{content:'Status i radnje'}
 .rbm14-tablewrap{overflow-x:visible!important}
 .rbm132-admin-table-wrap .rbm121-table{min-width:0!important}
 .rbm132-admin-table-wrap .rbm121-table thead{display:none!important}
 .rbm132-admin-table-wrap .rbm121-table,.rbm132-admin-table-wrap .rbm121-table tbody,.rbm132-admin-table-wrap .rbm121-table tr,.rbm132-admin-table-wrap .rbm121-table td{display:block!important;width:100%!important;box-sizing:border-box!important}
 .rbm132-admin-table-wrap .rbm121-table tr{border:1px solid #dfe5e8!important;border-radius:12px!important;overflow:hidden!important;margin-bottom:15px!important;background:#fff!important}
 .rbm132-admin-table-wrap .rbm121-table td{padding:10px 15px!important;border:none!important;max-width:none!important}
 .rbm132-admin-table-wrap .rbm121-table td:before{font-size:11px;font-weight:700;display:block;color:#63727c;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}
 .rbm132-admin-table-wrap .rbm121-table td:nth-child(1):before{content:'Oglas'}
 .rbm132-admin-table-wrap .rbm121-table td:nth-child(2):before{content:'Vlasnik'}
 .rbm132-admin-table-wrap .rbm121-table td:nth-child(3):before{content:'Cijena / dan'}
 .rbm132-admin-table-wrap .rbm121-table td:nth-child(4):before{content:'Status'}
 .rbm132-admin-table-wrap .rbm121-table td:nth-child(5):before{content:'Radnje'}
}
