/* --- Customer Auth styling (Colorful Redesign) --- */
.auth-bg {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #1e293b;
    position: relative;
    overflow: visible;
}

/* Background floating radial gradient blobs */
.auth-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    z-index: 1;
    animation: float-slow-1 12s infinite ease-in-out;
}

.auth-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;

    right: -20%;
    width: 60%;
    height: 60%;
    z-index: 1;
}

@keyframes float-slow-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

@keyframes float-slow-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, -40px) scale(1.05);
    }
}

.auth-header-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 850;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-top: 2.5rem;
}

.auth-header-sub {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0 1.5rem;
    line-height: 1.5;
    font-weight: 500;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 4rem);
    max-width: 380px;
    margin: 1.5rem auto 1.75rem auto;
    z-index: 10;
    background: #f1f5f9;
    border: none !important;
    border-radius: 1rem;
    padding: 0.35rem;
    box-shadow: none !important;
    position: relative;
}

.auth-tab-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    border: none;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    color: #64748b;
}

.auth-tab-link:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.75);
}

.auth-tab-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.32), 0 1px 2px rgba(0, 0, 0, 0.06);
    font-weight: 800;
}

.auth-tab-link.active:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    filter: brightness(1.05);
}

.auth-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 2rem;
    width: 100%;
    z-index: 10;
    box-shadow: none;
}

.auth-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.auth-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #cbd5e1;
    padding: 0.85rem 0.5rem 0.85rem 2.5rem;
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-input:focus {
    outline: none;
    background: transparent;
    border-color: #ec4899;
    box-shadow: 0 4px 12px -4px rgba(236, 72, 153, 0.1);
}

select.auth-input {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
    background-color: transparent;
    cursor: pointer;
}

select.auth-input option {
    padding: 0.5rem 0.75rem !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-indent: 0px !important;
}

/* Autofill override styles to prevent yellow/blue boxes and force underline styling */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #0f172a !important;
    border: none !important;
    border-bottom: 2px solid #cbd5e1 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.auth-input:-webkit-autofill:focus {
    border-bottom: 2px solid #ec4899 !important;
}

.auth-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.auth-input-icon {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.35rem;
    transition: all 0.3s ease;
}

.auth-input:focus+.auth-input-icon {
    color: #ec4899;
    transform: translateY(-50%) scale(1.05);
}

.auth-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.6rem;
    display: block;
    text-align: left;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    border: none;
    border-radius: 1rem;
    padding: 1rem;
    font-weight: 800;
    font-size: 1.05rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.4), 0 8px 16px -6px rgba(99, 102, 241, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(236, 72, 153, 0.5), 0 10px 20px -6px rgba(99, 102, 241, 0.4);
    filter: brightness(1.05);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-link {
    color: #ec4899;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #d946ef;
}

.auth-social-row {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

.auth-social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-social-circle:hover {
    transform: translateY(-3px) scale(1.08);
}

.social-google {
    background: #db4437;
    box-shadow: 0 6px 15px rgba(219, 68, 55, 0.35);
}

.social-facebook {
    background: #3b5998;
    box-shadow: 0 6px 15px rgba(59, 89, 152, 0.35);
}

.social-linkedin {
    background: #0077b5;
    box-shadow: 0 6px 15px rgba(0, 119, 181, 0.35);
}

.auth-footer-wave-container {
    position: relative;
    width: 100%;
    margin-top: auto;
    background: transparent;
}

.auth-footer-wave-content {
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    color: white;
    text-align: center;
    padding-bottom: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-touch-btn {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-top: -30px;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-touch-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.4);
}

/* --- Customer Dashboard styling --- */
.dashboard-header {
    background: white;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Dynamic slide-tabs styling */
.slide-tabs-outer {
    background: #f1f5f9;
    border-radius: 1.5rem;
    padding: 0.25rem;
    display: flex;
    position: relative;
    margin-bottom: 1rem;
}

.slide-tab {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
    z-index: 10;
    cursor: pointer;
    transition: color 0.3s ease;
    border-radius: 1.25rem;
}

.slide-tab.active {
    color: #1e293b;
    background: white;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

/* Date filters sliding row */
.date-filters-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.date-filter-chip {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-filter-chip.active {
    color: #1e293b;
    background: white;
    border-color: #1e293b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Booking details card styling matching the screenshot */
.booking-card {
    background: white;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.02), 0 8px 16px -6px rgba(15, 23, 42, 0.02);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #f8fafc;
    padding-bottom: 0.65rem;
}

.assigned-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.assigned-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.35rem;
}

.booking-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.booking-edit-btn {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ec4899;
    background: none;
    border: none;
    cursor: pointer;
}

.booking-time-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
}

.booking-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.booking-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f172a;
}

.booking-address-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 1.15rem;
    line-height: 1.35;
}

.booking-address-row i {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1px;
}

/* Booking Card Actions row */
.booking-actions-row {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1.15rem;
}

.booking-action-chip {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ec4899;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-action-chip:hover {
    background: #fce7f3;
    border-color: #f472b6;
}

/* Specs Row: Bedrooms/Beds/Bathrooms */
.booking-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.85rem;
    margin-bottom: 0.85rem;
}

.booking-spec-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.booking-spec-item i {
    color: #94a3b8;
    font-size: 1rem;
}

/* Meta rows: Guests / Check-out */
.booking-meta-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    color: #475569;
    font-weight: 600;
}

