@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('sidebar.css');

:root {
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --bg: #f5f3ff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body{
    background:#eef1f4;
}
a {
    text-decoration: none;
    color: inherit;
}



/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple-dark);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), #a78bfa);
    color: white;
    font-weight: 800;
}


.logo h1{
    color:white;
    font-size:3rem;
    font-weight:800;
}

.nav-icons{
    display:flex;
    gap:20px;
}

.nav-icons i{
    width:50px;
    height:50px;
    background:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#8a8a8a;
    cursor:pointer;
    font-size:1.2rem;
}

/* HERO */

.hero{
    background:blueviolet;
    height:360px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.hero h2{
    color:white;
    font-size:3rem;
    margin-bottom:30px;
}

.search-container{
    display:flex;
    gap:15px;
}

.search-container select{
    padding:18px;
    width:180px;
    border:none;
    border-radius:10px;
    font-size:1rem;
}

.search-box{
    background:white;
    width:650px;
    border-radius:10px;
    display:flex;
    align-items:center;
    padding:0 20px;
    border:2px solid transparent;
    transition:all .2s ease;
}

.search-box.active,
.search-box:focus-within{
    border-color:#6b21a8;
    box-shadow:0 0 0 3px rgba(107, 33, 168, 0.15);
}

.search-box input{
    width:100%;
    border:none;
    outline:none;
    font-size:1.1rem;
    background:transparent;
}

.search-box i{
    color:#888;
    font-size:1.3rem;
}

/* CONTENT */

.content{
    display:flex;
    gap:20px;
    padding:30px;
}

.sidebar{
    width:300px;
}

.category{
    background:white;
    padding:20px;
    display:flex;
    justify-content:space-between;
    margin-bottom:2px;
    border-radius:8px;
    cursor:pointer;
    border:none;
    width:100%;
    text-align:left;
    color:inherit;
}

.category.active{
    background:#f0e6ff;
    color:#6b21a8;
}

.category:hover{
    background:#f8f8f8;
}

.main{
    flex:1;
}

.cards-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-bottom:30px;
}

.info-card{
    background:white;
    border-radius:15px;
    padding:25px;
    min-height:140px;
    transition:.3s;
    display:block;
    text-decoration:none;
    color:inherit;
}

.info-card:hover{
    transform:translateY(-5px);
}

.info-card p{
    margin-top:8px;
    color:#666;
    font-size:0.95rem;
}

.emoji{
    font-size:3rem;
    margin-bottom:15px;
}

.section-title{
    margin-bottom:20px;
    color:#333;
}

.search-results-dropdown{
    width:min(760px, 90vw);
    margin-top:14px;
    background:white;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    overflow:hidden;
    display:none;
}

.search-results-dropdown.show{
    display:block;
}

.search-results-dropdown a{
    display:block;
    padding:14px 16px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #f0f0f0;
}

.search-results-dropdown a:last-child{
    border-bottom:none;
}

.search-results-dropdown a:hover{
    background:#f8f5ff;
}

.products{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:15px;
}

@media (max-width: 900px) {
    .products {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .products {
        grid-template-columns:1fr;
    }
}

@media (max-width: 430px) {
    body {
        font-size: 15px;
    }

    .navbar {
        padding: 12px 14px;
        min-height: 64px;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    .nav-icons {
        gap: 8px;
    }

    .nav-icons i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero {
        height: auto;
        padding: 28px 16px;
    }

    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .search-container {
        flex-direction: column;
        width: 100%;
    }

    .search-container select,
    .search-box {
        width: 100%;
    }

    .search-box {
        padding: 0 14px;
    }

    .content {
        flex-direction: column;
        padding: 16px 14px;
    }

    .sidebar {
        width: 100%;
    }

    .cards-row,
    .products {
        grid-template-columns: 1fr;
    }

    .info-card,
    .product-card,
    .detail-card {
        padding: 18px;
    }

    .detail-card h1 {
        font-size: 1.5rem;
    }
}

.product,
.product-card{
    min-height:220px;
    background:white;
    border-radius:12px;
    box-shadow:0 2px 5px rgba(0,0,0,.08);
}

.product-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:20px;
    text-decoration:none;
    color:inherit;
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-4px);
}

