/* ========================================
   YMCA Philippines - Dashboard Styles
   ======================================== */

/* Dashboard Layout */
.dashboard-page {
    min-height: 100vh;
    background: #f8fafc;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ========================================
   SIDEBAR
   ======================================== */
.dashboard-sidebar {
    width: 260px;
    background: var(--navy-blue);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo .logo-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-logo .logo-circle span {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
}

.sidebar-brand .brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.sidebar-brand .brand-tagline {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.2;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 20px 15px;
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.menu-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.menu-item.active a {
    background: var(--primary-red);
    color: var(--white);
}

.menu-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon svg {
    width: 18px;
    height: 18px;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.logout-link:hover {
    background: rgba(230, 0, 18, 0.2);
    color: var(--primary-red);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    min-height: 100vh;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.header-left h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.welcome-text {
    font-size: 14px;
    color: var(--dark-gray);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Notification Bell */
.notification-bell {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
}

.notification-bell:hover {
    background: var(--light-gray);
}

.notification-bell svg {
    width: 22px;
    height: 22px;
    color: var(--dark-gray);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.user-menu:hover {
    background: var(--light-gray);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.user-membership {
    font-size: 12px;
    color: var(--dark-gray);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.active-bookings {
    background: rgba(230, 0, 18, 0.1);
    color: var(--primary-red);
}

.stat-icon.total-visits {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-icon.membership-days {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.stat-icon.rewards-points {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 13px;
    color: var(--dark-gray);
}

/* ========================================
   QUICK BOOKING SECTION
   ======================================== */
.quick-booking-section {
    margin-bottom: 30px;
}

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

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.view-all {
    font-size: 14px;
    color: var(--primary-red);
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.booking-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.booking-image {
    height: 140px;
    overflow: hidden;
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-content {
    padding: 20px;
}

.booking-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.booking-content p {
    font-size: 13px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-book-now {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--primary-red);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-book-now:hover {
    background: var(--dark-red);
}

/* ========================================
   ACTIVITY SECTION
   ======================================== */
.activity-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-md);
    background: var(--light-gray);
    transition: var(--transition);
}

.activity-item:hover {
    background: #f1f5f9;
}

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

.activity-icon.booking {
    background: rgba(230, 0, 18, 0.1);
    color: var(--primary-red);
}

.activity-icon.payment {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.activity-icon svg {
    width: 18px;
    height: 18px;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.activity-date {
    font-size: 12px;
    color: var(--dark-gray);
}

.activity-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.activity-status.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.activity-status.active,
.activity-status.upcoming {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

.activity-status.paid {
    background: rgba(230, 0, 18, 0.1);
    color: var(--primary-red);
}

/* ========================================
   FACILITIES PAGE STYLES
   ======================================== */
.filter-section {
    margin-bottom: 25px;
}

.category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--medium-gray);
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--light-gray);
    color: var(--text-dark);
}

.filter-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.facilities-section {
    margin-bottom: 30px;
}

.facilities-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.facility-card-large {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.facility-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.facility-image-large {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.facility-card-large:hover .facility-image-large img {
    transform: scale(1.05);
}

.facility-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.facility-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
}

.facility-rating svg {
    width: 16px;
    height: 16px;
    color: #f59e0b;
    fill: #f59e0b;
}

.facility-rating small {
    font-weight: 400;
    color: var(--dark-gray);
}

.facility-content-large {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-content-large h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.facility-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.facility-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--dark-gray);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-red);
}

.facility-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    padding: 6px 12px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 12px;
    color: var(--dark-gray);
}

.facility-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-primary {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-red);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--dark-red);
}

.btn-secondary {
    flex: 1;
    padding: 12px 20px;
    background: var(--white);
    color: var(--text-dark);
    text-align: center;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--light-gray);
}

/* ========================================
   BOOKINGS PAGE STYLES
   ======================================== */

.booking-stats {
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    flex: 1;
}

.stat-box .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-box .stat-number.upcoming {
    color: #3b82f6;
}

.stat-box .stat-number.completed {
    color: #22c55e;
}

.stat-box .stat-number.cancelled {
    color: var(--primary-red);
}

.stat-box .stat-label {
    font-size: 13px;
    color: var(--dark-gray);
}

.btn-book-new {
    padding: 10px 20px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.btn-book-new:hover {
    background: var(--dark-red);
}

.bookings-section {
    margin-bottom: 30px;
}

.bookings-table-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    overflow: hidden;
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
}

.bookings-table th {
    background: var(--light-gray);
    padding: 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--medium-gray);
}

.bookings-table td {
    padding: 15px;
    font-size: 14px;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.bookings-table tr:last-child td {
    border-bottom: none;
}

.bookings-table .booking-id {
    font-weight: 600;
    color: var(--text-dark);
    font-family: monospace;
}

.bookings-table .facility-name {
    font-weight: 500;
    color: var(--text-dark);
}

.bookings-table .amount {
    font-weight: 600;
    color: var(--text-dark);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.confirmed,
.status-badge.active,
.status-badge.upcoming {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.status-badge.cancelled {
    background: rgba(230, 0, 18, 0.1);
    color: var(--primary-red);
}

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

.btn-view,
.btn-cancel,
.btn-review {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

.btn-view {
    background: var(--primary-red);
    color: var(--white);
}

.btn-cancel {
    background: var(--light-gray);
    color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
}

.btn-review {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* ========================================
   MEMBERSHIP PAGE STYLES
   ======================================== */

.membership-overview {
    margin-bottom: 30px;
}

.membership-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.membership-card.current {
    border: 2px solid var(--primary-red);
}

.membership-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.membership-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.membership-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.membership-price {
    font-size: 18px;
    color: var(--primary-red);
    font-weight: 600;
}

.membership-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #15803d;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.membership-meta {
    display: flex;
    gap: 40px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 12px;
    color: var(--dark-gray);
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.benefits-section {
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.payment-section,
.billing-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.btn-add {
    padding: 6px 14px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

.payment-icon svg {
    width: 24px;
    height: 24px;
}

.payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-type {
    font-size: 13px;
    color: var(--dark-gray);
}

.payment-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.default-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    width: fit-content;
    margin-top: 5px;
}

.btn-edit {
    font-size: 13px;
    color: var(--primary-red);
    font-weight: 500;
}

.billing-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.billing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.billing-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.billing-desc {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.billing-date {
    font-size: 12px;
    color: var(--dark-gray);
}

.billing-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.billing-amount .amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.billing-status {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
}

.billing-status.paid {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.change-plan-section {
    margin-bottom: 30px;
}

.plans-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan-option {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    text-align: center;
    position: relative;
}

.plan-option.current {
    border: 2px solid var(--primary-red);
}

.current-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.plan-option h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-option .plan-price {
    margin-bottom: 15px;
}

.plan-option .plan-price .amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-option .plan-price .period {
    font-size: 14px;
    color: var(--dark-gray);
}

.plan-features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.plan-features-list li {
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--dark-gray);
}

.plan-features-list li:last-child {
    border-bottom: none;
}

.btn-switch {
    display: block;
    padding: 10px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.current-plan-label {
    display: block;
    padding: 10px;
    background: var(--light-gray);
    color: var(--dark-gray);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
}

.cancel-section {
    margin-bottom: 30px;
}

.cancel-card {
    background: rgba(230, 0, 18, 0.05);
    border: 1px solid rgba(230, 0, 18, 0.2);
    border-radius: var(--radius-lg);
    padding: 25px;
}

.cancel-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.cancel-card p {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.btn-cancel-membership {
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.btn-cancel-membership:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */

.profile-header-section {
    margin-bottom: 30px;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.profile-avatar-section {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--medium-gray);
}

.profile-avatar-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.avatar-placeholder-large {
    width: 100px;
    height: 100px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
}

.btn-change-photo {
    padding: 6px 14px;
    background: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.profile-info-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.profile-email {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.profile-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge.membership {
    background: var(--primary-red);
    color: var(--white);
}

.badge.since {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.profile-stats-row {
    display: flex;
    gap: 40px;
}

.profile-stat {
    text-align: center;
}

.profile-stat .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.profile-stat .stat-label {
    font-size: 12px;
    color: var(--dark-gray);
}

.profile-form-section {
    margin-bottom: 30px;
}

.profile-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.profile-form .form-group {
    margin-bottom: 15px;
}

.profile-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.profile-form .form-group input,
.profile-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: var(--transition);
}

.profile-form .form-group input:focus,
.profile-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-save {
    padding: 12px 24px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.btn-cancel {
    padding: 12px 24px;
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.account-actions-section {
    margin-bottom: 30px;
}

.danger-zone {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.danger-zone h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

.action-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.action-info p {
    font-size: 13px;
    color: var(--dark-gray);
}

.btn-action {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
}

.btn-action.secondary {
    background: var(--light-gray);
    color: var(--text-dark);
    border: 1px solid var(--medium-gray);
}

.btn-action.danger {
    background: rgba(230, 0, 18, 0.1);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
}

/* ========================================
   SETTINGS PAGE STYLES
   ======================================== */

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.settings-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.settings-section .section-header {
    margin-bottom: 20px;
}

.settings-section .section-header p {
    font-size: 13px;
    color: var(--dark-gray);
    margin-top: 5px;
}

.settings-list {
    display: flex;
    flex-direction: column;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

.setting-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 13px;
    color: var(--dark-gray);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--medium-gray);
    border-radius: 26px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary-red);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* Select Dropdown */
.settings-select {
    padding: 8px 14px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--white);
    min-width: 180px;
}

.btn-settings {
    padding: 8px 16px;
    background: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.connected-accounts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-icon {
    width: 24px;
    height: 24px;
}

.account-icon.google {
    color: #4285F4;
}

.account-icon.facebook {
    color: #1877F2;
}

.account-status {
    font-size: 13px;
    font-weight: 500;
}

.account-status.connected {
    color: #22c55e;
}

.btn-connect {
    padding: 6px 14px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
}

.settings-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-save-settings {
    padding: 12px 30px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
}

.btn-reset {
    padding: 12px 30px;
    background: var(--white);
    color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
}

/* ========================================
   BOOKING PAGE STYLES
   ======================================== */

.booking-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
}

.btn-back {
    padding: 8px 16px;
    background: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.facility-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    height: fit-content;
}

.facility-preview {
    position: relative;
    height: 180px;
}

.facility-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

.facility-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.facility-price {
    font-size: 14px;
    opacity: 0.9;
}

.facility-details {
    padding: 20px;
}

.facility-details p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.amenities-list h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.amenities-list ul {
    list-style: none;
}

.amenities-list li {
    font-size: 13px;
    color: var(--dark-gray);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}

.amenities-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.booking-form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* Calendar Widget */
.calendar-widget {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 20px;
}

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

.month-nav {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-dark);
}

.current-month {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-gray);
    padding: 8px 0;
}

.day {
    aspect-ratio: 1;
    border: none;
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.day:hover:not(.empty):not(.past) {
    background: var(--primary-red);
    color: var(--white);
}

.day.selected {
    background: var(--primary-red);
    color: var(--white);
}

.day.today {
    border: 2px solid var(--primary-red);
}

.day.past {
    opacity: 0.4;
    cursor: not-allowed;
}

.day.empty {
    background: transparent;
    cursor: default;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-label {
    display: block;
    padding: 15px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.option-card input:checked + .option-label {
    border-color: var(--primary-red);
    background: rgba(230, 0, 18, 0.05);
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-slot {
    position: relative;
    cursor: pointer;
}

.time-slot input {
    position: absolute;
    opacity: 0;
}

.time-slot span {
    display: block;
    padding: 12px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.time-slot input:checked + span {
    border-color: var(--primary-red);
    background: rgba(230, 0, 18, 0.05);
}

/* Booking Summary */
.summary-step {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 25px;
}

.booking-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-item .label {
    color: var(--dark-gray);
}

.summary-item .value {
    font-weight: 500;
    color: var(--text-dark);
}

.summary-item.total {
    padding-top: 15px;
    border-top: 1px solid var(--medium-gray);
    font-size: 16px;
}

.summary-item.total .value {
    font-weight: 700;
    color: var(--primary-red);
}

.booking-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.btn-confirm-booking {
    flex: 1;
    padding: 14px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
}

.btn-cancel-booking {
    padding: 14px 30px;
    background: var(--white);
    color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
}

/* ========================================
   RESPONSIVE ADDITIONS
   ======================================== */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-comparison {
        grid-template-columns: 1fr;
    }
    
    .booking-layout {
        grid-template-columns: 1fr;
    }
    
    .facility-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .stats-row {
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 1;
        min-width: 120px;
    }
    
    .membership-meta {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .profile-avatar-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats-row {
        justify-content: center;
    }
    
    .form-row.two-col {
        grid-template-columns: 1fr;
    }
    
    .bookings-table-wrapper {
        overflow-x: auto;
    }
    
    .bookings-table {
        min-width: 800px;
    }
    
    .options-grid,
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .membership-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}
