/**
 * OTZOVIK RETRO / СТАРЫЙ АУТЕНТИЧНЫЙ ДИЗАЙН ОТЗОВИКА (2012-2016 ГОДА)
 * Никаких современных градиентов, закруглений и неонового лоска.
 * Плотный, чуть потертый, утилитарный портал отзывов: Arial, серые рамки,
 * мелкие шрифты, счетчики LiveInternet, древовидные комментарии.
 */

:root {
  --otz-font: Arial, Helvetica, sans-serif;
  --otz-bg: #eceef1;
  --otz-card-bg: #ffffff;
  --otz-border: #d3d7dc;
  --otz-border-dark: #b8bec5;
  --otz-text: #222222;
  --otz-text-muted: #666666;
  --otz-link: #1b5e9a;
  --otz-link-hover: #c00000;
  --otz-green: #388e3c;
  --otz-green-bg: #e8f5e9;
  --otz-red: #d32f2f;
  --otz-red-bg: #ffebee;
  --otz-star-gold: #f59e0b;
  --otz-star-empty: #d1d5db;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body.otzovik-retro-body {
  margin: 0;
  padding: 0;
  background-color: var(--otz-bg);
  font-family: var(--otz-font);
  font-size: 13px;
  line-height: 1.45;
  color: var(--otz-text);
  -webkit-font-smoothing: subpixel-antialiased;
}

a {
  color: var(--otz-link);
  text-decoration: underline;
}
a:hover {
  color: var(--otz-link-hover);
  text-decoration: underline;
}

.otz-wrap {
  width: 1040px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

/* ==========================================================================
   TOP BAR (Старая серая служебная полоска)
   ========================================================================== */
.otz-topline {
  background: #3b454e;
  color: #c9d0d6;
  font-size: 11px;
  border-bottom: 1px solid #2d353c;
  padding: 4px 0;
}
.otz-topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.otz-topline-left span {
  margin-right: 15px;
}
.otz-topline-right a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 14px;
}
.otz-topline-right a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MAIN HEADER (Классический отзовик 2014)
   ========================================================================== */
.otz-retro-header {
  background: #ffffff;
  border-bottom: 2px solid #2b5c8f;
  padding: 12px 0 10px;
}
.otz-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.otz-retro-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}
.otz-logo-badge {
  background: #2b5c8f;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: -0.5px;
  display: inline-block;
}
.otz-logo-text {
  display: flex;
  flex-direction: column;
}
.otz-logo-title {
  font-size: 24px;
  font-weight: bold;
  color: #2b5c8f;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.otz-logo-title span {
  color: #ff6600;
}
.otz-logo-sub {
  font-size: 10px;
  color: #777777;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Classic search input */
.otz-retro-search {
  display: flex;
  flex: 1;
  max-width: 440px;
}
.otz-retro-search input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #7f9db9;
  border-right: none;
  border-radius: 0;
  font-size: 12px;
  font-family: var(--otz-font);
  background: #ffffff;
}
.otz-retro-search button {
  height: 32px;
  padding: 0 15px;
  background: #2b5c8f;
  color: #ffffff;
  border: 1px solid #1c3e62;
  border-radius: 0;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}
.otz-retro-search button:hover {
  background: #1c3e62;
}