.product-card h3{
    font-size:1.15rem;
    margin-bottom:8px;
}

.product-card p{
    color:#666;
    line-height:1.5;
}

.product-card .meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
}

.product-card .meta span{
    background:#f0e6ff;
    color:#6b21a8;
    border-radius:999px;
    padding:6px 10px;
    font-size:0.8rem;
}

.empty-state{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    color:#666;
    text-align:center;
}

.detail-shell{
    display:flex;
    justify-content:center;
    padding:40px 20px;
}

.detail-card{
    width:min(760px, 100%);
    background:white;
    border-radius:18px;
    padding:30px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.detail-badge{
    display:inline-block;
    background:#f0e6ff;
    color:#6b21a8;
    border-radius:999px;
    padding:6px 12px;
    font-size:0.85rem;
    margin-bottom:12px;
}

.detail-card h1{
    font-size:2rem;
    margin-bottom:10px;
}

.detail-card p{
    color:#555;
    line-height:1.6;
}

.detail-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.detail-meta span{
    background:#f7f7f7;
    border-radius:999px;
    padding:8px 12px;
    color:#444;
}

.back-link{
    display:inline-block;
    margin-top:24px;
    color:blueviolet;
    font-weight:bold;
    text-decoration:none;
}

/* RESPONSIVE */

@media(max-width:900px){

    .content{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }

    .cards-row{
        grid-template-columns:repeat(2,1fr);
    }

    .search-box{
        width:100%;
    }

    .search-container{
        flex-direction:column;
        width:90%;
    }
}

@media(max-width:390px){
    body{
        font-size:15px;
    }

    .navbar{
        padding:12px 16px;
    }

    .nav-icons{
        display:none!important;
    }

    .hero{
        height:auto;
        padding:28px 16px;
    }

    .hero h2{
        font-size:1.7rem;
        text-align:center;
    }

    .logo h1{
        font-size:1.4rem;
    }

    .content,
    .detail-shell,
    .settings-shell,
    .bookings-shell,
    .trending-shell,
    .wallet-shell,
    .conversations-shell,
    .messaging-shell{
        padding:16px;
    }

    .cards-row,
    .products,
    .stats-cards-container,
    .wallet-actions,
    .wallet-summary,
    .form-row,
    .booking-actions,
    .action-buttons-container{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }


    .hero h2,
    .detail-card h1,
    .bookings-header h1,
    .trending-header h1,
    .settings-header h1,
    .conversations-header h1,
    .wallet-balance-card h2,
    .section-title{
        font-size:1.35rem;
    }

    .detail-card,
    .form-card,
    .bookings-container,
    .trending-container,
    .wallet-container,
    .settings-container,
    .conversations-container,
    .messaging-container{
        width:100%;
    }
}

/* PRODUCT CARD LINK STYLING */

.product-card-link{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

/* STATS CARDS STYLING */

.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #f0e6ff, #fafafa);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e0f0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6b21a8;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* ACTION BUTTONS STYLING */

.action-buttons-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-book-now,
.btn-message,
.btn-call {
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 12px 24px;
}

.btn-book-now {
    background: linear-gradient(135deg, #6b21a8, #8b5cf6);
    color: white;
    flex: 1;
    min-width: 200px;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-book-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(107, 33, 168, 0.3);
}

.btn-message {
    background: #e8e0f0;
    color: #6b21a8;
    flex: 0.6;
    min-width: 120px;
    padding: 14px 20px;
    font-size: 0.95rem;
}

.btn-message:hover {
    background: #d8cce5;
    transform: translateY(-2px);
}

.btn-call {
    background: #f0f0f0;
    color: #333;
    flex: 0.4;
    min-width: 80px;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.btn-call:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .stats-cards-container {
        grid-template-columns: 1fr;
    }
    
    .action-buttons-container {
        flex-direction: column;
    }
    
    .btn-book-now,
    .btn-message,
    .btn-call {
        width: 100%;
    }
    
    .nav-icons i{
        width:40px;
        height:40px;
    }
}

/* BOOKING PAGE STYLING */

.booking-provider-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.provider-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.provider-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.booking-section {
    margin-bottom: 25px;
}

.section-heading {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-details {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #6b21a8;
}

.service-details p {
    margin: 8px 0;
    color: #555;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: linear-gradient(135deg, #f0e6ff, #e8d9ff);
    color: #6b21a8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #d8c9f0;
}

.booking-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-next,
.btn-back {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-next {
    background: linear-gradient(135deg, #6b21a8, #8b5cf6);
    color: white;
    flex: 1;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 33, 168, 0.3);
}

.btn-back {
    background: #e8e0f0;
    color: #6b21a8;
    text-align: center;
    padding: 14px 24px;
}

.btn-back:hover {
    background: #d8cce5;
}

/* ══════════════════════════════════════════
   MESSAGING PAGE STYLING (Handyfy Theme)
══════════════════════════════════════════ */

:root {
    --chat-teal: #0F4C5C;
    --chat-teal-mid: #1A535C;
    --chat-teal-light: #E8F5F0;
    --chat-orange: #F77F00;
    --chat-orange-hover: #e07000;
    --chat-dark: #0F172A;
    --chat-gray: #64748B;
    --chat-border: #E2E8F0;
}

.messaging-shell {
    min-height: calc(100vh - 72px);
    display: flex;
    justify-content: center;
    padding: 16px 20px;
    background: #F8FAFC;
}

.messaging-container {
    width: min(880px, 100%);
    background: #ffffff;
    border-radius: 24px;
    border: 1.5px solid var(--chat-border);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 105px);
    box-shadow: 0 10px 30px rgba(15, 76, 92, 0.08);
    overflow: hidden;
    position: relative;
}

/* Chat Header */
.chat-header {
    background: #ffffff;
    padding: 14px 22px;
    border-bottom: 1.5px solid var(--chat-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.chat-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--chat-teal-light);
    color: var(--chat-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-back-btn:hover {
    background: var(--chat-teal);
    color: #ffffff;
}

.chat-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.chat-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--chat-teal), var(--chat-teal-mid));
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 76, 92, 0.15);
    overflow: hidden;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10B981;
    border: 2px solid #ffffff;
}

.chat-header-text h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--chat-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.chat-header-status {
    margin: 2px 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.chat-action-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--chat-border);
    background: #ffffff;
    color: var(--chat-teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
}

.chat-action-icon-btn:hover {
    background: var(--chat-teal-light);
    border-color: var(--chat-teal);
}

.chat-btn-book {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--chat-orange);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(247, 127, 0, 0.3);
    white-space: nowrap;
}

.chat-btn-book:hover {
    background: var(--chat-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(247, 127, 0, 0.4);
}

/* Messages Area */
.messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #F8FAFC;
    scroll-behavior: smooth;
}

.system-message {
    align-self: center;
    margin: 4px 0 10px;
    background: #ffffff;
    border: 1px solid var(--chat-border);
    padding: 6px 18px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.system-message p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--chat-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.system-message p span {
    color: var(--chat-teal);
    font-weight: 700;
}

/* Message Groups */
.message-group {
    display: flex;
    gap: 10px;
    max-width: 80%;
    animation: msgFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.provider-message {
    align-self: flex-start;
}

.msg-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--chat-teal), var(--chat-teal-mid));
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified-icon {
    color: var(--chat-teal);
    font-size: 0.9rem;
    margin-left: 4px;
}

.message-content {
    padding: 12px 18px;
    border-radius: 18px;
    word-wrap: break-word;
    position: relative;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--chat-teal), var(--chat-teal-mid));
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 14px rgba(15, 76, 92, 0.15);
}

