.trs-rr-form-wrap,.trs-rr-reviews,.trs-rr-summary,.trs-rr-info-shortcode{box-sizing:border-box}
.trs-rr-form{display:flex;flex-direction:column;gap:16px}
.trs-rr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.trs-rr-field{display:flex;flex-direction:column;gap:6px}
.trs-rr-field label{font-weight:600}
.trs-rr-field input,.trs-rr-field select,.trs-rr-field textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #d5d8dc;border-radius:6px;background:#fff;font:inherit}
.trs-rr-field textarea{min-height:120px;resize:vertical}
.trs-rr-field small{opacity:.72}
.trs-rr-checkbox label{display:flex;align-items:flex-start;gap:9px;font-weight:400;line-height:1.45}
.trs-rr-checkbox input{width:18px;height:18px;min-height:auto;margin:2px 0 0;flex:0 0 auto}
.trs-rr-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.trs-rr-submit,.trs-rr-info-button{appearance:none;border:0;border-radius:6px;padding:11px 17px;font:inherit;font-weight:600;cursor:pointer}
.trs-rr-submit{background:#111;color:#fff}
.trs-rr-info-button{background:transparent;border:1px solid currentColor;color:inherit}
.trs-rr-notice{padding:12px 14px;margin:0 0 16px;border:1px solid #d5d8dc;border-radius:6px}
.trs-rr-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.trs-rr-summary{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
.trs-rr-summary-score{font-size:2rem;line-height:1}
.trs-rr-summary-max{font-weight:600}
.trs-rr-summary-count{width:100%;font-size:.92em;opacity:.76}
.trs-rr-reviews{display:flex;flex-direction:column;gap:16px}
.trs-rr-review{padding:18px;border:1px solid #e2e4e7;border-radius:8px}
.trs-rr-review-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.trs-rr-review-score{margin-left:auto;font-weight:700}
.trs-rr-review-country{opacity:.7}
.trs-rr-review-edition{font-size:.9em;opacity:.76;margin-bottom:10px}
.trs-rr-review-comment p:last-child{margin-bottom:0}
.trs-rr-modal[hidden]{display:none!important}
.trs-rr-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px}
.trs-rr-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.trs-rr-modal-dialog{position:relative;z-index:1;width:min(760px,100%);max-height:85vh;overflow:auto;background:#fff;color:#111;border-radius:12px;padding:30px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.trs-rr-modal-dialog h2{margin-top:0;padding-right:48px}
.trs-rr-modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;padding:0;border:1px solid #cfd3d7;border-radius:50%;background:#fff;cursor:pointer;display:grid;place-items:center}
.trs-rr-modal-close span{position:relative;display:block;width:14px;height:14px}
.trs-rr-modal-close span::before,.trs-rr-modal-close span::after{content:"";position:absolute;left:6px;top:0;width:2px;height:14px;background:currentColor;border-radius:2px;transform-origin:center}
.trs-rr-modal-close span::before{transform:rotate(45deg)}
.trs-rr-modal-close span::after{transform:rotate(-45deg)}
.trs-rr-modal-content>*:first-child{margin-top:0}
.trs-rr-modal-content>*:last-child{margin-bottom:0}
.trs-rr-edit-page{padding:48px 20px}.trs-rr-edit-inner{max-width:720px;margin:0 auto}
@media (max-width:767px){.trs-rr-grid{grid-template-columns:1fr}.trs-rr-modal{padding:12px}.trs-rr-modal-dialog{padding:24px 20px}.trs-rr-review-score{margin-left:0;width:100%}}
.trs-rr-organizer-reply{margin-top:16px;padding:14px 16px;border-left:3px solid currentColor;background:rgba(0,0,0,.035);border-radius:0 6px 6px 0}
.trs-rr-organizer-reply-label{display:block;margin-bottom:6px}
.trs-rr-organizer-reply-text p:last-child{margin-bottom:0}

/* Sve trke / održane trke */
.trs-rr-event-status-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:700;line-height:1;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.trs-rr-all-events{width:100%}
.trs-rr-all-events-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.trs-rr-all-events-search-label{flex:1 1 320px;max-width:520px}
.trs-rr-all-events-search{width:100%;min-height:46px;padding:10px 14px;border:1px solid #d1d5db;border-radius:999px;background:#fff;font:inherit;color:#111827}
.trs-rr-all-events-search:focus{outline:2px solid rgba(15,138,67,.22);outline-offset:1px;border-color:#0f8a43}
.trs-rr-all-events-tabs{display:flex;gap:8px;flex-wrap:wrap}
.trs-rr-all-events-tab{appearance:none;border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:999px;padding:9px 15px;font:inherit;font-weight:600;cursor:pointer}
.trs-rr-all-events-tab.is-active{background:#111827;color:#fff;border-color:#111827}
.trs-rr-all-events-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.trs-rr-all-events-item{min-width:0}
.trs-rr-all-events-status{padding:24px 0;text-align:center;color:#6b7280}
.trs-rr-all-events.is-loading .trs-rr-all-events-status::after{content:'Učitavanje...'}
.trs-rr-all-events-sentinel{width:100%;height:1px}
.trs-rr-all-events-cta{margin:0;color:#fff!important;font:inherit}
.trs-rr-all-events-cta a{color:#fff!important;text-decoration:underline!important;text-underline-offset:2px}
.trs-rr-all-events-cta-link-wrap{text-decoration-line:underline}
@media(max-width:1024px){.trs-rr-all-events-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.trs-rr-all-events-controls{align-items:stretch}.trs-rr-all-events-search-label{max-width:none;flex-basis:100%}.trs-rr-all-events-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.trs-rr-all-events-tab{flex:0 0 auto}.trs-rr-all-events-results{grid-template-columns:1fr;gap:16px}}