.otz-retro-add-btn {
  background: linear-gradient(to bottom, #74b336, #559419);
  color: #ffffff !important;
  font-weight: bold;
  font-size: 13px;
  padding: 7px 16px;
  border: 1px solid #447a11;
  border-radius: 2px;
  text-decoration: none !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  display: inline-block;
}
.otz-retro-add-btn:hover {
  background: linear-gradient(to bottom, #639c2d, #497e14);
}

/* ==========================================================================
   NAVIGATION MENU (Синяя классическая плашка со вкладками)
   ========================================================================== */
.otz-retro-nav {
  background: #396799;
  border-top: 1px solid #5282b8;
  border-bottom: 1px solid #204369;
}
.otz-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}
.otz-nav-item {
  border-right: 1px solid #2d5580;
}
.otz-nav-item a {
  display: block;
  padding: 8px 14px;
  color: #ffffff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: bold;
  white-space: nowrap;
}
.otz-nav-item a:hover {
  background: #264a73;
  color: #ffffff;
  text-decoration: none;
}
.otz-nav-item.active a {
  background: #1e3d61;
  color: #ffeb3b;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.otz-retro-crumbs {
  padding: 8px 0;
  font-size: 11px;
  color: #666666;
}
.otz-retro-crumbs a {
  color: #4b6b8b;
  text-decoration: none;
}
.otz-retro-crumbs a:hover {
  text-decoration: underline;
}
.otz-retro-crumbs span.sep {
  margin: 0 4px;
  color: #999999;
}
.otz-retro-crumbs span.curr {
  color: #333333;
  font-weight: bold;
}

/* ==========================================================================
   LAYOUT GRID (2 колонки)
   ========================================================================== */
.otz-content-grid {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}
.otz-main-area {
  flex: 1;
  min-width: 0;
}
.otz-sidebar-area {
  width: 290px;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .otz-content-grid {
    flex-direction: column;
  }
  .otz-sidebar-area {
    width: 100%;
  }
}

/* ==========================================================================
   OBJECT HEADER CARD (Стандартная карточка объекта отзыва)
   ========================================================================== */
.otz-object-card {
  background: #ffffff;
  border: 1px solid var(--otz-border);
  padding: 16px;
  margin-bottom: 15px;
}
.otz-object-title {
  font-size: 21px;
  font-weight: bold;
  color: #111111;
  margin: 0 0 10px 0;
  line-height: 1.25;
}
.otz-object-grid {
  display: flex;
  gap: 16px;
}
@media (max-width: 600px) {
  .otz-object-grid {
    flex-direction: column;
  }
}

/* No photo placeholder */
.otz-photo-box {
  width: 150px;
  height: 160px;
  background: #f4f6f8;
  border: 1px dashed #b8bec5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  flex-shrink: 0;
}
.otz-photo-icon {
  font-size: 38px;
  color: #99a2aa;
  margin-bottom: 6px;
}
.otz-photo-label {
  font-size: 11px;
  color: #666666;
  line-height: 1.3;
}
.otz-photo-upload-link {
  font-size: 10.5px;
  color: #1b5e9a;
  margin-top: 6px;
  cursor: pointer;
}

.otz-object-info {
  flex: 1;
}
.otz-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-bottom: 12px;
}
.otz-meta-table td {
  padding: 4px 6px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}
.otz-meta-table td.label {
  color: #666666;
  width: 130px;
}
.otz-meta-table td.val {
  color: #111111;
  font-weight: normal;
}
.otz-meta-table td.val strong {
  color: #000000;
}

.otz-rating-summary {
  background: #fbfbfb;
  border: 1px solid #e5e5e5;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.otz-big-rating {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.otz-big-number {
  font-size: 28px;
  font-weight: bold;
  color: #2b5c8f;
  line-height: 1;
}
.otz-big-stars {
  color: var(--otz-star-gold);
  font-size: 16px;
  letter-spacing: 1px;
}
.otz-recommend-badge {
  font-size: 12px;
  color: var(--otz-green);
  font-weight: bold;
  background: var(--otz-green-bg);
  border: 1px solid #c8e6c9;
  padding: 3px 8px;
  border-radius: 2px;
}

/* ==========================================================================
   SWITCHABLE TOPIC TABS (Другие популярные ветки)
   ========================================================================== */
.otz-topics-bar {
  background: #ffffff;
  border: 1px solid var(--otz-border);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 12px;
}
.otz-topics-bar-title {
  font-weight: bold;
  color: #444444;
  margin-bottom: 6px;
}
.otz-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.otz-topic-chip {
  background: #f1f3f5;
  border: 1px solid #d0d5dd;
  padding: 3px 9px;
  font-size: 11.5px;
  color: #333333;
  text-decoration: none !important;
  border-radius: 2px;
}
.otz-topic-chip:hover {
  background: #e4e7eb;
}
.otz-topic-chip.active {
  background: #2b5c8f;
  color: #ffffff;
  border-color: #2b5c8f;
  font-weight: bold;
}

/* ==========================================================================
   FILTER & SORT BAR
   ========================================================================== */
.otz-retro-filters {
  background: #ffffff;
  border: 1px solid var(--otz-border);
  padding: 8px 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}
.otz-filter-links {
  display: flex;
  gap: 12px;
}
.otz-filter-link {
  color: #1b5e9a;
  text-decoration: underline;
  cursor: pointer;
}
.otz-filter-link.active {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #2b5c8f;
  padding-bottom: 2px;
}