.provider-message .message-content {
    background: #ffffff;
    color: var(--chat-dark);
    border: 1.5px solid var(--chat-border);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.message-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.48;
    white-space: pre-wrap;
}

.message-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-size: 0.7rem;
}

.user-message .message-footer {
    justify-content: flex-end;
    color: rgba(255, 255, 255, 0.78);
}

.provider-message .message-footer {
    justify-content: flex-start;
    color: var(--chat-gray);
}

.message-time {
    display: inline-block;
    font-size: 0.7rem;
    opacity: 0.85;
}

.message-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
}

/* Typing Bubble */
.typing-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1.5px solid var(--chat-border);
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    align-self: flex-start;
    margin-left: 44px;
    animation: msgFadeIn 0.2s ease;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--chat-teal);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.typing-text {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--chat-gray);
}

/* Quick Suggested Prompt Chips */
.quick-prompts-bar {
    padding: 10px 18px;
    background: #ffffff;
    border-top: 1px solid #F1F5F9;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 0;
}
.quick-prompts-bar::-webkit-scrollbar { display: none; }

.quick-chip {
    white-space: nowrap;
    background: var(--chat-teal-light);
    color: var(--chat-teal);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 76, 92, 0.12);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.quick-chip:hover {
    background: var(--chat-teal);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 76, 92, 0.15);
}

