/* ==========================================================================
   AIRISH - User Profile Stylesheet (css/user.css)
   Modern Creator / Patron Profile Layout (Aligned with Clean Black Reference)
   ========================================================================== */

.user-main-content {
  padding: 20px 18px 20px 18px;
  position: relative;
  z-index: 2;
  background: transparent;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Ambient Blurred Background Stage (Scrolls along with page content)
   -------------------------------------------------------------------------- */
.user-ambient-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 820px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
}

.user-ambient-canvas {
  position: absolute;
  inset: -60px;
  background-image: url('../assets/images/user-1.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  filter: blur(10px) saturate(1.8) brightness(0.55);
  -webkit-filter: blur(10px) saturate(1.8) brightness(0.55);
  transform: scale(1.2) translateZ(0);
  opacity: 0.9;
}

.user-ambient-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(11, 15, 23, 0.45) 0%,
      rgba(11, 15, 23, 0.2) 25%,
      rgba(11, 15, 23, 0.55) 55%,
      rgba(11, 15, 23, 0.92) 80%,
      #0b0f17 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Centered Profile Header (Avatar, Name, Handle, Bio, Stats, Actions)
   -------------------------------------------------------------------------- */
.user-profile-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  margin-top: 30px;
}

.user-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  position: relative;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.user-display-name {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0 0 4px;
}

.user-handle,
.user-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  margin: 0 0 12px;
}

.user-location i {
  font-size: 15px;
  color: var(--accent-sage, #94d2bd);
  line-height: 1;
}

.user-bio {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 300;
  color: #d1d5db;
  max-width: 320px;
  margin: 0 auto 20px;
  font-style: italic;
}

/* Rental Context Stats Row (Active Rent, Last Rent, Total Rent) */
.user-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 360px;
}

.user-stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.user-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  padding: 2px 4px;
}

.user-stat-col:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.user-stat-col:active {
  transform: scale(0.96);
}

.user-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.user-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: #8e8e93;
  margin-top: 3px;
  white-space: nowrap;
}

/* Pill Action Buttons (Edit Profile & About Us) */
.user-actions-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin-bottom: 14px;
}

/* Logout Button (Text Only: No Background, No Border) */
.user-btn-logout {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s ease, transform 0.15s ease, color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.user-logout-dot {
  font-size: 18px;
  line-height: 0;
  display: inline-block;
  color: inherit;
}

.user-btn-logout:hover {
  color: #f87171;
  opacity: 0.85;
  transform: translateY(-1px);
}

.user-btn-logout:active {
  transform: scale(0.96);
}

.user-btn-pill {
  flex: 1;
  height: 40px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  user-select: none;
  outline: none;
  text-decoration: none;
}

.user-btn-pill i {
  font-size: 15px;
  line-height: 1;
}

.user-btn-pill:active {
  transform: scale(0.97);
}

.user-btn-edit,
.user-btn-about {
  background: var(--glass-bg-subtle, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  color: #ffffff;
}

.user-btn-edit:hover,
.user-btn-about:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4-Icon Tab Bar
   -------------------------------------------------------------------------- */
.user-tab-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0px;
  position: relative;
}

.user-tab-btn {
  background: none;
  border: none;
  padding: 6px 12px 15px;
  color: #71717a;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  outline: none;
  flex: 1;
}

.user-tab-btn i {
  font-size: 20px;
  line-height: 1;
}

.user-tab-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.1px;
  line-height: 1;
}

.user-tab-btn:hover {
  color: #d4d4d8;
}

.user-tab-btn.is-active {
  color: #ffffff;
}

.user-tab-btn.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Tab Panes & Folder Widgets
   -------------------------------------------------------------------------- */
.user-tab-pane {
  display: none;
  animation: fadeIn 0.25s ease;
}

.user-tab-pane.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bento Grid Discover Batch in User Tab */
.user-widgets-grid {
  margin-top: 0px;
  margin-bottom: 24px;
}

.user-widgets-grid .bento-card {
  text-decoration: none;
}

.user-widgets-grid .new-art-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.user-widgets-grid .new-art-name {
  color: #cbd5e1;
}

.user-widgets-grid .new-art-age {
  color: #94a3b8;
}

/* 3-Card Balanced Bento Layout (1 Wide Hero + 2 Equal Columns) */
.user-favorite-trio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0px;
  margin-bottom: 24px;
}

.user-favorite-trio .bento-card-featured {
  grid-column: 1 / -1;
}

