.customer-account-page {
    min-height: 60vh;
}

.customer-auth-card .form-group {
    margin-bottom: 1rem;
}

.customer-auth-card .form-label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.35rem;
}

.customer-auth-card .form-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 0.875rem;
    font-size: 1rem;
    line-height: 1.5;
}

.customer-auth-card .form-input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 1px;
    border-color: #3b82f6;
}

.customer-auth-card .form-help {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.customer-auth-card .form-check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.customer-auth-card .form-check-row input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.customer-auth-card .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.customer-auth-card .btn-primary:hover {
    background: #1d4ed8;
}

.customer-auth-card .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.customer-auth-card .btn-link {
    background: none;
    border: 0;
    color: #2563eb;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
}

.customer-auth-card .btn-link:hover {
    text-decoration: underline;
}

.customer-auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9375rem;
    color: #4b5563;
}

.customer-auth-links a {
    color: #2563eb;
    font-weight: 600;
}

.customer-auth-inline-error {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: #b91c1c;
}

.customer-auth-resend {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Header account slot */
.customer-header-account-slot {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.customer-header-account-slot__sign-in {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.customer-header-account-slot__sign-in:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.customer-header-account-slot--mobile {
    width: 100%;
    margin-top: 0.75rem;
}

.customer-header-account-slot--mobile .customer-header-account-slot__sign-in,
.customer-header-account-slot--mobile .customer-header-account-menu__toggle {
    width: 100%;
    justify-content: flex-start;
}

.customer-header-account-menu {
    position: relative;
}

.customer-header-account-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    color: #111827;
    font-weight: 600;
    cursor: pointer;
}

.customer-header-account-menu__toggle:hover,
.customer-header-account-menu.is-open .customer-header-account-menu__toggle {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.customer-header-account-menu__avatar {
    font-size: 1.125rem;
    line-height: 1;
}

.customer-header-account-menu__chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.customer-header-account-menu.is-open .customer-header-account-menu__chevron {
    transform: rotate(180deg);
}

.customer-header-account-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 12rem;
    padding: 0.35rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    z-index: 60;
}

.customer-header-account-slot--mobile .customer-header-account-menu__dropdown {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
}

.customer-header-account-menu__dropdown a,
.customer-header-account-menu__dropdown button {
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    border: 0;
    background: none;
    color: #374151;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.customer-header-account-menu__dropdown a:hover,
.customer-header-account-menu__dropdown button:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.customer-header-account-menu__sign-out-form {
    margin: 0;
    border-top: 1px solid #e5e7eb;
}

/* Account layout */
.customer-account-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .customer-account-layout {
        grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
        align-items: start;
    }
}

.customer-account-layout__sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
}

.customer-account-layout__main {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .customer-account-layout__main {
        padding: 2rem;
    }
}

.customer-account-layout__title {
    margin: 0;
    font-size: 1.875rem;
    line-height: 1.2;
    color: #111827;
}

.customer-account-layout__intro {
    margin: 0.75rem 0 0;
    color: #6b7280;
}

.customer-account-flash {
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
}

.customer-account-flash--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.customer-account-flash--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.customer-account-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.customer-account-nav__item + .customer-account-nav__item {
    margin-top: 0.35rem;
}

.customer-account-nav__item a {
    display: block;
    padding: 0.75rem 0.875rem;
    border-radius: 0.625rem;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
}

.customer-account-nav__item a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.customer-account-nav__item.is-active a {
    background: #eff6ff;
    color: #1d4ed8;
}

.customer-account-dashboard__cards {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .customer-account-dashboard__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.customer-account-dashboard__card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    background: #f9fafb;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.customer-account-dashboard__card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.customer-account-dashboard__card-icon {
    color: #2563eb;
    font-size: 1.25rem;
}

.customer-account-dashboard__card-title {
    font-weight: 700;
    color: #111827;
}

.customer-account-dashboard__card-text {
    color: #6b7280;
    font-size: 0.9375rem;
}

.customer-account-panel + .customer-account-panel {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.customer-account-panel__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: #111827;
}

.customer-account-form .form-group {
    margin-bottom: 1rem;
}

.customer-account-form .form-label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.35rem;
}

