@extends('layouts.ownerLayout')

@section('title', 'Detalle de Serenata')

@section('vendor-style')
@vite([
  'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss',
  'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss',
  'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss',
  'resources/assets/vendor/libs/notyf/notyf.scss',
  'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss',
  'resources/assets/vendor/libs/@form-validation/form-validation.scss',
  'resources/assets/vendor/libs/select2/select2.scss'
])
@endsection

@section('vendor-script')
@vite([
  'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js',
  'resources/assets/vendor/libs/notyf/notyf.js',
  'resources/assets/vendor/libs/sweetalert2/sweetalert2.js',
  'resources/assets/vendor/libs/cleave-zen/cleave-zen.js',
  'resources/assets/vendor/libs/@form-validation/popular.js',
  'resources/assets/vendor/libs/@form-validation/bootstrap5.js',
  'resources/assets/vendor/libs/@form-validation/auto-focus.js',
  'resources/assets/vendor/libs/select2/select2.js'
])
@endsection

@section('page-script')
@vite('resources/assets/js/owner-serenata-details.js')
<script>
  window.__googleMapsCountry = @json($googleMapsCountry ?? 'co');
  window.__addressResolveUrl = @json(route('owner.serenatas.address-resolve'));
  window.__addressSuggestionsUrl = @json(route('owner.serenatas.address-suggestions'));