/* ==========================================================================
   REVIEW CARDS (Классический длинный отзыв Отзовика)
   ========================================================================== */
.otz-retro-review {
  background: #ffffff;
  border: 1px solid var(--otz-border);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.otz-review-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.otz-user-block {
  display: flex;
  gap: 10px;
  align-items: center;
}
.otz-user-avatar {
  width: 38px;
  height: 38px;
  background: #e0e4e8;
  border: 1px solid #c9d0d6;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #6c7a89;
}
.otz-user-details {
  display: flex;
  flex-direction: column;
}
.otz-user-nick {
  font-size: 13px;
  font-weight: bold;
  color: #1b5e9a;
  text-decoration: none;
}
.otz-user-nick:hover {
  text-decoration: underline;
}
.otz-user-stats {
  font-size: 11px;
  color: #777777;
  margin-top: 1px;
}
.otz-user-rep {
  color: #2e7d32;
  font-weight: bold;
}

.otz-review-badge-right {
  text-align: right;
}
.otz-stars-small {
  color: var(--otz-star-gold);
  font-size: 14px;
}
.otz-review-date-text {
  font-size: 11px;
  color: #888888;
  margin-top: 2px;
}

/* Recommendation banner */
.otz-verdict-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.otz-verdict-yes {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.otz-verdict-neutral {
  background: #fff8e1;
  color: #f57f17;
  border: 1px solid #ffe082;
}

.otz-review-headline {
  font-size: 16px;
  font-weight: bold;
  color: #222222;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.otz-review-body {
  font-size: 13px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 14px;
}
.otz-review-body p {
  margin: 0 0 10px 0;
}
.otz-review-body p:last-child {
  margin-bottom: 0;
}

/* Pros and Cons (стандартный вид Отзовика) */
.otz-plus-minus-box {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  padding: 8px 12px;
  margin-bottom: 14px;
  font-size: 12px;
}
.otz-plus-line {
  color: #2e7d32;
  margin-bottom: 4px;
}
.otz-plus-line strong {
  color: #1b5e20;
}
.otz-minus-line {
  color: #c62828;
}
.otz-minus-line strong {
  color: #b71c1c;
}

/* Meta footer of review */
.otz-review-bottom-meta {
  font-size: 11.5px;
  color: #666666;
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
  margin-bottom: 10px;
}

/* Review interaction toolbar */
.otz-review-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f9fa;
  border: 1px solid #e4e7eb;
  padding: 6px 12px;
  font-size: 12px;
}
.otz-voting-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.otz-vote-btn {
  background: #ffffff;
  border: 1px solid #c9d0d6;
  padding: 2px 8px;
  font-size: 11.5px;
  cursor: pointer;
  border-radius: 2px;
  color: #333333;
}
.otz-vote-btn:hover {
  background: #eef2f5;
}
.otz-vote-btn.voted-yes {
  background: #e8f5e9;
  border-color: #81c784;
  color: #2e7d32;
  font-weight: bold;
}

/* Comments thread under review */
.otz-comments-wrap {
  margin-top: 10px;
  padding-left: 20px;
  border-left: 2px solid #e0e0e0;
}
.otz-comment-item {
  background: #fdfdfd;
  border: 1px solid #ebebeb;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 12px;
}
.otz-comment-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.otz-comment-author {
  font-weight: bold;
  color: #1b5e9a;
}
.otz-comment-date {
  color: #999999;
  font-size: 10.5px;
}
.otz-comment-text {
  color: #444444;
  line-height: 1.4;
}

/* ==========================================================================
   REVIEW SUBMISSION FORM (Простая, невылизанная форма)
   ========================================================================== */
.otz-retro-form-card {
  background: #ffffff;
  border: 2px solid #396799;
  padding: 18px 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}
.otz-form-heading {
  font-size: 17px;
  font-weight: bold;
  color: #2b5c8f;
  margin: 0 0 4px 0;
}
.otz-form-subheading {
  font-size: 12px;
  color: #666666;
  margin: 0 0 14px 0;
}

.otz-field-group {
  margin-bottom: 12px;
}
.otz-field-label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 4px;
}
.otz-field-label span.req {
  color: #cc0000;
}

.otz-text-field, .otz-textarea-field {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #999999;
  border-radius: 0;
  font-size: 12.5px;
  font-family: var(--otz-font);
  background: #ffffff;
}
.otz-text-field:focus, .otz-textarea-field:focus {
  outline: none;
  border-color: #2b5c8f;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.otz-textarea-field {
  min-height: 110px;
  resize: vertical;
}