/* Message Input Area */
.message-input-area {
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1.5px solid var(--chat-border);
    flex-shrink: 0;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F8FAFC;
    border: 1.5px solid var(--chat-border);
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
    transition: all 0.2s;
}

.input-wrapper:focus-within {
    border-color: var(--chat-teal);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.12);
}

.message-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--chat-dark);
    outline: none;
    font-family: inherit;
}

.message-input::placeholder {
    color: #94A3B8;
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--chat-orange), var(--chat-orange-hover));
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(247, 127, 0, 0.35);
    flex-shrink: 0;
}

.send-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 16px rgba(247, 127, 0, 0.45);
}

@media (max-width: 768px) {
    .messaging-shell {
        padding: 0;
        min-height: calc(100vh - 60px);
    }

    .messaging-container {
        border-radius: 0;
        border: none;
        height: calc(100vh - 60px);
    }

    .chat-header {
        padding: 12px 16px;
    }

    .chat-btn-book {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .messages-area {
        padding: 16px 12px;
    }

    .message-group {
        max-width: 88%;
    }
}

/* ===== RIGHT-SIDE COLLAPSIBLE SIDEBAR ===== */

/* Sidebar root variables */
:root {
    --sidebar-teal: #0F4C5C;
    --sidebar-teal-mid: #1A535C;
    --sidebar-teal-light: #E8F5F0;
    --sidebar-orange: #F77F00;
    --sidebar-orange-hover: #e07000;
    --sidebar-dark: #111827;
    --sidebar-gray: #6B7280;
    --sidebar-border: #E5E7EB;
    --sidebar-width: 240px;
    --sidebar-width-collapsed: 68px;
    --sidebar-shadow: -4px 0 24px rgba(15,76,92,.10);
    --sidebar-radius: 20px 0 0 20px;
    --sidebar-transition: all 0.28s cubic-bezier(.4,0,.2,1);
}

/* Body padding to make room for sidebar */
body.has-sidebar {
    margin-right: var(--sidebar-width);
    transition: margin-right 0.28s cubic-bezier(.4,0,.2,1);
}
body.sidebar-collapsed {
    margin-right: var(--sidebar-width-collapsed);
}

/* Overlay (mobile only) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.35);
    z-index: 1099;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.show { display: block; }

/* The sidebar panel */
.app-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: #ffffff;
    border-left: 1.5px solid var(--sidebar-border);
    box-shadow: var(--sidebar-shadow);
    border-radius: var(--sidebar-radius);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: var(--sidebar-transition);
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.app-sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
    background: transparent;
    border-left: none;
    box-shadow: none;
    pointer-events: none;
}

