/* ============================================
   ReservaBoat Dashboard — CSS Premium
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --rb-ocean:   #0B4F8C;
  --rb-teal:    #0284C7;
  --rb-sky:     #38BDF8;
  --rb-gold:    #F59E0B;
  --rb-dark:    #0F172A;
  --rb-navy:    #1E293B;
  --rb-slate:   #334155;
  --rb-muted:   #64748B;
  --rb-border:  #E2E8F0;
  --rb-light:   #F1F5F9;
  --rb-white:   #FFFFFF;
  --rb-success: #10B981;
  --rb-danger:  #EF4444;
  --rb-warning: #F59E0B;
  --rb-sidebar-w: 260px;
  --rb-topbar-h:  64px;
  --rb-radius:    12px;
  --rb-shadow:    0 4px 24px rgba(11,79,140,.10);
  --rb-shadow-lg: 0 8px 40px rgba(11,79,140,.18);
  --rb-green:   #10B981;
  --rb-success: #10B981;
  --rb-danger:  #EF4444;
  --rb-warning: #F59E0B;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.rb-dashboard-body {
  font-family: 'Inter', sans-serif;
  background: var(--rb-light);
  color: var(--rb-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- LOGIN WALL ---- */
.rb-login-wall {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0B4F8C 0%, #0F172A 60%, #0B4F8C 100%);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.rb-login-wall::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2338BDF8' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.rb-login-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.rb-login-logo { margin-bottom: 32px; }
.rb-login-logo-img { width: 80px; height: 80px; object-fit: contain; display: block; margin: 0 auto 16px; animation: rb-float 3s ease-in-out infinite; }
.rb-login-icon { font-size: 56px; display: block; margin-bottom: 12px; animation: rb-float 3s ease-in-out infinite; }
.rb-login-logo h1 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.rb-login-logo p  { color: rgba(255,255,255,.7); font-size: 14px; }
.rb-login-register { margin-top: 20px; color: rgba(255,255,255,.6); font-size: 13px; }
.rb-login-register a { color: var(--rb-sky); text-decoration: none; font-weight: 600; }

/* WP Login Form Styles */
.rb-login-form-wrap form { text-align: left; }
.rb-login-form-wrap label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 6px; }
.rb-login-form-wrap .login-username, .rb-login-form-wrap .login-password { margin-bottom: 16px; }
.rb-login-form-wrap input[type="text"], .rb-login-form-wrap input[type="password"] {
  width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.2); color: #fff; font-size: 14px; font-family: inherit;
}
.rb-login-form-wrap input[type="text"]:focus, .rb-login-form-wrap input[type="password"]:focus {
  outline: none; border-color: var(--rb-sky); background: rgba(0,0,0,.3);
}
.rb-login-form-wrap .login-remember { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,.8); }
.rb-login-form-wrap .login-remember input { cursor: pointer; }
.rb-login-form-wrap .login-submit input {
  width: 100%; padding: 14px 24px; border-radius: 10px; border: none;
  background: var(--rb-sky); color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.rb-login-form-wrap .login-submit input:hover { background: #0ea5e9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(56,189,248,.3); }


/* ---- APP LAYOUT ---- */
.rb-app { display: flex; min-height: 100vh; }

/* ---- SIDEBAR ---- */
.rb-sidebar {
  width: var(--rb-sidebar-w);
  background: var(--rb-dark);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rb-slate) transparent;
}
.rb-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.rb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.rb-brand-logo { width: 36px; height: 36px; object-fit: contain; display: block; }
.rb-brand-name { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.rb-sidebar-toggle {
  background: none; border: none; color: var(--rb-muted);
  font-size: 18px; cursor: pointer; display: none;
  width: 32px; height: 32px; border-radius: 8px;
  transition: background .2s;
}
.rb-sidebar-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }

.rb-sidebar-user {
  display: flex; align-items: center; gap: 12px;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.rb-avatar-wrap { position: relative; flex-shrink: 0; }
.rb-avatar-clickable { cursor: pointer; }
.rb-avatar-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,.5); display: flex;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
  z-index: 5; pointer-events: none;
}
.rb-avatar-clickable:hover .rb-avatar-overlay { opacity: 1; }
.rb-avatar-overlay span { font-size: 18px; }
.rb-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rb-ocean); }
.rb-avatar-badge {
  position: absolute; bottom: -2px; right: -2px;
  font-size: 14px; background: var(--rb-dark);
  border-radius: 50%; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
}
.rb-sidebar-name { font-weight: 600; color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.rb-sidebar-role { font-size: 11px; color: var(--rb-muted); margin-top: 2px; }

.rb-nav { padding: 12px 10px; flex: 1; }
.rb-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--rb-muted);
  font-size: 13.5px; font-weight: 500;
  transition: all .2s; margin-bottom: 2px;
}
.rb-nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.rb-nav-item.rb-nav-active { background: var(--rb-ocean); color: #fff; }
.rb-nav-icon { font-size: 16px; width: 20px; text-align: center; }

.rb-sidebar-footer {
  padding: 12px 10px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.rb-sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  text-decoration: none; color: var(--rb-muted);
  font-size: 12.5px; transition: all .2s; margin-bottom: 2px;
}
.rb-sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.rb-sidebar-link.rb-logout:hover { background: rgba(239,68,68,.15); color: #EF4444; }

/* ---- MAIN ---- */
.rb-main {
  margin-left: var(--rb-sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---- TOPBAR ---- */
.rb-topbar {
  height: var(--rb-topbar-h);
  background: var(--rb-white);
  border-bottom: 1px solid var(--rb-border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.rb-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.rb-hamburger span { display: block; width: 22px; height: 2px; background: var(--rb-dark); border-radius: 2px; transition: .3s; }
.rb-topbar-title { font-weight: 700; font-size: 16px; flex: 1; }
.rb-topbar-actions { display: flex; align-items: center; gap: 12px; }
.rb-topbar-avatar-wrap { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 2px solid var(--rb-border); }
.rb-topbar-avatar { width: 100%; height: 100%; object-fit: cover; }

/* ---- CONTENT ---- */
.rb-content { padding: 28px 24px; }
.rb-section { animation: rb-fadein .4s ease; }
.rb-hidden { display: none !important; }

/* ---- SECTION HEADER ---- */
.rb-section-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.rb-section-title { font-size: 22px; font-weight: 800; color: var(--rb-dark); margin-bottom: 4px; }
.rb-section-subtitle { font-size: 13.5px; color: var(--rb-muted); }
.rb-subtitle { font-size: 15px; font-weight: 700; color: var(--rb-dark); margin: 24px 0 14px; }
.rb-date-badge { background: var(--rb-ocean); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ---- STAT CARDS ---- */
.rb-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.rb-stat-card {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--rb-shadow);
  border-left: 4px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.rb-stat-card:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow-lg); }
.rb-stat-blue   { border-color: var(--rb-ocean); }
.rb-stat-teal   { border-color: var(--rb-teal); }
.rb-stat-gold   { border-color: var(--rb-gold); }
.rb-stat-green  { border-color: var(--rb-success); }
.rb-stat-icon { font-size: 28px; flex-shrink: 0; }
.rb-stat-value { font-size: 22px; font-weight: 800; color: var(--rb-dark); line-height: 1; }
.rb-stat-label { font-size: 11.5px; color: var(--rb-muted); margin-top: 4px; font-weight: 500; }

/* ---- QUICK ACTIONS ---- */
.rb-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.rb-action-card {
  background: var(--rb-white);
  border: 1.5px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--rb-dark);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  transition: all .2s;
  cursor: pointer;
}
.rb-action-card:hover { border-color: var(--rb-ocean); background: #EFF6FF; color: var(--rb-ocean); transform: translateY(-2px); }
.rb-action-icon { font-size: 24px; }

/* ---- BOATS GRID ---- */
.rb-boats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rb-boats-grid-sm { grid-template-columns: repeat(3, 1fr); }
.rb-boat-card {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  overflow: hidden;
  box-shadow: var(--rb-shadow);
  transition: transform .2s, box-shadow .2s;
}
.rb-boat-card:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow-lg); }
.rb-boat-img-wrap { position: relative; height: 160px; overflow: hidden; }
.rb-boat-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rb-boat-card:hover .rb-boat-img { transform: scale(1.05); }
.rb-boat-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #0B4F8C, #38BDF8); display: flex; align-items: center; justify-content: center; font-size: 48px; color: rgba(255,255,255,.5); }
.rb-boat-status { position: absolute; top: 10px; right: 10px; background: rgba(16,185,129,.9); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.rb-boat-status.unavailable { background: rgba(239,68,68,.9); }
.rb-boat-body { padding: 14px 16px; }
.rb-boat-name { font-size: 14px; font-weight: 700; color: var(--rb-dark); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-boat-price { font-size: 16px; font-weight: 800; color: var(--rb-ocean); }
.rb-boat-rating { font-size: 12px; color: var(--rb-gold); font-weight: 600; margin-top: 4px; }
.rb-boat-actions { display: flex; gap: 8px; margin-top: 12px; }
.rb-boat-stats-row { display: flex; gap: 12px; margin-top: 8px; }
.rb-boat-stat { font-size: 11px; color: var(--rb-muted); }
.rb-boat-stat strong { color: var(--rb-dark); font-weight: 700; }

/* ---- TABLE ---- */
.rb-table-wrap { background: var(--rb-white); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); overflow: auto; }
.rb-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.rb-table thead tr { background: var(--rb-light); }
.rb-table th { padding: 12px 16px; text-align: left; font-size: 11.5px; font-weight: 700; color: var(--rb-muted); text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--rb-border); }
.rb-table td { padding: 14px 16px; font-size: 13px; color: var(--rb-dark); border-bottom: 1px solid var(--rb-border); }
.rb-table tbody tr:last-child td { border-bottom: none; }
.rb-table tbody tr:hover { background: #F8FAFF; }
.rb-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
}
.rb-badge-green   { background: #DCFCE7; color: #16A34A; }
.rb-badge-blue    { background: #DBEAFE; color: #1D4ED8; }
.rb-badge-yellow  { background: #FEF9C3; color: #A16207; }
.rb-badge-red     { background: #FEE2E2; color: #DC2626; }
.rb-badge-gray    { background: #F1F5F9; color: var(--rb-muted); }

/* ---- BOOKING LIST PREVIEW ---- */
.rb-booking-list-preview { display: flex; flex-direction: column; gap: 10px; }
.rb-booking-preview-item {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--rb-shadow);
  border-left: 3px solid var(--rb-ocean);
}
.rb-booking-preview-icon { font-size: 28px; flex-shrink: 0; }
.rb-booking-preview-info { flex: 1; }
.rb-booking-preview-title { font-weight: 700; font-size: 13.5px; }
.rb-booking-preview-sub  { font-size: 12px; color: var(--rb-muted); margin-top: 2px; }
.rb-booking-preview-total { font-weight: 800; color: var(--rb-ocean); font-size: 15px; }

/* ---- RESERVAS CARDS (cliente) ---- */
.rb-reservas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rb-reserva-card {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  overflow: hidden;
  box-shadow: var(--rb-shadow);
  display: flex;
  gap: 0;
  transition: transform .2s;
}
.rb-reserva-card:hover { transform: translateY(-2px); }
.rb-reserva-img { width: 120px; min-height: 120px; object-fit: cover; flex-shrink: 0; }
.rb-reserva-img-placeholder { width: 120px; min-height: 120px; background: linear-gradient(135deg, #0B4F8C, #38BDF8); display: flex; align-items: center; justify-content: center; font-size: 36px; flex-shrink: 0; }
.rb-reserva-body { padding: 14px 16px; flex: 1; }
.rb-reserva-name { font-size: 14px; font-weight: 700; color: var(--rb-dark); margin-bottom: 6px; }
.rb-reserva-meta { font-size: 12px; color: var(--rb-muted); margin-bottom: 4px; }
.rb-reserva-total { font-size: 16px; font-weight: 800; color: var(--rb-ocean); margin: 8px 0; }
.rb-reserva-actions { display: flex; gap: 8px; margin-top: 8px; }

/* ---- NEXT BOOKING HERO ---- */
.rb-next-booking-hero {
  background: linear-gradient(135deg, var(--rb-ocean) 0%, #0284C7 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  color: #fff;
}
.rb-next-booking-badge { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.2); display: inline-block; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.rb-next-booking-content { display: flex; gap: 20px; align-items: center; }
.rb-next-booking-img { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,.3); }
.rb-next-booking-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.rb-next-booking-date { font-size: 13px; opacity: .85; margin-bottom: 14px; }

/* ---- CTA CARD ---- */
.rb-cta-card {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1.5px solid #BFDBFE;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 28px;
}
.rb-cta-icon { font-size: 48px; display: block; margin-bottom: 12px; animation: rb-float 3s ease-in-out infinite; }
.rb-cta-card h3 { font-size: 18px; font-weight: 800; color: var(--rb-dark); margin-bottom: 8px; }
.rb-cta-card p  { font-size: 13.5px; color: var(--rb-muted); margin-bottom: 20px; }

/* ---- FINANCE GRID ---- */
.rb-finance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rb-finance-card {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  padding: 20px;
  box-shadow: var(--rb-shadow);
}
.rb-finance-card h4 { font-size: 13.5px; font-weight: 700; color: var(--rb-dark); margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-finance-value { font-size: 24px; font-weight: 800; color: var(--rb-ocean); }
.rb-finance-sub   { font-size: 12px; color: var(--rb-muted); margin-top: 4px; }

/* ---- EMPTY STATE ---- */
.rb-empty { text-align: center; padding: 56px 24px; }
.rb-empty-icon { font-size: 56px; display: block; margin-bottom: 16px; opacity: .6; }
.rb-empty h3 { font-size: 17px; font-weight: 700; color: var(--rb-dark); margin-bottom: 8px; }
.rb-empty p  { font-size: 13.5px; color: var(--rb-muted); margin-bottom: 20px; }

/* ---- LOADING ---- */
.rb-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; gap: 16px; color: var(--rb-muted); font-size: 14px; }
.rb-spinner { width: 44px; height: 44px; border: 3px solid var(--rb-border); border-top-color: var(--rb-ocean); border-radius: 50%; animation: rb-spin 1s linear infinite; }
.rb-error { display: flex; flex-direction: column; align-items: center; padding: 80px 24px; gap: 12px; text-align: center; }
.rb-error-icon { font-size: 48px; }
.rb-error h3 { font-size: 17px; font-weight: 700; color: var(--rb-dark); }
.rb-error p  { font-size: 13px; color: var(--rb-muted); }

/* ---- BUTTONS ---- */
.rb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: all .2s; white-space: nowrap; font-family: inherit;
}
.rb-btn-primary  { background: var(--rb-ocean); color: #fff; border-color: var(--rb-ocean); }
.rb-btn-primary:hover { background: #0a3d6b; border-color: #0a3d6b; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(11,79,140,.3); }
.rb-btn-outline  { background: transparent; color: var(--rb-ocean); border-color: var(--rb-ocean); }
.rb-btn-outline:hover { background: var(--rb-ocean); color: #fff; }
.rb-btn-white    { background: rgba(255,255,255,.95); color: var(--rb-ocean); border-color: transparent; }
.rb-btn-white:hover { background: #fff; transform: translateY(-1px); }
.rb-btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.rb-btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.rb-btn-danger   { background: var(--rb-danger); color: #fff; border-color: var(--rb-danger); }
.rb-btn-sm       { padding: 6px 14px; font-size: 12px; }
.rb-btn-lg       { padding: 13px 28px; font-size: 14px; }
.rb-full-width   { width: 100%; }

/* ---- OVERLAY ---- */
.rb-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150; backdrop-filter: blur(2px); }
.rb-overlay.active { display: block; }

/* ---- FEATURED HEADER ---- */
.rb-featured-header { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 14px; }

/* ---- BOAT DESCRIPTION ---- */
.rb-boat-desc { font-size: 11.5px; color: var(--rb-muted); margin-top: 4px; line-height: 1.4; }

/* ---- HISTORY FILTER ---- */
.rb-history-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.rb-filter-btn {
  padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--rb-border);
  background: var(--rb-white); color: var(--rb-muted); font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.rb-filter-btn:hover { border-color: var(--rb-ocean); color: var(--rb-ocean); }
.rb-filter-btn.rb-filter-active { background: var(--rb-ocean); border-color: var(--rb-ocean); color: #fff; }

/* ---- PROFILE LAYOUT ---- */
.rb-profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* Profile Photo Card (sidebar-style) */
.rb-profile-photo-card {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--rb-shadow);
  border: 1px solid var(--rb-border);
}
.rb-profile-photo-card .rb-profile-avatar-wrap {
  position: relative; display: inline-block; margin-bottom: 12px;
  cursor: pointer;
}
.rb-profile-photo-card .rb-profile-avatar {
  width: 100px; height: 100px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--rb-border);
  display: block; transition: border-color .2s;
}
.rb-profile-photo-card .rb-profile-avatar-wrap:hover .rb-profile-avatar {
  border-color: var(--rb-ocean);
}
.rb-profile-avatar-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,.5); display: flex;
  flex-direction: column; align-items: center;
  justify-content: center; opacity: 0;
  transition: opacity .25s; z-index: 5;
  pointer-events: none;
}
.rb-profile-avatar-wrap:hover .rb-profile-avatar-overlay { opacity: 1; }
.rb-profile-avatar-overlay span { font-size: 22px; }
.rb-profile-avatar-overlay small {
  font-size: 10px; color: #fff; margin-top: 2px;
  font-weight: 600; letter-spacing: .3px;
}
.rb-profile-avatar-name { font-weight: 700; font-size: 16px; color: var(--rb-dark); margin-bottom: 2px; }
.rb-profile-avatar-role { font-size: 12px; color: var(--rb-muted); margin-bottom: 4px; }
.rb-profile-avatar-hint { font-size: 11px; color: var(--rb-muted); opacity: .7; }
.rb-profile-form-card {
  background: transparent;
  border: none;
  padding: 0;
}
.rb-profile-form-footer {
  margin-top: 24px;
  text-align: right;
}

/* Profile ID Card */
.rb-profile-id-card {
  background: linear-gradient(160deg, var(--rb-ocean) 0%, #0284C7 100%);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  box-shadow: var(--rb-shadow-lg);
  position: relative;
  overflow: hidden;
}
.rb-profile-id-card::before {
  content: '⚓';
  position: absolute;
  font-size: 120px;
  right: -20px; bottom: -20px;
  opacity: .07;
  line-height: 1;
}
.rb-profile-avatar-wrap { position: relative; display: inline-block; margin-bottom: 16px; }
.rb-profile-avatar {
  width: 88px; height: 88px;
  border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(255,255,255,.4);
  display: block;
}
.rb-profile-avatar-ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
}
.rb-profile-id-name  { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.rb-profile-id-email { font-size: 12px; opacity: .8; margin-bottom: 16px; word-break: break-all; }
.rb-profile-badge    { margin-bottom: 20px; background: rgba(255,255,255,.2); color: #fff; }
.rb-profile-quick-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.15);
}
.rb-profile-qstat { text-align: center; }
.rb-profile-qstat-val   { display: block; font-size: 18px; font-weight: 800; }
.rb-profile-qstat-label { display: block; font-size: 11px; opacity: .75; margin-top: 2px; }
.rb-profile-qstat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* Profile Details */
.rb-profile-details { display: flex; flex-direction: column; gap: 16px; }
.rb-profile-info-card {
  background: var(--rb-white);
  border-radius: var(--rb-radius);
  padding: 20px 24px;
  box-shadow: var(--rb-shadow);
}
.rb-profile-info-title {
  font-size: 13px; font-weight: 700; color: var(--rb-dark);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--rb-border);
}
.rb-profile-info-grid { display: flex; flex-direction: column; gap: 0; }
.rb-profile-info-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--rb-light);
}
.rb-profile-info-row:last-child { border-bottom: none; }
.rb-profile-info-label { font-size: 12px; color: var(--rb-muted); font-weight: 500; }
.rb-profile-info-value { font-size: 13px; font-weight: 600; color: var(--rb-dark); text-align: right; max-width: 60%; word-break: break-word; }

/* Profile Links */
.rb-profile-links { display: flex; flex-direction: column; gap: 0; }
.rb-profile-link-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; text-decoration: none; color: var(--rb-dark);
  border-bottom: 1px solid var(--rb-light); font-size: 13px; font-weight: 500;
  transition: color .2s;
}
.rb-profile-link-item:last-child { border-bottom: none; }
.rb-profile-link-item:hover { color: var(--rb-ocean); }
.rb-profile-link-icon { font-size: 18px; flex-shrink: 0; }
.rb-profile-link-arrow { margin-left: auto; color: var(--rb-muted); font-size: 14px; }

/* ---- FORM STEPS ---- */
.rb-steps { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; padding: 0 10px; }
.rb-step { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; position: relative; width: 80px; }
.rb-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--rb-white); border: 2px solid var(--rb-border); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--rb-muted); font-size: 14px; transition: all .3s; }
.rb-step-label { font-size: 11px; font-weight: 700; color: var(--rb-muted); text-transform: uppercase; letter-spacing: .5px; text-align: center; }
.rb-step-line { flex: 1; height: 2px; background: var(--rb-border); margin: 0 -15px; transform: translateY(-26px); z-index: 1; transition: all .3s; }
.rb-step-active .rb-step-num { background: var(--rb-ocean); border-color: var(--rb-ocean); color: #fff; box-shadow: 0 0 0 4px rgba(11,79,140,.15); }
.rb-step-active .rb-step-label { color: var(--rb-ocean); }
.rb-step-completed .rb-step-num { background: var(--rb-success); border-color: var(--rb-success); color: #fff; }
.rb-step-completed .rb-step-line { background: var(--rb-success); }

/* ---- FORMS ---- */
.rb-form-card { background: var(--rb-white); border-radius: var(--rb-radius); padding: 24px; box-shadow: var(--rb-shadow); border: 1px solid var(--rb-border); }
.rb-form-card-title { font-size: 15px; font-weight: 700; color: var(--rb-dark); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.rb-form-row { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.rb-form-group { display: flex; flex-direction: column; gap: 8px; }
.rb-fg-full { width: 100%; }
.rb-fg-half { width: calc(50% - 10px); }
.rb-form-label { font-size: 13px; font-weight: 600; color: var(--rb-slate); }
.rb-required { color: var(--rb-danger); }
.rb-form-control { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--rb-border); background: #fcfcfc; font-size: 14px; font-family: inherit; transition: all .2s; color: var(--rb-dark); }
.rb-form-control:focus { outline: none; border-color: var(--rb-ocean); background: #fff; box-shadow: 0 0 0 4px rgba(11,79,140,.08); }
.rb-form-textarea { min-height: 120px; resize: vertical; }
.rb-form-textarea-sm { min-height: 80px; resize: vertical; }
.rb-form-hint { font-size: 12px; color: var(--rb-muted); margin-bottom: 12px; }
.rb-form-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--rb-border); }

/* ---- CHECKBOX GRID ---- */
.rb-checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.rb-checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; position: relative; user-select: none; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--rb-border); background: #fcfcfc; transition: all .2s; }
.rb-checkbox-item:hover { border-color: var(--rb-ocean); background: #f8fbff; }
.rb-checkbox-item input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.rb-checkbox-mark { height: 18px; width: 18px; background-color: #fff; border: 2px solid var(--rb-border); border-radius: 4px; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.rb-checkbox-item input:checked ~ .rb-checkbox-mark { background-color: var(--rb-ocean); border-color: var(--rb-ocean); }
.rb-checkbox-mark:after { content: ""; display: none; width: 5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-bottom: 2px; }
.rb-checkbox-item input:checked ~ .rb-checkbox-mark:after { display: block; }
.rb-checkbox-label { font-size: 13px; font-weight: 600; color: var(--rb-slate); }
.rb-checkbox-item input:checked ~ .rb-checkbox-label { color: var(--rb-ocean); }

/* ---- UPLOAD ZONE ---- */
.rb-upload-zone { border: 2px dashed var(--rb-border); border-radius: 16px; padding: 40px 24px; text-align: center; transition: all .2s; background: #fcfcfc; position: relative; }
.rb-upload-zone:hover, .rb-upload-zone.dragging { border-color: var(--rb-ocean); background: #f8fbff; }
.rb-upload-icon { font-size: 40px; display: block; margin-bottom: 12px; opacity: .5; }
.rb-upload-link { color: var(--rb-ocean); font-weight: 700; text-decoration: underline; cursor: pointer; }
.rb-upload-hint { font-size: 11px; color: var(--rb-muted); margin-top: 8px; }
.rb-upload-preview { position: relative; width: 100%; max-width: 400px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: var(--rb-shadow); }
.rb-upload-preview img { width: 100%; height: auto; display: block; }

/* ---- REMOVE BUTTON (foto principal + galeria) ---- */
.rb-upload-remove,
.rb-remove-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  transition: background .2s, transform .15s, border-color .2s;
  z-index: 10;
  padding: 0;
}
.rb-upload-remove:hover,
.rb-remove-btn:hover {
  background: rgba(239,68,68,.88);
  border-color: rgba(239,68,68,.5);
  transform: scale(1.12);
}
.rb-upload-remove svg,
.rb-remove-btn svg {
  pointer-events: none;
  display: block;
  flex-shrink: 0;
}

/* ---- GALLERY GRID ---- */
.rb-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin-top: 16px; }
.rb-gallery-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: var(--rb-shadow); }
.rb-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.rb-gallery-item .rb-remove-btn { top: 6px; right: 6px; width: 24px; height: 24px; }
.rb-gallery-add { aspect-ratio: 1; border: 2px dashed var(--rb-border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--rb-muted); cursor: pointer; transition: all .2s; background: #fcfcfc; }
.rb-gallery-add:hover { border-color: var(--rb-ocean); color: var(--rb-ocean); background: #f8fbff; }

/* ---- NUMBER STEPPER ---- */
.rb-number-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--rb-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fcfcfc;
  transition: border-color .2s;
}
.rb-number-input-wrap:focus-within { border-color: var(--rb-ocean); background: #fff; box-shadow: 0 0 0 3px rgba(11,79,140,.08); }
.rb-num-btn {
  width: 40px; height: 44px;
  background: none; border: none;
  font-size: 18px; font-weight: 700;
  color: var(--rb-slate); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
  font-family: inherit;
}
.rb-num-btn:hover { background: var(--rb-light); color: var(--rb-ocean); }
.rb-num-btn:active { background: #e2e8f0; }
.rb-num-input {
  width: 60px !important;
  border: none !important;
  border-left: 1px solid var(--rb-border) !important;
  border-right: 1px solid var(--rb-border) !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 4px !important;
}
.rb-num-input::-webkit-outer-spin-button,
.rb-num-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rb-num-input[type=number] { -moz-appearance: textfield; }
.rb-form-hint-inline {
  font-size: 11px; font-weight: 500;
  color: var(--rb-muted);
  margin-left: 6px;
  text-transform: lowercase;
}

/* ---- DURATION CARD ---- */
.rb-duration-card { border-left: 4px solid var(--rb-teal) !important; }

/* ---- SUCCESS STATE ---- */
.rb-form-success { text-align: center; padding: 40px 24px; animation: rb-fadein .5s ease; }
.rb-success-icon { font-size: 64px; margin-bottom: 20px; display: block; animation: rb-float 3s ease-in-out infinite; }
.rb-form-success h3 { font-size: 24px; font-weight: 800; color: var(--rb-dark); margin-bottom: 12px; }
.rb-form-success p { font-size: 15px; color: var(--rb-muted); margin-bottom: 32px; }
.rb-success-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.rb-btn-success { background: var(--rb-success); color: #fff; border-color: var(--rb-success); }
.rb-btn-success:hover { background: #0e9d6e; border-color: #0e9d6e; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,.3); }


/* ---- ANIMATIONS ---- */
@keyframes rb-spin    { to { transform: rotate(360deg); } }
@keyframes rb-fadein  { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rb-float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .rb-stats-grid  { grid-template-columns: repeat(2,1fr); }
  .rb-actions-grid { grid-template-columns: repeat(2,1fr); }
  .rb-boats-grid  { grid-template-columns: repeat(2,1fr); }
  .rb-finance-grid { grid-template-columns: repeat(2,1fr); }
  .rb-reservas-grid { grid-template-columns: 1fr; }
  .rb-profile-layout { grid-template-columns: 240px 1fr; }
}
@media (max-width: 900px) {
  .rb-profile-layout { grid-template-columns: 1fr; }
  .rb-profile-id-card { max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .rb-sidebar { transform: translateX(-100%); }
  .rb-sidebar.open { transform: translateX(0); }
  .rb-sidebar-toggle { display: flex; }
  .rb-hamburger { display: flex; }
  .rb-main { margin-left: 0; }
  .rb-content { padding: 20px 16px; }
  .rb-stats-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .rb-boats-grid { grid-template-columns: 1fr; }
  .rb-finance-grid { grid-template-columns: 1fr; }
  .rb-section-title { font-size: 18px; }
  .rb-section-header { flex-direction: column; align-items: flex-start; }
  .rb-next-booking-content { flex-direction: column; }
  .rb-history-filter { margin-top: 8px; }
}
@media (max-width: 480px) {
  .rb-stats-grid { grid-template-columns: 1fr; }
  .rb-actions-grid { grid-template-columns: repeat(2,1fr); }
  .rb-profile-info-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rb-profile-info-value { text-align: left; max-width: 100%; }
}

/* ---- DELETE MODAL ---- */
.rb-modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 1000;
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.rb-modal-backdrop.rb-modal-open { display: flex; animation: rb-fadein .2s ease; }
.rb-modal-box {
  background: var(--rb-white); border-radius: 20px;
  padding: 40px 36px; max-width: 440px; width: 90%;
  text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.25);
  animation: rb-fadein .3s ease;
}
.rb-modal-icon { font-size: 52px; margin-bottom: 12px; }
.rb-modal-title { font-size: 20px; font-weight: 800; color: var(--rb-dark); margin-bottom: 12px; }
.rb-modal-msg { font-size: 14px; color: var(--rb-muted); line-height: 1.6; margin-bottom: 28px; }
.rb-modal-msg strong { color: var(--rb-dark); font-weight: 700; }
.rb-modal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- TIME PICKER ---- */
.rb-avail-time-row {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; padding: 16px 0;
}
.rb-avail-time-label { font-size: 13.5px; font-weight: 600; color: var(--rb-slate); min-width: 180px; }
.rb-avail-time-inputs { display: flex; align-items: center; gap: 8px; }
.rb-time-select { width: 72px !important; padding: 10px 8px !important; text-align: center; font-size: 18px !important; font-weight: 700; }
.rb-time-colon { font-size: 22px; font-weight: 800; color: var(--rb-dark); margin: 0 2px; }
.rb-ampm-toggle { display: flex; border: 2px solid var(--rb-border); border-radius: 8px; overflow: hidden; }
.rb-ampm-btn {
  padding: 10px 14px; background: none; border: none;
  font-size: 13px; font-weight: 700; cursor: pointer;
  color: var(--rb-muted); transition: all .2s; font-family: inherit;
}
.rb-ampm-btn.rb-ampm-active { background: var(--rb-dark); color: #fff; }

/* ---- AUTO FLAGS ---- */
.rb-auto-flags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rb-border); }
.rb-auto-flag {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 8px;
  border: 1.5px solid var(--rb-border); font-size: 13px;
  font-weight: 600; color: var(--rb-muted); background: #fcfcfc;
}
.rb-auto-flag.rb-auto-flag-active { background: #ECFDF5; border-color: #6EE7B7; color: #065F46; }
.rb-auto-flag-icon { font-size: 14px; }
.rb-auto-flag-badge {
  margin-left: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase;
  background: #D1FAE5; color: #047857; padding: 2px 8px; border-radius: 20px; letter-spacing: .3px;
}

/* ---- TOAST NOTIFICATION ---- */
.rb-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  padding: 14px 22px; border-radius: 12px; font-size: 14px;
  font-weight: 600; font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  transform: translateY(20px); opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  max-width: 340px; pointer-events: none;
}
.rb-toast.rb-toast-show { transform: translateY(0); opacity: 1; }
.rb-toast-success { background: #065F46; color: #fff; }
.rb-toast-error   { background: var(--rb-danger); color: #fff; }
.rb-toast-info    { background: var(--rb-ocean); color: #fff; }

/* ---- CHECKOUT PAGE ---- */
body.rb-checkout-body {
  font-family: 'Inter', sans-serif;
  background: var(--rb-light);
  color: var(--rb-dark);
  min-height: 100vh;
}
.rb-checkout-wrap {
  max-width: 1080px; margin: 0 auto;
  padding: 40px 24px;
}
.rb-checkout-header {
  text-align: center; margin-bottom: 40px;
}
.rb-checkout-header h1 {
  font-size: 26px; font-weight: 800; color: var(--rb-dark); margin-bottom: 8px;
}
.rb-checkout-header p { font-size: 14px; color: var(--rb-muted); }
.rb-checkout-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 28px; align-items: start;
}
.rb-checkout-left, .rb-checkout-right { display: flex; flex-direction: column; gap: 20px; }
.rb-checkout-card {
  background: var(--rb-white); border-radius: 16px;
  padding: 28px; box-shadow: var(--rb-shadow);
  border: 1px solid var(--rb-border);
}
.rb-checkout-card-title {
  font-size: 15px; font-weight: 700; color: var(--rb-dark);
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--rb-border);
  display: flex; align-items: center; gap: 8px;
}
.rb-order-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--rb-border);
}
.rb-order-item:last-child { border-bottom: none; }
.rb-order-item-img {
  width: 72px; height: 52px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
}
.rb-order-item-info { flex: 1; }
.rb-order-item-name { font-size: 13.5px; font-weight: 700; color: var(--rb-dark); }
.rb-order-item-meta { font-size: 12px; color: var(--rb-muted); margin-top: 4px; line-height: 1.6; }
.rb-order-item-price { font-size: 15px; font-weight: 800; color: var(--rb-ocean); white-space: nowrap; }
.rb-order-totals { margin-top: 16px; border-top: 1px solid var(--rb-border); padding-top: 14px; }
.rb-order-total-row {
  display: flex; justify-content: space-between;
  font-size: 13.5px; padding: 6px 0;
}
.rb-order-total-row.rb-grand { font-size: 16px; font-weight: 800; color: var(--rb-ocean); padding-top: 10px; border-top: 2px solid var(--rb-border); margin-top: 4px; }
/* Payment form */
.rb-payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.rb-payment-method {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 10px;
  border: 2px solid var(--rb-border); cursor: pointer;
  transition: all .2s; background: #fcfcfc;
}
.rb-payment-method.active { border-color: var(--rb-ocean); background: #EFF6FF; }
.rb-payment-method-radio { width: 18px; height: 18px; accent-color: var(--rb-ocean); flex-shrink: 0; }
.rb-payment-method-label { font-size: 13.5px; font-weight: 600; color: var(--rb-dark); }
.rb-payment-method-logo { margin-left: auto; height: 22px; }
.rb-card-fields { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.rb-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Coupon */
.rb-coupon-row { display: flex; gap: 10px; }
.rb-coupon-row input { flex: 1; }
/* Tab toggle */
.rb-checkout-tabs { display: flex; gap: 0; border-radius: 10px; overflow: hidden; border: 2px solid var(--rb-border); margin-bottom: 20px; }
.rb-checkout-tab {
  flex: 1; padding: 12px; text-align: center;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  background: var(--rb-white); color: var(--rb-muted);
  border: none; font-family: inherit; transition: all .2s;
}
.rb-checkout-tab.active { background: var(--rb-ocean); color: #fff; }
@media (max-width: 860px) {
  .rb-checkout-grid { grid-template-columns: 1fr; }
  .rb-checkout-right { order: -1; }
}

/* Details Modal Styles */
.rb-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px;
}
.rb-modal-backdrop.rb-modal-open {
  opacity: 1;
  visibility: visible;
}
.rb-modal-box {
  background: var(--rb-white, #ffffff);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.rb-modal-backdrop.rb-modal-open .rb-modal-box {
  transform: scale(1) translateY(0);
}
.rb-modal-box.rb-modal-lg {
  max-width: 780px;
}
.rb-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--rb-border, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rb-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--rb-dark, #0F172A);
  margin: 0;
}
.rb-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--rb-muted, #64748B);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 32px; height: 32px;
  transition: all 0.2s;
}
.rb-modal-close:hover {
  background: var(--rb-light, #F1F5F9);
  color: var(--rb-dark, #0F172A);
}
.rb-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.rb-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--rb-border, #E2E8F0);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--rb-light, #F8FAFC);
}

/* Details Grid */
.rb-details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.rb-details-left, .rb-details-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rb-details-boat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--rb-light, #F8FAFC);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--rb-border, #E2E8F0);
}
.rb-details-img-wrap {
  width: 100px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rb-details-boat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rb-details-boat-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rb-dark, #0F172A);
  margin: 0 0 4px;
}
.rb-details-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rb-details-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--rb-muted, #64748B);
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rb-border, #E2E8F0);
  padding-bottom: 6px;
}
.rb-details-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 4px 0;
  align-items: center;
}
.rb-details-info-label {
  color: var(--rb-muted, #64748B);
  font-weight: 500;
}
.rb-details-info-val {
  color: var(--rb-dark, #0F172A);
  font-weight: 600;
  text-align: right;
}

@media (max-width: 767px) {
  .rb-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