.booking-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.booking-meta-item i {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Checklist box */
.checklist-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.checklist-card:hover {
    background: #f1f5f9;
}

.checklist-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.checklist-icon-wrap {
    color: #64748b;
    font-size: 1.25rem;
}

.checklist-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.checklist-subtitle {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 500;
    margin: 2px 0 0 0;
}

/* Note button & Inline note editor */
.booking-note-section {
    margin-top: 0.75rem;
}

.add-note-trigger {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ec4899;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.note-input-container {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.note-textarea {
    width: 100%;
    border: none;
    resize: none;
    font-size: 0.75rem;
    color: #334155;
    outline: none;
    height: 48px;
    background: transparent;
}

.note-save-btn {
    background: #ec4899;
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    float: right;
}

.note-display-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    color: #b45309;
    margin-top: 0.5rem;
    font-style: italic;
    position: relative;
}

/* Bottom Navigation Bar styled to fit fixed at bottom of screen */
.dashboard-nav-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 72px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
    flex: 1;
}

.nav-item i {
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.nav-item.active {
    color: #ec4899;
}

/* Floating Center Add Button */
.nav-floating-btn {
    position: relative;
    top: -18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03), 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
}

.nav-floating-btn-inner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.nav-floating-btn-inner:hover {
    transform: scale(1.06) rotate(90deg);
}

/* Dynamic dashboard views panels */
.dashboard-view-panel {
    display: none !important;
}

.dashboard-view-panel.active {
    display: flex !important;
}

/* --- Filter Pills Bar --- */
.filter-pills-bar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.65rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.filter-pills-bar::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.filter-pill.active {
    background: linear-gradient(135deg, #010856 0%, #1e1b4b 100%);
    color: #ffffff;
    border-color: #010856;
    box-shadow: 0 4px 12px rgba(1, 8, 86, 0.2);
}

.filter-pill.active i {
    color: #f472b6;
}

.filter-pill .pill-badge {
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
}

.filter-pill.active .pill-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.filter-pill .pill-badge.live {
    background: #dcfce7;
    color: #15803d;
}

.filter-pill.active .pill-badge.live {
    background: #22c55e;
    color: #ffffff;
}

/* --- Timeline Component --- */
.timeline-wrapper {
    position: relative;
    padding-left: 0.5rem;
}

.timeline-item {
    position: relative;
    padding-left: 1.75rem;
    padding-bottom: 1.25rem;
    border-left: 2px solid #e2e8f0;
}

.timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.timeline-item.completed {
    border-left-color: #10b981;
}

.timeline-item.active {
    border-left-color: #6366f1;
}

.timeline-circle {
    position: absolute;
    left: -0.625rem;
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #94a3b8;
    z-index: 2;
}

.timeline-item.completed .timeline-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.timeline-item.active .timeline-circle {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* --- Interactive Checklist --- */
.checklist-task-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.checklist-task-card:hover {
    border-color: #e2e8f0;
    background: #f8fafc;
}

.checklist-task-card.checked {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.checklist-task-card.checked .task-label {
    text-decoration: line-through;
    color: #94a3b8;
}

/* --- Star Rating Interactive --- */
.star-btn {
    font-size: 2rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
}

.star-btn:hover {
    transform: scale(1.15);
}

.star-btn.active {
    color: #f59e0b;
}

/* --- Chat Bubbles --- */
.chat-bubble-me {
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    color: #ffffff;
    border-radius: 1.25rem 1.25rem 0.25rem 1.25rem;
    align-self: flex-end;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.chat-bubble-partner {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem 1.25rem 1.25rem 0.25rem;
    align-self: flex-start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* --- Footer wave / Login with touch --- */
.auth-footer-wave-container {
    margin-top: auto;
    width: 100%;
    position: relative;
}

.auth-footer-wave-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 1.5rem;
    background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
}