/* Sidebar header: toggle button */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px;
    border-bottom: 1.5px solid var(--sidebar-border);
    min-height: 64px;
    flex-shrink: 0;
}

.app-sidebar.collapsed .sidebar-header {
    border-bottom: none;
    background: transparent;
    padding: 18px 0 10px;
    justify-content: center;
}

.sidebar-logo-wrap {
    display: none !important;
}

.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--sidebar-teal-light);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--sidebar-teal);
    font-size: 1rem;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
    outline: none;
}
.sidebar-toggle:hover {
    background: var(--sidebar-teal);
    color: #fff;
}
.app-sidebar.collapsed .sidebar-toggle {
    margin: 0 auto;
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(15, 76, 92, 0.08);
}
.app-sidebar.collapsed .sidebar-toggle:hover {
    background: var(--sidebar-teal);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 76, 92, 0.22);
}

/* Nav list */
.sidebar-nav {
    flex: 1;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--sidebar-dark);
    font-size: .93rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, color .2s, padding .28s;
    position: relative;
    cursor: pointer;
}

.sidebar-item i {
    font-size: 1.15rem;
    color: var(--sidebar-gray);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    transition: color .2s;
}

.sidebar-item:hover {
    background: var(--sidebar-teal-light);
    color: var(--sidebar-teal);
}
.sidebar-item:hover i {
    color: var(--sidebar-teal);
}

.sidebar-item.active {
    background: var(--sidebar-teal-light);
    color: var(--sidebar-teal);
    font-weight: 700;
}
.sidebar-item.active i {
    color: var(--sidebar-teal);
}
.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3.5px;
    background: var(--sidebar-teal);
    border-radius: 0 3px 3px 0;
}

.sidebar-item .sidebar-label {
    transition: opacity 0.2s, width 0.28s;
    overflow: hidden;
}
.app-sidebar.collapsed .sidebar-item .sidebar-label {
    opacity: 0;
    width: 0;
}
.app-sidebar.collapsed .sidebar-item {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 3px auto;
    justify-content: center;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(15, 76, 92, 0.08);
    transition: transform 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.app-sidebar.collapsed .sidebar-item:hover {
    background: var(--sidebar-teal-light);
    color: var(--sidebar-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 76, 92, 0.18);
}

.app-sidebar.collapsed .sidebar-item.active {
    background: var(--sidebar-teal);
    color: #ffffff;
    border-color: var(--sidebar-teal);
    box-shadow: 0 6px 20px rgba(15, 76, 92, 0.32);
}

.app-sidebar.collapsed .sidebar-item.active i {
    color: #ffffff;
}

.app-sidebar.collapsed .sidebar-item::before {
    display: none;
}

/* Notification badge */
.sidebar-badge {
    width: 8px;
    height: 8px;
    background: var(--sidebar-orange);
    border-radius: 50%;
    margin-left: auto;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.app-sidebar.collapsed .sidebar-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    margin-left: 0;
}

/* Footer area */
.sidebar-footer {
    padding: 16px 10px;
    border-top: 1.5px solid var(--sidebar-border);
    flex-shrink: 0;
}

/* Tooltip for collapsed mode */
.app-sidebar.collapsed .sidebar-item:hover::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--sidebar-dark);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 9999;
}