.user-favorite-trio .bento-card-featured .bento-img-wrap {
  aspect-ratio: 16 / 9.5;
}

.user-favorite-trio .bento-card {
  text-decoration: none;
}

.user-favorite-trio .new-art-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.user-favorite-trio .new-art-name {
  color: #cbd5e1;
}

.user-favorite-trio .new-art-age {
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   Direct Editable Profile Form (Minimal Underline Style Matching Reference)
   -------------------------------------------------------------------------- */
.user-detail-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: transparent;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: 0px;
  margin-bottom: 24px;
}

.user-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.user-form-field {
  display: flex;
  flex-direction: column;
  position: relative;
}

.user-field-label {
  font-size: 13px;
  font-weight: 500;
  color: #8e95a2;
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}

.user-field-input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 0 10px 0;
  width: 100%;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, color 0.2s ease;
  border-radius: 0;
}

.user-field-input:focus {
  border-bottom-color: var(--accent-sage, #94d2bd);
  color: #ffffff;
}

.user-input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.user-input-with-icon .user-field-input {
  padding-right: 32px;
}

.verified-badge-icon {
  position: absolute;
  right: 0;
  bottom: 10px;
  color: #22c55e;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

.user-save-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 999px;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.user-save-btn:hover {
  background: #f4f4f5;
  transform: translateY(-1px);
}

.user-save-btn:active {
  transform: scale(0.98);
}

/* --------------------------------------------------------------------------
   Collabs Tab (Kartu Kolaborasi Mitra Sanggar)
   -------------------------------------------------------------------------- */
.user-collabs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.user-collab-card {
  background: #181a20;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.user-collab-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.user-collab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.user-collab-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.user-collab-badge {
  font-size: 11px;
  font-weight: 600;
}

.user-collab-badge.badge-therapy {
  color: var(--accent-sage, #94d2bd);
}

.user-collab-badge.badge-artistic {
  color: var(--accent-gold, #e9d8a6);
}

.user-collab-badge.badge-corporate {
  color: var(--accent-lavender, #c4b5fd);
}

.user-collab-desc {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.user-collab-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.user-collab-status {
  font-size: 11px;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.user-collab-status i {
  color: #4ade80;
  font-size: 13px;
}

.user-collab-link {
  font-size: 11px;
  color: var(--accent-sage, #94d2bd);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.user-collab-link:hover {
  opacity: 0.8;
  transform: translateX(2px);
}

.new-art-badge.rented {
  color: var(--accent-sage, #94d2bd);
  border-color: rgba(148, 210, 189, 0.35);
  background: rgba(148, 210, 189, 0.12);
}

/* Bento Card Aspect Ratio Utilities */
.aspect-1-1 {
  aspect-ratio: 1 / 1.1;
}

.aspect-1-0 {
  aspect-ratio: 1 / 1.0;
}

.aspect-1-15 {
  aspect-ratio: 1 / 1.15;
}

.aspect-1-05 {
  aspect-ratio: 1 / 1.05;
}

.aspect-1-25 {
  aspect-ratio: 1 / 1.25;
}

.aspect-1-2 {
  aspect-ratio: 1 / 1.2;
}

.aspect-1-35 {
  aspect-ratio: 1 / 1.35;
}

.user-widget-card {
  border-radius: 24px;
  padding: 12px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.user-widget-card:hover {
  transform: translateY(-2px);
}

.user-widget-card:active {
  transform: scale(0.98);
}

.widget-yellow {
  background: #F3BA24;
  color: #000000;
}

.widget-dark {
  background: #181A20;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* 2x2 Inner Mini Tiles */
.widget-tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.widget-tile {
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sampler Pad Tile */
.tile-sampler {
  background: #18181b;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
}

.sampler-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 38px;
  margin: 0 auto;
}

.sampler-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.sampler-label {
  font-size: 8px;
  color: #71717a;
  text-align: center;
  font-weight: 600;
}

/* Piano Keys Tile */
.tile-keys {
  background: #18181b;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.piano-board {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, #18181b 30%, #eab308 100%);
  position: relative;
  padding-bottom: 4px;
}

.piano-keys-row {
  display: flex;
  justify-content: space-around;
  padding: 0 4px 6px;
  gap: 2px;
}

.piano-keys-row span {
  flex: 1;
  height: 24px;
  background: #fef08a;
  border-radius: 2px;
}

.piano-num {
  position: absolute;
  top: 8px;
  left: 6px;
  font-size: 7px;
  color: #a1a1aa;
  font-family: monospace;
}

.tile-gold-shade {
  background: rgba(0, 0, 0, 0.15);
}

.tile-dark-shade {
  background: rgba(255, 255, 255, 0.04);
}

.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.widget-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-left: 2px;
}

.widget-yellow .widget-card-title {
  color: #000000;
}

.widget-dark .widget-card-title {
  color: #ffffff;
}

/* Grid View Tab */
.user-art-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.user-art-card {
  background: #15181e;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.user-art-card:hover {
  transform: translateY(-2px);
}

.user-art-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.user-art-info {
  padding: 10px;
}

.user-art-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 2px;
}

.user-art-artist {
  font-size: 11px;
  color: #8e8e93;
}

/* Toast Message */
.user-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(30, 35, 45, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   Modal Bottom Sheets (Reused from existing modals)
   -------------------------------------------------------------------------- */
.user-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-top: 40vh;
  padding-top: 40dvh;
  padding-left: 0;
  padding-right: 0;
}

.user-modal-overlay::-webkit-scrollbar {
  width: 6px;
}

.user-modal-overlay::-webkit-scrollbar-track {
  background: transparent;
}

.user-modal-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.user-modal-overlay::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

.user-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.user-modal-sheet {
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  min-height: 60vh;
  min-height: 60dvh;
  margin-top: auto;
  flex-shrink: 0;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.85);
  will-change: transform;
  background: #11141c;
  background: rgba(17, 21, 30, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.user-modal-overlay.is-active .user-modal-sheet {
  transform: translate3d(0, 0, 0);
}

.user-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Wallet Card Inside Modal */
.user-wallet-stat-card {
  background: linear-gradient(135deg, #182232 0%, #0d141e 100%);
  border: 1px solid rgba(148, 210, 189, 0.25);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.user-wallet-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-wallet-balance {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0 12px;
}

.user-wallet-impact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Rented Tab - Row Model (List Baris Sewa Aktif)
   -------------------------------------------------------------------------- */
.rented-rows-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 24px;
  width: 100%;
}

.rented-row-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 14px;
  background: rgba(21, 25, 33, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.rented-row-card:hover,
.rented-row-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(148, 210, 189, 0.35);
  background: rgba(27, 33, 44, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.rented-row-card:active {
  transform: translateY(0);
}

/* Thumbnail wrapper */
.rented-row-thumb-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #12161f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rented-row-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.rented-row-card:hover .rented-row-thumb {
  transform: scale(1.06);
}

.rented-row-status-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(148, 210, 189, 0.95);
  color: #0b0f17;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 1.5px 5px;
  border-radius: 4px;
  line-height: 1.2;
}

/* Card Content / Body */
.rented-row-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rented-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rented-row-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.rented-row-artist {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.rented-artist-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: var(--bg-secondary);
  display: block;
}

.rented-row-artist i {
  color: var(--accent-sage);
  font-size: 13px;
}

/* Package Duration & Total Price Row */
.rented-row-pkg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 3px;
  margin-bottom: 2px;
}

.rented-pkg-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-sage, #94d2bd);
  background: rgba(148, 210, 189, 0.12);
  border: 1px solid rgba(148, 210, 189, 0.22);
  border-radius: 6px;
  padding: 2px 7px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.rented-pkg-pill i {
  font-size: 11px;
}

.rented-pkg-price {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.1px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 5px;
}

.rented-pkg-price-label {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--text-muted, #9ca3af);
}

/* Dates Bar */
.rented-row-dates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.rented-date-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rented-date-col:last-child {
  align-items: flex-end;
  text-align: right;
}

.rented-date-label {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  line-height: 1;
}

.rented-date-val {
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.2;
  white-space: nowrap;
}

.rented-date-divider {
  color: var(--accent-sage);
  font-size: 11px;
  opacity: 0.75;
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Modal: Detail Rental Popup (Muncul saat rented-row-card diklik)
   -------------------------------------------------------------------------- */
#rentalDetailModalOverlay {
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.rental-detail-sheet {
  max-width: 440px;
  background: #10141d;
  background: rgba(16, 20, 29, 0.985);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  transform: translate3d(0, 105%, 0);
  opacity: 1;
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease-out;
  will-change: transform, opacity;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.user-modal-overlay.is-active .rental-detail-sheet,
#rentalDetailModalOverlay.is-active .rental-detail-sheet {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease-out;
}

.rent-detail-art-card {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.rent-detail-art-card.rent-detail-about-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.05);
}

.rent-about-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rent-about-story {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rent-about-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.rent-about-desc strong {
  color: #ffffff;
  font-weight: 600;
}

.rent-about-desc em {
  font-style: normal;
  color: var(--accent-sage, #94d2bd);
}

.rent-detail-art-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #151921;
}

.rent-detail-art-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rent-detail-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rent-detail-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-sage, #94d2bd);
  background: rgba(148, 210, 189, 0.14);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}

.rent-detail-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-sage, #94d2bd);
  box-shadow: 0 0 6px var(--accent-sage, #94d2bd);
}

.rent-detail-code {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--text-muted, #9ca3af);
  letter-spacing: 0.5px;
}

.rent-detail-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rent-detail-artist-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.rent-detail-artist-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rent-detail-artist-name {
  font-size: 12px;
  color: #cbd5e1;
}

.rent-detail-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.rent-detail-card {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rent-detail-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-sage, #94d2bd);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.rent-detail-card-header i {
  font-size: 13px;
}

.rent-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.rent-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rent-detail-item.full-width {
  grid-column: 1 / -1;
}

.rent-detail-label {
  font-size: 10.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.rent-detail-val {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
}

.rent-detail-val.text-sage {
  color: var(--accent-sage, #94d2bd);
  font-weight: 600;
}

.rent-detail-val.text-muted {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
}

.rent-detail-payment-method {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rent-detail-payment-method i {
  color: var(--accent-sage, #94d2bd);
  font-size: 14px;
}

.rent-detail-paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
}

.rent-detail-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(148, 210, 189, 0.1);
  border: 1px solid rgba(148, 210, 189, 0.25);
  border-radius: 10px;
  margin-top: 4px;
}

.rent-detail-price-highlight {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-sage, #94d2bd);
  letter-spacing: -0.2px;
}

.rent-detail-shipping-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #f1f5f9;
  font-weight: 600;
}

.rent-detail-card.esg-card {
  background: linear-gradient(135deg, rgba(148, 210, 189, 0.12) 0%, rgba(18, 22, 32, 0.95) 100%);
  border-color: rgba(148, 210, 189, 0.25);
}

.rent-detail-esg-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rent-detail-esg-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(148, 210, 189, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sage, #94d2bd);
  font-size: 20px;
  flex-shrink: 0;
}

.rent-detail-esg-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.35;
}

.rent-detail-esg-text strong {
  font-size: 13px;
  color: #ffffff;
}

.rent-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Luxury Dark Rotating Borderspin CTA Button (Matches #btnDetailOpenRentalSheet) */
#detailModalViewArtBtn,
#aboutModalExploreArtBtn {
  position: relative;
  width: 100%;
  padding: 13px 25px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  border-radius: var(--radius-full);
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-primary, #ffffff) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast, 0.25s ease);
  font-family: var(--font-sans, inherit);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  box-shadow: none !important;
  text-decoration: none;
}

#detailModalViewArtBtn::before,
#aboutModalExploreArtBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(250%, 600px);
  height: max(250%, 600px);
  background: conic-gradient(from 0deg,
      transparent 0deg,
      transparent 300deg,
      rgba(255, 255, 255, 0.2) 330deg,
      rgba(255, 255, 255, 0.7) 350deg,
      #ffffff 360deg);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: webarBorderSpin 3.2s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#detailModalViewArtBtn::after,
#aboutModalExploreArtBtn::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: rgba(12, 16, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  z-index: 1;
  pointer-events: none;
}

#detailModalViewArtBtn>*,
#aboutModalExploreArtBtn>* {
  position: relative;
  z-index: 2;
}

#detailModalViewArtBtn:hover,
#aboutModalExploreArtBtn:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 255, 255, 0.2) !important;
}

#detailModalViewArtBtn:hover::before,
#aboutModalExploreArtBtn:hover::before {
  animation-duration: 1.8s;
}

#detailModalViewArtBtn:hover::after,
#aboutModalExploreArtBtn:hover::after {
  background: rgba(18, 24, 38, 0.92);
}

#detailModalViewArtBtn i,
#aboutModalExploreArtBtn i {
  font-size: 16px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

#detailModalViewArtBtn span,
#aboutModalExploreArtBtn span {
  position: relative;
  z-index: 2;
  color: #ffffff;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 1.3px;
}

.rent-detail-close-link {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-muted, #9ca3af);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 10px 16px;
  cursor: pointer;
  transition: color var(--transition-fast, 0.2s ease);
  text-decoration: none;
  display: block;
  width: 100%;
}

.rent-detail-close-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

#tabCollabs {
  padding: 0 10px;
}