.otz-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .otz-two-cols {
    grid-template-columns: 1fr;
  }
}

.otz-submit-btn-classic {
  background: linear-gradient(to bottom, #74b336, #559419);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: bold;
  padding: 8px 22px;
  border: 1px solid #447a11;
  border-radius: 2px;
  cursor: pointer;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.otz-submit-btn-classic:hover {
  background: linear-gradient(to bottom, #639c2d, #497e14);
}

/* ==========================================================================
   SIDEBAR WIDGETS (Потертый газетный стиль)
   ========================================================================== */
.otz-sidebox {
  background: #ffffff;
  border: 1px solid var(--otz-border);
  margin-bottom: 15px;
}
.otz-sidebox-title {
  background: #f1f3f5;
  border-bottom: 1px solid var(--otz-border);
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: bold;
  color: #333333;
  margin: 0;
}
.otz-sidebox-content {
  padding: 10px 12px;
  font-size: 12px;
}

.otz-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.otz-side-item {
  padding: 6px 0;
  border-bottom: 1px dotted #e0e0e0;
}
.otz-side-item:last-child {
  border-bottom: none;
}
.otz-side-item a {
  color: #1b5e9a;
  text-decoration: none;
  display: block;
  font-weight: bold;
  line-height: 1.3;
}
.otz-side-item a:hover {
  text-decoration: underline;
}
.otz-side-meta {
  font-size: 11px;
  color: #777777;
  margin-top: 2px;
}

/* Telegram direct button in sidebar */
.otz-side-tg-box {
  background: #eef6fc;
  border: 1px solid #bce0fd;
  padding: 12px;
  text-align: center;
  margin-bottom: 15px;
}
.otz-side-tg-btn {
  display: block;
  background: #2481cc;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: bold;
  padding: 7px 10px;
  border-radius: 2px;
  text-decoration: none !important;
  margin-top: 8px;
}
.otz-side-tg-btn:hover {
  background: #1b6cae;
}

/* ==========================================================================
   RETRO FOOTER (Счетчики 88x31, правила сайта)
   ========================================================================== */
.otz-retro-footer {
  background: #ffffff;
  border-top: 2px solid #b8bec5;
  padding: 18px 0;
  font-size: 11.5px;
  color: #666666;
  margin-top: 20px;
}
.otz-footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eeeeee;
}
.otz-footer-links-row a {
  color: #4b6b8b;
  text-decoration: none;
}
.otz-footer-links-row a:hover {
  text-decoration: underline;
}

.otz-footer-counters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.otz-counter-badge {
  display: inline-block;
  width: 88px;
  height: 31px;
  background: #e2e5e8;
  border: 1px solid #b0b7be;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
  color: #555555;
  padding: 1px;
  font-family: Tahoma, sans-serif;
  user-select: none;
}

/* ==========================================================================
   CASE PASSPORT (MEDICAL BACKGROUND)
   ========================================================================== */
.otz-case-passport {
  background: #fdfaf2;
  border: 1px dashed #dcd0ba;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #444444;
  border-radius: 2px;
}
.otz-case-passport div {
  margin-bottom: 2px;
}
.otz-case-passport div:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   SYMPTOM TAG BUTTONS
   ========================================================================== */
.otz-tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.otz-tag-btn {
  font-family: inherit;
  font-size: 11.5px;
  padding: 4px 9px;
  border: 1px solid #c2c7cc;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s ease;
}
.otz-tag-btn:hover {
  background: #f0f4f8;
  border-color: #2b5c8f;
}
.otz-tag-btn.active {
  background: #2b5c8f;
  color: #ffffff;
  border-color: #2b5c8f;
  font-weight: bold;
}

/* ==========================================================================
   MODERATION & TRUST SYSTEM
   ========================================================================== */
.otz-moderation-banner {
  background: #ffffff;
  border: 1px solid #c2c7cc;
  border-left: 4px solid #27ae60;
  padding: 12px 16px;
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.55;
  color: #333333;
}
.otz-proof-badge {
  display: inline-block;
  background: #eef9f2;
  color: #27ae60;
  border: 1px solid #bcead0;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 2px;
}
.otz-doctor-reply {
  background: #f4f8fb;
  border: 1px solid #bcd7ea;
  border-left: 3px solid #2b5c8f;
  padding: 10px 14px;
  margin: 12px 0 6px 15px;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.55;
}
.otz-doc-badge {
  background: #2b5c8f;
  color: #ffffff;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: bold;
  border-radius: 2px;
}
.otz-report-btn {
  color: #999999;
  font-size: 10.5px;
  text-decoration: underline;
  cursor: pointer;
}
.otz-report-btn:hover {
  color: #d32f2f;
}
.otz-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 15px;
}
.otz-modal-box {
  background: #ffffff;
  border: 1px solid #777777;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 460px;
  border-radius: 2px;
  overflow: hidden;
}
.otz-modal-header {
  background: #2b5c8f;
  color: #ffffff;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.otz-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.otz-modal-body {
  padding: 18px 20px;
  text-align: center;
}
.otz-modal-icon {
  font-size: 32px;
  color: #27ae60;
  margin-bottom: 8px;
}
.otz-modal-title {
  font-size: 15px;
  font-weight: bold;
  color: #20343b;
  margin-bottom: 8px;
}
.otz-modal-text {
  font-size: 12px;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 16px;
}
.otz-modal-btn {
  background: #2b5c8f;
  color: #ffffff;
  border: 1px solid #1b446e;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 2px;
}
.otz-modal-btn:hover {
  background: #1b446e;
}

/* ==========================================================================
   PORTAL NAVIGATION & ENHANCED HEADER (v3)
   ========================================================================== */
.otz-top-geo {
  color: #f1c40f;
}
.otz-top-divider {
  color: #5d6d7e;
  margin: 0 4px;
}
.otz-top-auth-link {
  color: #ffffff !important;
  text-decoration: underline;
  cursor: pointer;
}
.otz-top-reg-link {
  background: #e67e22;
  color: #ffffff !important;
  padding: 2px 7px;
  border-radius: 2px;
  font-weight: bold;
  text-decoration: none !important;
  cursor: pointer;
}
.otz-top-reg-link:hover {
  background: #d35400;
}
.otz-retro-search-wrap {
  display: flex;
  flex: 1;
  max-width: 520px;
  align-items: center;
}
.otz-search-cat-select select {
  height: 32px;
  background: #edf2f7;
  border: 1px solid #7f9db9;
  border-right: none;
  font-size: 11.5px;
  font-family: inherit;
  padding: 0 4px;
  color: #333333;
}
.otz-portal-nav {
  background: #2b5c8f;
  border-bottom: 2px solid #1a3c61;
}
.otz-portal-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}
.otz-nav-item {
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: bold;
  background: #2b5c8f;
  transition: background 0.15s ease;
}
.otz-nav-item:hover {
  background: #1b446e;
}
.otz-nav-item.active {
  background: #1b446e;
  box-shadow: inset 0 -3px 0 #f59e0b;
}
.otz-nav-item.sub-active {
  background: #153454;
  color: #ffeb3b !important;
}