.customer-account-form .form-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 0.875rem;
    font-size: 1rem;
    line-height: 1.5;
}

.customer-account-form .form-input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 1px;
    border-color: #3b82f6;
}

.customer-account-form .form-input:disabled {
    background: #f3f4f6;
    color: #6b7280;
}

.customer-account-form .form-help {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.customer-account-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.customer-account-form .btn-primary:hover {
    background: #1d4ed8;
}

.customer-account-placeholder {
    padding: 2rem 1rem;
    border: 1px dashed #d1d5db;
    border-radius: 0.875rem;
    text-align: center;
    color: #6b7280;
}

.customer-booking-claim-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #bfdbfe;
    border-radius: 0.875rem;
    background: #eff6ff;
}

.customer-booking-claim-banner__title {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: #1e3a8a;
}

.customer-booking-claim-banner__text {
    margin: 0;
    color: #1d4ed8;
}

.customer-booking-claim-banner__button {
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 0.65rem;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.customer-booking-claim-banner__button:hover {
    background: #1d4ed8;
}

.customer-booking-claim-banner__button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.customer-bookings-list {
    display: grid;
    gap: 1rem;
}

.customer-bookings-card {
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    background: #fff;
}

.customer-bookings-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.customer-bookings-card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.customer-bookings-card__location {
    margin: 0.35rem 0 0;
    color: #6b7280;
}

.customer-bookings-card__status {
    align-self: flex-start;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.customer-bookings-card__status--confirmed,
.customer-bookings-card__status--completed {
    background: #dcfce7;
    color: #166534;
}

.customer-bookings-card__status--pending {
    background: #fef3c7;
    color: #92400e;
}

.customer-bookings-card__status--cancelled,
.customer-bookings-card__status--rejected {
    background: #fee2e2;
    color: #991b1b;
}

.customer-bookings-card__meta {
    display: grid;
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.customer-bookings-card__meta-row {
    display: grid;
    grid-template-columns: minmax(7rem, 9rem) 1fr;
    gap: 0.75rem;
}

.customer-bookings-card__meta-row dt {
    margin: 0;
    color: #6b7280;
    font-weight: 600;
}

.customer-bookings-card__meta-row dd {
    margin: 0;
    color: #111827;
}

.customer-bookings-card__link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.customer-bookings-card__link:hover {
    text-decoration: underline;
}

.customer-bookings-empty {
    padding: 2rem 1rem;
    border: 1px dashed #d1d5db;
    border-radius: 0.875rem;
    text-align: center;
}

.customer-bookings-empty__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.customer-bookings-empty__text {
    margin: 0;
    color: #6b7280;
}

.customer-bookings-pagination {
    margin-top: 2rem;
}

.customer-engagement-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.customer-engagement-actions--default {
    margin-top: 0.75rem;
}

.customer-engagement-save--default,
.customer-engagement-like--default {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.625rem;
    background: #fff;
    color: #111827;
    font-weight: 600;
    cursor: pointer;
}

.customer-engagement-save--default:hover,
.customer-engagement-like--default:hover,
.customer-engagement-save--default.is-saved,
.customer-engagement-like--default.is-liked {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.customer-engagement-like__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    padding: 0.125rem 0.375rem;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 0.8125rem;
    font-weight: 700;
}

.customer-engagement-like.is-liked .customer-engagement-like__count,
.customer-engagement-like--default.is-liked .customer-engagement-like__count {
    background: #dbeafe;
    color: #1d4ed8;
}

.customer-saved-listings-grid .listing-card,
.customer-saved-listings-grid .bd-card {
    margin-bottom: 0;
}
