﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --border: #e5e7eb;
}

body {
    background-color: #f9fafb;

}
.ProfilePageTopBar {
    background-color: white;
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 16px 32px;
    height: 64px;
    border-bottom: 1px solid #e5e5e5;
    z-index: 10;
    position: sticky;
}

.ProfilePageTopBar0{
    display: flex;
    column-gap: 1rem;
}

.ProfilePageTopBar1 {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    transition: all .15s ease;
}
    .ProfilePageTopBar1 a {
        text-decoration: none;
        box-shadow: 0 1px 2px 0 #e5e5e5;
        border-radius: 7px;
        color: #0a0a0a;
        font-size: 14px;
        font-weight: 600;
        padding: 0 12px;
        height: 32px;
        display: flex;
        align-items: center;
        font-family: sans-serif;
        background-color: white;
    }
        .ProfilePageTopBar1 a:hover {
            background-color: #f5f5f5;
            color: #171717;
        }

.ProfilePageHamburger {
    display: none;
}
.ProfilePageMainContent{
    padding: 32px;
    display: flex;
    justify-content: space-between;
}

.ProfilePageSideBar {
    width: 300px;
    height: 600px;
    box-shadow: 0 1px 3px 0 #e5e5e5;
    background-color: white;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0 0;
}

.nav-menu {
    list-style: none;
    padding: 8px;
    width: 100%;
}
    .nav-menu li {
        margin-bottom: 5px;
        
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 30px;
        color: var(--dark);
        text-decoration: none;
        transition: all 0.3s;
        font-weight: 500;
        font-family: sans-serif;
    }
        .nav-menu a span{
            background-color: white;
            border-radius: 100%;
            padding: 3px;

        }
            .nav-menu a span img{
                width: 20px;
            }

        .nav-menu a:hover, .nav-menu a.active {
            background-color: #3b82f6;
            color: #fafafa;
            border-radius: .625rem;
            padding: 12px 16px;
        }

.content-area {
    width: 77%;
}
.ProfilePageDashboard {
    background-color: white;
    width: 100%;
    border-radius: 14px;
    padding: 24px;
    font-family: sans-serif;
}
.ProfilePageDashboardCardContainer{
    display: flex;
    justify-content: space-between;
}
.ProfilePageDashboardCard {
    box-shadow: 0 1px 3px 0 #e5e5e5;
    padding: 24px;
    height: 130px;
    display: flex;
    justify-content: space-between;
    border-radius: 14px;
    align-items: center;
    width: 200px
}
    .ProfilePageDashboardCard img{
        width: 32px;
        height: 32px;
    }
        .ProfilePageDashboardCard p{
            color: #737373;
            font-size: 14px;
            margin-bottom: 0.85rem;
        }


.booking-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s;
}
.booking-img {
    width: 150px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.booking-details {
    flex: 1;
}

    .booking-details h3 {
        color: var(--dark);
        margin-bottom: 8px;
    }

.booking-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 10px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-completed {
    background: #d1fae5;
    color: var(--success);
}

.status-upcoming {
    background: #dbeafe;
    color: #3b82f6;
}

.status-cancelled {
    background: #fee2e2;
    color: var(--danger);
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.ProfileBookingPage button {
    width: 23%
}

.CartDashboard {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}
.CartDashboardItemsContainer {
    width: 72%;
}
.CartDashboardItems {
    background-color: white;
    border-radius: 14px;
    padding: 46px 24px;
    width: 100%;
    box-shadow: 0 1px 3px 0 #e5e5e5;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;

}
.CartDashboardItemsImage{
    width:192px;
    height: 144px;
    border-radius: 10px;
    object-fit: cover;

}
.CartDashboardItemsInnerContainer{
    width: 78%;
}
.CartDashboardItemsInner1{
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.CartDashboardItemsInner2{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.CartDashboardCheckout {
    background-color: white;
    padding: 24px;
    width: 26%;
    border-radius: 14px;
    box-shadow: 0 1px 3px 0 #e5e5e5;
}

.ProfilePageTopBar h1 {
    font-size: 2rem;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* For top bar smaller icon */
.navbar-avatar {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    object-fit: cover;
}

/* For sidebar larger icon */
.sidebar-avatar {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}


@media (max-width: 768px) {
    .ProfilePageTopBar {
            padding: 16px 22px;
    }

            .ProfilePageTopBar h1 {
                font-size: 1.7rem;
            }

        .ProfilePageMainContent {
            padding: 20px;
        }

        .ProfilePageMainContent {
            flex-direction: column;
        }

        .ProfilePageSideBar {
            width: 100%;
        }

        .content-area {
            width: 100%;
            margin-top: 2rem;
        }

        .ProfilePageDashboardCardContainer {
            flex-direction: column;
        }

        .ProfilePageDashboardCard {
            width: 100%;
            margin-bottom: 1rem;
        }

        .ProfileBookingPage {
            flex-wrap: wrap;
        }

            .ProfileBookingPage button {
                margin-bottom: 1rem;
                width: 45%;
            }

        .booking-item {
            display: flex;
            flex-direction: column;
        }

            .booking-item img {
                width: 100%;
            }

        .booking-meta {
            flex-wrap: wrap;
        }

        .BookingitemBtn a {
            font-size: 14px;
        }

        .BookingitemBtn {
            justify-content: space-between;
        }

        .form-control option {
            font-size: 10px;
        }
        .CartDashboard{
            flex-direction: column;
        }
        .CartDashboardItemsContainer{
            width: 100%;
        }
        .CartDashboardItems{
            flex-direction: column;
        }
        .CartDashboardItemsImage{
            width: 100%;
            margin-bottom: 1.4rem;
        }
        .CartDashboardItemsInnerContainer{
            width: 100%;
        }
        .CartDashboardCheckout {
            background-color: white;
            padding: 24px;
            width: 100%;
            border-radius: 14px;
            box-shadow: 0 1px 3px 0 #e5e5e5;
        }
    }



















    .page-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}





















.page-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

    .card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

    .stat-card h3 {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .stat-card p {
        opacity: 0.9;
        font-size: 1rem;
    }



    .booking-item:hover {
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
    }



.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--dark);
        font-weight: 600;
    }



    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }

.btn-secondary {
    background: var(--gray);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.rating {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
}

.star {
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s;
}

    .star.filled {
        color: #fbbf24;
    }

    .star:hover {
        transform: scale(1.2);
    }

.review-card {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-info {
    background: #dbeafe;
    color: #3b82f6;
    border-left: 4px solid #3b82f6;
}