/* ==========================================================================
   SOCIAL PROOF ACTIVITY STATS BAR
   ========================================================================== */
.otz-activity-stats-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2b5c8f;
  padding: 6px 12px;
  margin: 10px 0 14px;
  font-size: 11.5px;
  color: #475569;
}
.otz-act-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.otz-act-icon {
  font-size: 13px;
}

/* ==========================================================================
   USER PROFILE MODAL & DOSSIER STYLES
   ========================================================================== */
.otz-user-modal-trigger {
  color: #1b5e9a;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}
.otz-user-modal-trigger:hover {
  color: #c00000;
}
.otz-profile-header-box {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #f4f7fa;
  border: 1px solid #d5e0ea;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 2px;
}
.otz-profile-avatar-large {
  width: 52px;
  height: 52px;
  background: #2b5c8f;
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.otz-profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.otz-profile-stat-box {
  background: #ffffff;
  border: 1px solid #d3d7dc;
  padding: 6px 8px;
  text-align: center;
  font-size: 11px;
}
.otz-profile-stat-val {
  font-size: 14px;
  font-weight: bold;
  color: #2b5c8f;
}
.otz-profile-other-reviews {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  margin-top: 10px;
}
.otz-profile-rev-item {
  background: #fdfdfd;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #7f9db9;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 11.5px;
}




/* ==========================================================================
   REVIEW SUBMISSION FORM ENHANCEMENTS (.otz-retro-form-box)
   ========================================================================== */
.otz-retro-form-box {
  background: #ffffff;
  border: 1px solid #c2c7cc;
  border-top: 3px solid #2b5c8f;
  border-radius: 2px;
  padding: 18px 22px;
  margin-top: 25px;
  margin-bottom: 25px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.otz-retro-form-box .otz-form-header {
  margin-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}
.otz-retro-form-box .otz-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.otz-retro-form-box .otz-form-col,
.otz-retro-form-box .otz-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.otz-retro-form-box label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #20343b;
  margin-bottom: 5px;
}
.otz-retro-form-box input[type="text"],
.otz-retro-form-box input[type="email"],
.otz-retro-form-box textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
  border: 1px solid #c2c7cc !important;
  border-radius: 2px !important;
  font-family: inherit !important;
  background: #ffffff !important;
  line-height: 1.4 !important;
}
.otz-retro-form-box input[type="text"]:focus,
.otz-retro-form-box input[type="email"]:focus,
.otz-retro-form-box textarea:focus {
  outline: none !important;
  border-color: #2b5c8f !important;
  box-shadow: 0 0 0 2px rgba(43,92,143,0.15) !important;
}
.otz-retro-form-box textarea {
  min-height: 120px !important;
  resize: vertical !important;
}
.otz-retro-form-box .otz-star-picker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}
.otz-retro-form-box .otz-star-pick {
  font-size: 24px;
  color: #f59e0b;
  line-height: 1;
  transition: transform 0.1s ease;
}
.otz-retro-form-box .otz-star-pick:hover {
  transform: scale(1.15);
}

