.rv-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1c2331 url("../images/slider/slider1.jpg") center/cover no-repeat;
  color: #fff;
  padding: 36px 0 32px;
}

.rv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 28, 40, 0.82), rgba(22, 52, 58, 0.72));
  z-index: 0;
}

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

.rv-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.rv-crumbs {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.rv-crumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.rv-crumbs a:hover { color: #20b1aa; }

.rv-page {
  background: #f4f6f8;
  padding: 40px 0 64px;
}

.rv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.rv-card {
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(20, 24, 31, 0.05);
}

.rv-calendar {
  padding: 22px 22px 18px;
}

.rv-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rv-cal-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1c2331;
  text-transform: capitalize;
}

.rv-navbtn {
  width: 38px;
  height: 38px;
  border: 1px solid #e6ebef;
  background: #fff;
  border-radius: 10px;
  color: #1c2331;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.rv-navbtn:hover {
  border-color: #20b1aa;
  color: #20b1aa;
}

.rv-navbtn:disabled {
  opacity: 0.35;
  cursor: default;
}

.rv-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.rv-week span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a949c;
  padding: 6px 0;
}

.rv-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.rv-day {
  aspect-ratio: 1;
  min-height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  color: #1c2331;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.rv-day:hover:not(:disabled):not(.is-empty) {
  background: #e8f7f6;
  color: #147f7a;
}

.rv-day.is-empty {
  cursor: default;
}

.rv-day.is-sun,
.rv-day:disabled {
  color: #c5cdd3;
  cursor: default;
}

.rv-day.is-full {
  color: #b0b8be;
  text-decoration: line-through;
}

.rv-day.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #20b1aa;
  transform: translateX(-50%);
}

.rv-day.is-on {
  background: #20b1aa;
  color: #fff;
}

.rv-day.is-on::after { background: #fff; }

.rv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  color: #6b757c;
}

.rv-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.rv-legend .lg-on { background: #20b1aa; }
.rv-legend .lg-off { background: #d7dee3; }
.rv-legend .lg-full { background: #c5cdd3; }

.rv-aside { padding: 22px; }

.rv-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #20b1aa;
  margin: 0 0 6px;
}

.rv-aside h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #1c2331;
}

.rv-selected {
  color: #5a6570;
  font-size: 14px;
  margin: 0 0 16px;
  min-height: 22px;
}

.rv-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.rv-slot {
  border: 1px solid #d7dee3;
  background: #fff;
  border-radius: 10px;
  padding: 11px 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #1c2331;
  cursor: pointer;
}

.rv-slot:hover:not(:disabled) {
  border-color: #20b1aa;
  color: #147f7a;
}

.rv-slot.is-on {
  background: #20b1aa;
  border-color: #20b1aa;
  color: #fff;
}

.rv-slot:disabled {
  color: #b0b8be;
  text-decoration: line-through;
  cursor: default;
  background: #f6f8f9;
}

.rv-empty-slots {
  grid-column: 1 / -1;
  background: #f6f8f9;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  color: #6b757c;
  font-size: 13px;
}

.rv-form .form-group {
  margin-bottom: 12px;
}

.rv-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #3d4750;
}

.rv-form input,
.rv-form select {
  width: 100%;
  border: 1px solid #d7dee3;
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: #1c2331;
}

.rv-form input:focus,
.rv-form select:focus {
  outline: none;
  border-color: #20b1aa;
  box-shadow: 0 0 0 4px rgba(32, 177, 170, 0.12);
}

.rv-error {
  background: #fdecec;
  color: #9b2c2c;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.rv-submit {
  width: 100%;
  border: 0;
  background: #20b1aa;
  color: #fff;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}

.rv-submit:hover { background: #189a94; }

.rv-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #6b757c;
  line-height: 1.45;
}

.rv-info {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef2f4;
  font-size: 13px;
  color: #5a6570;
  line-height: 1.55;
}

.rv-info strong {
  display: block;
  color: #1c2331;
  margin-bottom: 2px;
}

.rv-confirm {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(20, 24, 31, 0.05);
}

.rv-confirm .rv-ok {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e8f7f6;
  color: #20b1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.rv-confirm h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #1c2331;
}

.rv-confirm p {
  color: #5a6570;
  margin: 0 0 18px;
}

.rv-dl {
  text-align: left;
  background: #f6f8f9;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.rv-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e6ebef;
  font-size: 14px;
}

.rv-dl div:last-child { border-bottom: 0; }

.rv-dl span { color: #6b757c; }
.rv-dl strong { color: #1c2331; }

.rv-code {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .rv-layout { grid-template-columns: 1fr; }
}