/* ── Responsive: mobile gets overlay sidebar ── */
@media (max-width: 768px) {
    body.has-sidebar {
        margin-right: 0;
    }
    body.sidebar-collapsed {
        margin-right: 0;
    }
    .app-sidebar {
        transform: translateX(100%);
        width: var(--sidebar-width) !important;
        border-radius: 20px 0 0 20px;
    }
    .app-sidebar.mobile-open {
        transform: translateX(0);
    }
    /* On mobile get rid of the hamburger trigger */
    .sidebar-mobile-trigger,
    #mobileSidebarTrigger {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Mobile trigger button */
.sidebar-mobile-trigger {
    display: none !important;
    visibility: hidden !important;
}

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

@media (max-width: 600px) {
    .messaging-shell {
        padding: 0;
        height: 100vh;
    }

    .messaging-container {
        border-radius: 0;
        height: 100vh;
    }

    .message-content {
        max-width: 85%;
    }

    .chat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .booking-actions {
        flex-direction: column;
    }

    .btn-next,
    .btn-back {
        width: 100%;
    }
}

/* CONVERSATIONS PAGE STYLING */

.conversations-shell {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
}

.conversations-container {
    width: min(700px, 100%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.conversations-header {
    background: linear-gradient(135deg, #0F4C5C, #1A535C);
    color: white;
    padding: 25px;
}

.conversations-header h1 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
}

.conversations-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.conversations-list {
    padding: 20px;
}

.empty-conversations,
.empty-bookings,
.empty-transactions {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-conversations i,
.empty-bookings i,
.empty-transactions i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.conversation-item:hover {
    background: #F8FAFC;
    border-color: #0F4C5C;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 76, 92, 0.08);
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E8F5F0, #D1EAE2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F4C5C;
    box-shadow: 0 2px 6px rgba(15, 76, 92, 0.1);
}

.conversation-content {
    flex: 1;
}

.conversation-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: 10px;
    min-width: 88px;
}

.conversation-status {
    font-size: 0.8rem;
    color: #666;
}

.conversation-badge {
    background: #F77F00;
    color: #fff;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.75rem;
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 900px) {
    .conversations-shell {
        padding: 20px 16px;
    }

    .conversations-container {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .conversations-shell {
        padding: 14px 10px;
        min-height: 100vh;
    }

    .conversations-container {
        border-radius: 0;
    }

    .conversations-header {
        padding: 18px 16px;
    }

    .conversations-header h1 {
        font-size: 1.5rem;
    }

    .conversations-list {
        padding: 16px;
    }

    .conversation-item {
        flex-direction: column;
        align-items: stretch;
    }

    .conversation-avatar {
        margin-right: 0;
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .conversation-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
    }
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.conversation-header h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

.conversation-time {
    font-size: 0.75rem;
    color: #999;
}

.conversation-preview {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-badge {
    background: #6b21a8;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 15px;
}

/* BOOKINGS PAGE STYLING */

.bookings-shell {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
}

.bookings-container {
    width: min(700px, 100%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bookings-header {
    background: linear-gradient(135deg, #6b21a8, #8b5cf6);
    color: white;
    padding: 25px;
}

.bookings-header h1 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
}

.bookings-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.bookings-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0 20px;
    gap: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 500;
    color: #999;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #6b21a8;
    border-bottom-color: #6b21a8;
}

.bookings-list {
    padding: 20px;
}

.booking-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.booking-card:hover {
    border-color: #6b21a8;
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.1);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.booking-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.booking-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: capitalize;
}

.booking-status.status-upcoming {
    background: #e3f2fd;
    color: #1976d2;
}

.booking-status.status-completed {
    background: #e8f5e9;
    color: #388e3c;
}

.booking-status.status-cancelled {
    background: #ffebee;
    color: #d32f2f;
}

.booking-details {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.booking-details p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.booking-amount {
    font-size: 1.1rem;
    font-weight: bold;
    color: #6b21a8;
}

.booking-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-small:hover {
    background: #f5f5f5;
}

.btn-small.cancel {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-small.cancel:hover {
    background: #ffebee;
}

/* TRENDING PAGE STYLING */

.trending-shell {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
}

.trending-container {
    width: min(700px, 100%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.trending-header {
    background: linear-gradient(135deg, #6b21a8, #8b5cf6);
    color: white;
    padding: 25px;
}

.trending-header h1 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
}

.trending-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.trending-list {
    padding: 20px;
}

.trending-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.trending-card:hover {
    border-color: #6b21a8;
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.1);
    transform: translateY(-2px);
}

.trending-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trending-content {
    flex: 1;
}

.trending-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    align-items: center;
}

.trending-category {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.trending-date {
    font-size: 0.8rem;
    color: #999;
}

.trending-content h3 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: #333;
}

.trending-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.trending-arrow {
    display: flex;
    align-items: center;
    color: #6b21a8;
    margin-left: 10px;
}

/* WALLET PAGE STYLING */

.wallet-shell {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
}

.wallet-container {
    width: min(700px, 100%);
}

.wallet-balance-card {
    background: linear-gradient(135deg, #6b21a8, #8b5cf6);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(107, 33, 168, 0.2);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.balance-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.balance-header i {
    font-size: 1.5rem;
}

.balance-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    margin-right: 5px;
}

#balance-display {
    font-size: 2.5rem;
    font-weight: bold;
}

.balance-label {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    gap: 8px;
}

.action-btn:hover {
    border-color: #6b21a8;
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.1);
}

.action-btn i {
    font-size: 1.5rem;
    color: #6b21a8;
}

.action-btn span {
    font-weight: 600;
    color: #333;
}

.wallet-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.summary-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.summary-card h3 {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #666;
}

.summary-card p {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
    color: #6b21a8;
}

.transactions-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b21a8;
    font-size: 1rem;
}

.transaction-filter {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.filter-option {
    background: #f5f5f5;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.filter-option:hover {
    background: #e0e0e0;
}

.filter-option.active {
    background: #6b21a8;
    color: white;
}

.transactions-list {
    padding: 20px;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
}

.transaction-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

.transaction-icon.deposit {
    background: #e8f5e9;
    color: #4caf50;
}

.transaction-icon.withdraw {
    background: #ffebee;
    color: #f44336;
}

.transaction-info {
    flex: 1;
}

.transaction-title {
    margin: 0 0 3px 0;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.transaction-date {
    margin: 0;
    font-size: 0.8rem;
    color: #999;
}

.transaction-amount {
    text-align: right;
}

.transaction-amount span {
    display: block;
    font-weight: bold;
    font-size: 0.95rem;
}

.transaction-amount.credit {
    color: #4caf50;
}

.transaction-amount.debit {
    color: #f44336;
}

.transaction-status {
    font-size: 0.75rem;
    color: #999;
    display: block;
    margin-top: 3px;
}

/* MODAL STYLING */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    animation: modalFadeIn 0.3s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.modal-body input,
.modal-body select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.modal-body input:focus,
.modal-body select:focus {
    border-color: #6b21a8;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #eee;
    justify-content: flex-end;
}

.btn-cancel,
.btn-confirm {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-cancel {
    background: #f5f5f5;
    color: #333;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-confirm {
    background: #6b21a8;
    color: white;
}

.btn-confirm:hover {
    background: #5a16a0;
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.3);
}

/* SETTINGS PAGE STYLING */

.settings-shell {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
}

.settings-container {
    width: min(600px, 100%);
}

.settings-header {
    background: linear-gradient(135deg, #6b21a8, #8b5cf6);
    color: white;
    padding: 25px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.settings-header h1 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
}

.settings-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.settings-card {
    background: white;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.settings-card h2 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item.clickable:hover {
    background: #f9f9f9;
    padding: 15px;
    margin: 0 -15px;
}

.settings-info h3 {
    margin: 0 0 3px 0;
    font-size: 0.95rem;
    color: #333;
}

.settings-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 13px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch input {
    display: none;
}

.toggle-switch.active {
    background-color: #6b21a8;
}

.toggle-switch .slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: left 0.3s;
}

.toggle-switch.active .slider {
    left: 27px;
}

.danger-zone {
    border-color: #ffebee;
    background: #ffebee;
}

.btn-logout {
    background: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #d32f2f;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

@media (max-width: 600px) {
    .wallet-summary {
        grid-template-columns: 1fr;
    }

    .action-btn {
        padding: 15px;
    }

    .bookings-tabs {
        overflow-x: auto;
    }

    .tab-btn {
        white-space: nowrap;
    }

    .settings-item.clickable:hover {
        padding: 15px 0;
        margin: 0;
    }
}