/* ==========================================================================
   PRODUCT / SPECIALIST CARD & STATUS LAYOUT (.otz-product-card)
   ========================================================================== */
.otz-product-card {
  background: #ffffff;
  border: 1px solid #c2c7cc;
  border-radius: 2px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.otz-product-header {
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eef2f6;
  background: #fafbfc;
}
.otz-product-title {
  font-size: 19px;
  font-weight: bold;
  color: #1a2a36;
  line-height: 1.3;
}
.otz-product-meta-sub {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.otz-product-body {
  display: flex;
  gap: 18px;
  padding: 16px;
  align-items: flex-start;
}
.otz-photo-col {
  width: 170px;
  flex-shrink: 0;
}
.otz-photo-status-box {
  margin-top: 10px;
  background: #fffdf5;
  border: 1px solid #ebdcb2;
  border-top: 3px solid #f59e0b;
  padding: 10px 12px;
  border-radius: 2px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.otz-summary-col {
  flex: 1;
  min-width: 0;
}
.otz-rating-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.otz-score-big {
  font-size: 32px;
  font-weight: 800;
  color: #166534;
  line-height: 1;
}
.otz-stars-and-cnt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.otz-stars-row {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}
.otz-cnt-sub {
  font-size: 11.5px;
  color: #64748b;
}
.otz-recommend-badge {
  margin-left: auto;
  text-align: right;
  font-size: 11.5px;
  color: #1e7e34;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 2px;
}
.otz-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.45;
}
.otz-specs-table th {
  width: 140px;
  padding: 6px 8px 6px 0;
  text-align: left;
  vertical-align: top;
  color: #64748b;
  font-weight: normal;
  border-bottom: 1px solid #f1f5f9;
}
.otz-specs-table td {
  padding: 6px 8px;
  vertical-align: top;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}
.otz-pro-text {
  color: #166534 !important;
}
.otz-con-text {
  color: #991b1b !important;
}
.otz-card-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.otz-card-btn-review {
  background: #2b5c8f;
  color: #ffffff;
  border: 1px solid #1f4266;
  border-radius: 2px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s ease;
}
.otz-card-btn-review:hover {
  background: #1f4266;
}
.otz-card-btn-contact {
  background: #eef6fc;
  color: #2b5c8f;
  border: 1px solid #b9d7ea;
  border-radius: 2px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease;
}
.otz-card-btn-contact:hover {
  background: #dcecf7;
  text-decoration: none;
}
@media (max-width: 768px) {
  .otz-product-body {
    flex-direction: column;
    align-items: stretch;
  }
  .otz-photo-col {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 12px;
  }
  .otz-recommend-badge {
    margin-left: 0;
    text-align: left;
  }
}