</script>
<style>
  .gm-address-suggestions {
    position: absolute;
    z-index: 1100;
    width: 100%;
    background: #fff;
    border: 1px solid #dbdade;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.75rem rgba(47, 43, 61, 0.12);
    margin-top: 0.25rem;
    max-height: 220px;
    overflow-y: auto;
  }

  .gm-address-suggestion-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    color: #6f6b7d;
    cursor: pointer;
  }

  .gm-address-suggestion-item:hover {
    background: #f4f5fb;
    color: #5d596c;
  }

  .time-wheel-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #dbdade;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(47, 43, 61, 0.18);
    z-index: 1200;
    padding: 0.5rem;
    min-width: 220px;
  }
  .time-wheel-columns { display: flex; align-items: center; gap: 0.5rem; }
  .time-wheel-sep { font-weight: 700; color: #6f6b7d; margin-top: 1rem; }
  .time-wheel-col { width: 90px; }
  .time-wheel-list {
    height: 160px;
    overflow: hidden;
    border: 1px solid #e6e6eb;
    border-radius: 0.5rem;
    padding: 0.25rem;
    background: #fff;
  }
  .time-wheel-item {
    text-align: center;
    padding: 0.35rem 0.25rem;
    border-radius: 0.35rem;
    cursor: pointer;
    user-select: none;
    color: #6f6b7d;
  }
  .time-wheel-item:hover { background: #f4f5fb; }
  .time-wheel-item.active {
    background: rgba(255, 76, 81, 0.12);
    color: #ff4c51;
    font-weight: 600;
  }

  .serenata-hero {
    border: 1px solid rgba(105, 108, 255, 0.12);
    border-radius: 1.25rem;
    background:
      radial-gradient(circle at top left, rgba(255, 76, 81, 0.08), transparent 34%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 251, 0.96));
    box-shadow: 0 1rem 2.2rem rgba(47, 43, 61, 0.08);
    padding: 1.25rem;
  }

  .serenata-hero__content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
    justify-content: space-between;
  }

  .serenata-hero__summary {
    flex: 1 1 520px;
    min-width: 0;
  }

  .serenata-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8d98;
  }

  .serenata-hero__title {
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 800;
    color: #2f2b3d;
  }

  .serenata-hero__group {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 76, 81, 0.08);
    color: #ff4c51;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .serenata-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.95rem;
  }

  .serenata-hero__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .serenata-hero__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(111, 107, 125, 0.1);
  }

  .serenata-hero__meta-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(105, 108, 255, 0.1);
    color: #696cff;
    flex-shrink: 0;
  }

  .serenata-hero__meta-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a8d98;
  }

  .serenata-cancel-note {
    width: 100%;
    margin-top: 1rem;
    border: 1px solid rgba(255, 76, 81, 0.16);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 76, 81, 0.12), rgba(255, 255, 255, 0.96));
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .serenata-cancel-note:hover,
  .serenata-cancel-note:focus {
    transform: translateY(-1px);
    border-color: rgba(255, 76, 81, 0.28);
    box-shadow: 0 0.9rem 1.7rem rgba(255, 76, 81, 0.12);
  }

  .serenata-cancel-note__icon,
  .serenata-cancel-note__action {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .serenata-cancel-note__icon {
    background: rgba(255, 76, 81, 0.14);
    color: #ff4c51;
  }

  .serenata-cancel-note__action {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.9);
    color: #8a8d98;
  }

  .serenata-cancel-note__content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }

  .serenata-cancel-note__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #c93a44;
  }

  .serenata-cancel-note__text {
    color: #444050;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .serenata-hero__side {
    flex: 0 1 420px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 420px;
  }

  .serenata-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
  }

  .serenata-hero__status-panel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(111, 107, 125, 0.1);
  }

  .serenata-hero__status-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2f2b3d;
  }

  .serenata-hero__status-help {
    font-size: 0.83rem;
    color: #8a8d98;
  }

  .serenata-hero__status-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
  }

  .serenata-hero__status-form .form-select {
    min-width: 0;
  }

  .serenata-stat-card {
    height: 100%;
    border: 1px solid rgba(111, 107, 125, 0.1);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 251, 0.96));
    padding: 0.8rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    box-shadow: 0 0.45rem 1rem rgba(47, 43, 61, 0.04);
  }

  .serenata-stat-card__label,
  .serenata-cost-summary__label,
  .serenata-history-overview__label,
  .serenata-info-grid__label,
  .serenata-data-stack__label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8d98;
  }

  .serenata-stat-card__value,
  .serenata-cost-summary__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2f2b3d;
    line-height: 1.1;
  }

  .serenata-stat-card__hint {
    font-size: 0.76rem;
    color: #8a8d98;
  }

  .serenata-stat-card.is-positive,
  .serenata-cost-summary__item.is-positive {
    border-color: rgba(40, 199, 111, 0.18);
    background: linear-gradient(180deg, rgba(40, 199, 111, 0.09), rgba(255, 255, 255, 0.96));
  }

  .serenata-stat-card.is-negative,
  .serenata-cost-summary__item.is-negative {
    border-color: rgba(255, 76, 81, 0.18);
    background: linear-gradient(180deg, rgba(255, 76, 81, 0.09), rgba(255, 255, 255, 0.96));
  }

  .serenata-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .serenata-info-grid__item {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(111, 107, 125, 0.08);
    border-radius: 0.9rem;
    background: rgba(250, 250, 252, 0.9);
    min-width: 0;
  }

  .serenata-info-grid__item--full,
  .serenata-history-overview__item--full {
    grid-column: 1 / -1;
  }

  .serenata-info-grid__value {
    display: block;
    margin-top: 0.3rem;
    color: #444050;
    font-weight: 700;
    word-break: break-word;
  }

  .serenata-mini-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(105, 108, 255, 0.08);
    color: #696cff;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .serenata-customer-hero,
  .serenata-address-hero,
  .serenata-soft-panel {
    border: 1px solid rgba(111, 107, 125, 0.1);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(250, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
    padding: 0.8rem 0.9rem;
  }

  .serenata-customer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .serenata-customer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-left: auto;
  }

  .serenata-customer-actions__hint {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(40, 199, 111, 0.1);
    color: #28a36b;
    font-size: 0.74rem;
    font-weight: 700;
  }

  .serenata-contact-grid,
  .serenata-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .serenata-contact-card,
  .serenata-address-grid__item {
    padding: 0.75rem 0.8rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(111, 107, 125, 0.08);
    background: rgba(250, 250, 252, 0.92);
  }

  .serenata-contact-card--wide,
  .serenata-address-grid__item--full {
    grid-column: 1 / -1;
  }

  .serenata-contact-card__label,
  .serenata-address-hero__label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8d98;
  }

  .serenata-contact-card__value {
    display: block;
    margin-top: 0.25rem;
    color: #2f2b3d;
    font-size: 0.92rem;
    font-weight: 800;
    word-break: break-word;
  }

  .serenata-contact-card__meta {
    display: block;
    margin-top: 0.15rem;
    color: #8a8d98;
    font-size: 0.74rem;
  }

  .serenata-address-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: flex-start;
    justify-content: space-between;
  }

  .serenata-address-hero__link {
    display: inline-block;
    margin-top: 0.22rem;
    color: #2f2b3d;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
  }

  a.serenata-address-hero__link {
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
  }

  .serenata-address-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
  }

  .serenata-data-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .serenata-data-stack__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(111, 107, 125, 0.15);
  }

  .serenata-data-stack__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .serenata-data-stack__row strong {
    text-align: right;
    color: #444050;
    word-break: break-word;
  }

  .serenata-cost-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.7rem;
  }

  .serenata-cost-summary__item {
    padding: 0.8rem 0.9rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(111, 107, 125, 0.1);
    background: rgba(250, 250, 252, 0.96);
  }

  .serenata-history-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.7rem;
  }

  .serenata-history-overview__item {
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(111, 107, 125, 0.1);
    background: rgba(250, 250, 252, 0.96);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .serenata-cost-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 0.7rem;
  }

  .serenata-cost-overview__card {
    border-radius: 1rem;
    border: 1px solid rgba(111, 107, 125, 0.08);
    background: rgba(250, 250, 252, 0.96);
    padding: 0.8rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }

  .serenata-cost-overview__card--primary {
    background: linear-gradient(180deg, rgba(105, 108, 255, 0.1), rgba(255, 255, 255, 0.96));
    border-color: rgba(105, 108, 255, 0.14);
  }

  .serenata-cost-overview__card--warning {
    background: linear-gradient(180deg, rgba(255, 159, 67, 0.1), rgba(255, 255, 255, 0.96));
    border-color: rgba(255, 159, 67, 0.16);
  }

  .serenata-cost-overview__card--info {
    background: linear-gradient(180deg, rgba(0, 207, 232, 0.1), rgba(255, 255, 255, 0.96));
    border-color: rgba(0, 207, 232, 0.16);
  }

  .serenata-cost-overview__card--dark {
    background: linear-gradient(180deg, rgba(47, 43, 61, 0.08), rgba(255, 255, 255, 0.96));
    border-color: rgba(47, 43, 61, 0.12);
  }

  .serenata-cost-overview__icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    color: #444050;
    flex-shrink: 0;
  }

  .serenata-cost-overview__content {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
  }

  .serenata-cost-overview__label,
  .serenata-cost-overview__meta {
    color: #8a8d98;
  }

  .serenata-cost-overview__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .serenata-cost-overview__value {
    color: #2f2b3d;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.1;
  }

  .serenata-cost-overview__meta {
    font-size: 0.74rem;
  }

  .card.mb-6 > .card-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .serenata-cost-inline-note {
    margin-top: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #8a8d98;
    font-size: 0.84rem;
  }

  .serenata-cost-table-wrap {
    border-top: 1px solid rgba(111, 107, 125, 0.08);
  }

  .serenata-cost-table thead th {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8d98;
    background: rgba(247, 247, 251, 0.96);
    border-bottom-color: rgba(111, 107, 125, 0.1);
  }

  .serenata-cost-table tbody td {
    vertical-align: middle;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom-color: rgba(111, 107, 125, 0.08);
  }

  .serenata-cost-table tbody tr:hover {
    background: rgba(105, 108, 255, 0.025);
  }

  .serenata-table-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .serenata-table-chip--artist {
    background: rgba(105, 108, 255, 0.1);
    color: #696cff;
  }

  .serenata-table-chip--gift {
    background: rgba(255, 159, 67, 0.14);
    color: #ff9f43;
  }

  .serenata-table-chip--other_cost {
    background: rgba(0, 207, 232, 0.12);
    color: #00a3b8;
  }

  .serenata-payment-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.7rem;
  }

  .serenata-payment-overview__card,
  .serenata-payment-panel {
    border: 1px solid rgba(111, 107, 125, 0.1);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(250, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
  }

  .serenata-payment-overview__card {
    padding: 0.8rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .serenata-payment-overview__card.is-warning {
    border-color: rgba(255, 159, 67, 0.18);
    background: linear-gradient(180deg, rgba(255, 159, 67, 0.08), rgba(255, 255, 255, 0.98));
  }

  .serenata-payment-overview__card.is-success {
    border-color: rgba(40, 199, 111, 0.18);
    background: linear-gradient(180deg, rgba(40, 199, 111, 0.08), rgba(255, 255, 255, 0.98));
  }

  .serenata-payment-overview__label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8d98;
  }

  .serenata-payment-overview__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2f2b3d;
    line-height: 1.1;
  }

  .serenata-payment-overview__meta {
    font-size: 0.74rem;
    color: #8a8d98;
  }

  .serenata-payment-panel {
    padding: 1rem;
  }

  .serenata-payment-panel__header {
    margin-bottom: 0.85rem;
  }

  .serenata-payment-method-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: center;
  }

  .serenata-payment-ledger {
    border: 1px solid rgba(111, 107, 125, 0.08);
    border-radius: 0.9rem;
  }

  .serenata-payment-ledger thead th {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8d98;
    background: rgba(247, 247, 251, 0.96);
    border-bottom-color: rgba(111, 107, 125, 0.1);
  }

  .serenata-payment-ledger tbody td {
    vertical-align: middle;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom-color: rgba(111, 107, 125, 0.08);
  }

  .serenata-payment-ledger__row--refund {
    background: rgba(255, 76, 81, 0.03);
  }

  .serenata-payment-ledger__row--planned {
    background: rgba(255, 159, 67, 0.03);
  }

  .serenata-ceded-overview,
  .serenata-ceded-balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.7rem;
  }

  .serenata-ceded-overview__card,
  .serenata-ceded-panel,
  .serenata-ceded-balance-card {
    border: 1px solid rgba(111, 107, 125, 0.1);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(250, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
  }

  .serenata-ceded-overview__card {
    padding: 0.8rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .serenata-ceded-overview__label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8d98;
  }

  .serenata-ceded-overview__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2f2b3d;
    line-height: 1.1;
  }

  .serenata-ceded-overview__meta {
    font-size: 0.74rem;
    color: #8a8d98;
  }

  .serenata-ceded-panel {
    padding: 1rem;
  }

  .serenata-ceded-panel__header {
    margin-bottom: 0.85rem;
  }

  .serenata-ceded-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.7rem;
  }

  .serenata-ceded-kpi {
    border: 1px solid rgba(111, 107, 125, 0.08);
    border-radius: 0.85rem;
    background: rgba(250, 250, 252, 0.92);
    padding: 0.8rem 0.9rem;
    height: 100%;
  }

  .serenata-ceded-balance-card {
    padding: 0.85rem 0.9rem;
  }

  .serenata-ceded-ledger {
    border: 1px solid rgba(111, 107, 125, 0.08);
    border-radius: 0.9rem;
  }

  .serenata-ceded-ledger thead th {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8d98;
    background: rgba(247, 247, 251, 0.96);
    border-bottom-color: rgba(111, 107, 125, 0.1);
  }

  .serenata-ceded-ledger tbody td {
    vertical-align: middle;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom-color: rgba(111, 107, 125, 0.08);
  }

  @media (max-width: 991.98px) {
    .serenata-hero__side {
      max-width: 100%;
    }

    .serenata-hero__actions {
      justify-content: flex-start;
    }

    .serenata-customer-hero {
      flex-direction: column;
      align-items: flex-start;
    }

    .serenata-customer-actions {
      margin-left: 0;
      width: 100%;
    }
  }

  @media (max-width: 575.98px) {
    .serenata-hero {
      padding: 1rem;
    }

    .serenata-info-grid {
      grid-template-columns: 1fr;
    }

    .serenata-contact-grid,
    .serenata-address-grid {
      grid-template-columns: 1fr;
    }

    .serenata-address-hero {
      flex-direction: column;
    }

    .serenata-address-hero__actions {
      justify-content: flex-start;
    }

    .serenata-data-stack__row {
      flex-direction: column;
      gap: 0.3rem;
    }

    .serenata-data-stack__row strong {
      text-align: left;
    }

    .serenata-hero__status-form {
      grid-template-columns: 1fr;
    }

    .serenata-payment-method-row {
      grid-template-columns: 1fr;
    }

    .serenata-cancel-note {
      align-items: flex-start;
    }
  }
</style>
@endsection

@section('content')
@include('content.owner.serenatas._details-content', ['embedded' => false])
@endsection
