:root {
    --primary: #2a9d8f;
    --primary-dark: #21867a;
    --secondary: #264653;
    --accent: #e9c46a;
    --accent-dark: #d9b459;
    --light: #f8f9fa;
    --dark: #212529;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

/* Account Header */
.account-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.account-header h1 {
    color: white;
    margin-bottom: 10px;
}

.account-header p {
    opacity: 0.9;
}

.account-status .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Account Dashboard */
.account-dashboard {
    padding-bottom: 80px;
}

/* Sidebar */
.account-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 25px;
    position: sticky;
    top: 20px;
}

/* Profile Card */
.profile-card {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Account Navigation */
.account-nav .nav-link {
    color: #495057;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.account-nav .nav-link:hover {
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--primary);
}

.account-nav .nav-link.active {
    background-color: var(--primary);
    color: white;
}

.account-nav .badge {
    font-size: 0.75rem;
}

/* Quick Stats */
.quick-stats {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.quick-stats h6 {
    color: var(--secondary);
    font-weight: 600;
}

.stats-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.stats-item:last-child {
    border-bottom: none;
}

/* Account Sections */
.account-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.account-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.section-header h2 {
    color: var(--secondary);
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 2rem;
}

.stat-content p {
    color: #6c757d;
    margin: 0;
}

/* Booking Cards */
.booking-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
}

.booking-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.booking-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.booking-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-actions .btn {
    margin-left: 5px;
}

.booking-body {
    padding: 20px;
}

.booking-body h5 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.booking-details {
    margin-top: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #6c757d;
}

.detail-item i {
    margin-right: 10px;
    width: 20px;
}

.booking-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}


.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Activity Timeline */
.activity-timeline {
    padding: 10px 0;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f8f9fa;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.activity-content p {
    margin: 0;
    color: var(--dark);
}

/* Tables */
.table th {
    font-weight: 600;
    color: var(--secondary);
    border-bottom: 2px solid #e9ecef;
}

.table td {
    vertical-align: middle;
}

/* Settings Form */
#settingsForm .form-label {
    font-weight: 600;
    color: var(--dark);
}

#settingsForm hr {
    opacity: 0.2;
}

/* Responsive Design */
@media (max-width: 992px) {
    .account-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .account-header {
        padding: 30px 0;
        text-align: center;
    }
    
    .account-status {
        margin-top: 20px;
        text-align: center;
    }
    
    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .booking-actions {
        align-self: flex-end;
    }
    
    .booking-footer {
        flex-direction: column;
    }
    
    .booking-footer .btn {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .account-header {
        /* margin-top: 66px; */
        padding: 25px 0;
    }
    
    .account-sidebar {
        padding: 20px;
        border-radius: 10px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .booking-details {
        flex-direction: column;
        gap: 10px;
    }
}