/* My Fitness Planet Gym - Custom Premium CSS Style */

/* CSS Design System Tokens */
:root {
    --bg-main: #060609;
    --bg-darker: #020204;
    --bg-card: rgba(18, 18, 24, 0.7);
    --bg-card-hover: rgba(28, 28, 38, 0.9);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(229, 193, 88, 0.35);
    --text-white: #ffffff;
    --text-gray: #9ba1a6;
    --text-light-gray: #e1e4e6;
    
    /* Premium Gold & Obsidian Gradients */
    --color-orange: #e5c158;
    --color-orange-rgb: 229, 193, 88;
    --color-magenta: #b89742;
    --gradient-orange: linear-gradient(135deg, #f9f5e8 0%, #e5c158 50%, #b89742 100%);
    --gradient-dark-red: linear-gradient(180deg, #151109 0%, #060609 100%);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Global Adjustments */
body {
    background-color: var(--bg-main) !important;
    font-family: var(--font-body);
    color: var(--text-light-gray);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 800;
}

.fw-extrabold { font-weight: 800; }
.fw-black { font-weight: 900; }

.text-gradient-orange {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-light-gray { color: var(--text-light-gray); }
.text-orange { color: var(--color-orange) !important; }
.bg-orange { background: var(--gradient-orange) !important; color: #000 !important; }

/* Custom Form Targets (Mobile-first sizing) */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-white) !important;
    border-radius: 12px;
    height: 50px; /* Highly spacious touch target for mobile */
    font-size: 0.95rem;
    padding: 0 16px;
    transition: var(--transition-smooth);
}

textarea.form-control {
    height: auto !important;
    padding: 12px 16px !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-orange) !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 0 4px rgba(255, 94, 54, 0.15) !important;
}

/* Translucent & Premium Cards */
.card, .hover-card, .glass-card, .dashboard-card {
    background: var(--bg-card) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    transition: var(--transition-smooth) !important;
}

.hover-card:hover, .card:hover, .glass-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover) !important;
    border-color: var(--border-color-hover) !important;
    box-shadow: 0 12px 40px rgba(255, 94, 54, 0.1) !important;
}

/* Specific styling for popular plans scale */
.card.bg-orange {
    background: var(--gradient-orange) !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(255, 94, 54, 0.25) !important;
}

.card.bg-orange h4, .card.bg-orange span, .card.bg-orange li {
    color: #000 !important;
}

.card.bg-orange .btn-black {
    background: #000;
    color: var(--color-orange) !important;
    border: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.card.bg-orange .btn-black:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Custom Buttons */
.btn {
    border-radius: 50px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px !important;
    transition: var(--transition-smooth) !important;
}

.btn-orange {
    background: var(--gradient-orange) !important;
    border: none !important;
    color: var(--text-white) !important;
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--color-orange-rgb), 0.45);
    opacity: 0.95;
}

.btn-outline-orange {
    border: 2px solid var(--color-orange) !important;
    color: var(--color-orange) !important;
    background: transparent !important;
}

.btn-outline-orange:hover {
    background: var(--gradient-orange) !important;
    border-color: transparent !important;
    color: var(--text-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--color-orange-rgb), 0.35);
}

.glow-btn {
    box-shadow: 0 4px 15px rgba(var(--color-orange-rgb), 0.25);
}

/* Translucent Header */
.bg-black-translucent {
    background-color: rgba(6, 6, 9, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Image overlays and gradients */
.bg-gradient-dark-red {
    background: var(--gradient-dark-red);
}

.max-w-600 {
    max-width: 600px;
}

/* Floating Actions (Mobile optimized positioning) */
.floating-call-btn, .floating-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.floating-call-btn {
    left: 20px;
    background-color: var(--color-orange);
}

.floating-whatsapp-btn {
    right: 20px;
    background-color: #25d366;
}

.floating-call-btn:hover, .floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--text-white);
}

/* Quick links footer hover */
.quick-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    padding: 4px 0;
}
.quick-links a:hover {
    color: var(--color-orange);
    padding-left: 6px;
}

/* Admin & Member Sidebar Layout */
.admin-sidebar {
    background-color: var(--bg-darker);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 100vh;
    padding-top: 20px;
    z-index: 100;
}

.admin-nav-link {
    color: var(--text-gray);
    display: block;
    padding: 14px 24px;
    text-decoration: none;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}

.admin-nav-link:hover, .admin-nav-link.active {
    background-color: rgba(255, 94, 54, 0.05);
    color: var(--text-white);
    border-left-color: var(--color-orange);
}

/* Custom Pill Navigation */
.nav-pills .nav-link {
    color: var(--text-light-gray) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    transition: var(--transition-smooth) !important;
}

.nav-pills .nav-link:hover {
    color: var(--text-white) !important;
    border-color: var(--color-orange) !important;
    background: rgba(255, 94, 54, 0.04) !important;
}

.nav-pills .nav-link.active {
    background: var(--gradient-orange) !important;
    color: #000 !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(255, 94, 54, 0.25) !important;
}

/* Health Gauge calculator layout */
.health-gauge {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 20px auto;
}

/* Mobile responsive utilities (Mobile Friendly First) */
@media (max-width: 991.98px) {
    .display-3 {
        font-size: 2.5rem !important;
    }
    .display-4 {
        font-size: 2.2rem !important;
    }
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2.1rem !important;
    }
    .display-4 {
        font-size: 1.8rem !important;
    }
    .btn {
        width: 100%; /* Full width buttons on mobile for easy reach */
        margin-bottom: 8px;
    }
    .floating-call-btn, .floating-whatsapp-btn {
        bottom: 15px;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    .floating-call-btn { left: 15px; }
    .floating-whatsapp-btn { right: 15px; }
}
