﻿:root {
    /* Brand colors */
    --bs-primary: #5A8A74;
    --bs-primary-rgb: 90,138,116;
    --bs-secondary: #3E4A4A;
    --bs-secondary-rgb: 62,74,74;
    --bs-body-bg: #FFFFFF;
    --bs-body-color: #3E4A4A;
    /* Accent variants */
    --bs-success: #6EA88D;
    --bs-danger: #DC3545;
    --bs-warning: #FFC107;
    --bs-info: #0DCAF0;
    /* Links & hover states */
    --bs-link-color: #5A8A74;
    --bs-link-hover-color: #7AA892;
    /* Border & muted */
    --bs-border-color: #CED4DA;
}

/* Typography */
body {
    font-family: 'Oxanium', sans-serif;
    font-weight: 400;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

h3 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

label, input, select, textarea, button {
    letter-spacing: 0.3px;
}

/* Sidebar adjustments */
.main-sidebar {
    background-color: var(--bs-secondary);
}

    .main-sidebar a {
        color: #fff;
    }

        .main-sidebar a:hover {
            background-color: var(--bs-primary);
        }

/* Navbar */
.navbar {
    background-color: var(--bs-primary);
}

    .navbar .nav-link, .navbar-brand {
        color: #fff !important;
    }

/* Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

    .btn-primary:hover {
        background-color: #7AA892;
        border-color: #7AA892;
    }

/* Tables */
.table thead th {
    background-color: var(--bs-primary);
    color: #fff;
}

.table-hover tbody tr:hover {
    background-color: rgba(90,138,116,0.1);
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
}

.sidebar {
    height: calc(100vh - 70px);
    overflow-y: auto;
}

    .sidebar .nav-link.active {
        background-color: var(--bs-primary) !important;
        color: #fff !important;
        font-weight: 600;
        border-radius: 4px;
    }

    /* HOVER effect */
    .sidebar .nav-link:hover {
        background-color: rgba(90,138,116,0.4) !important;
        color: #fff !important;
    }

/* Separator between tabs and pages */
.menu-separator {
    border-color: #666;
    margin: 8px 0 10px;
    opacity: 0.4;
}

.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* dark semi-transparent overlay */
    backdrop-filter: blur(4px); /* blur effect */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

    .global-loader.show {
        opacity: 1;
    }

.loader-content {
    text-align: center;
    color: #fff;
}

    .loader-content .spinner-border {
        width: 3.5rem;
        height: 3.5rem;
    }

.loader-text {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.card-custom {
    border: 0;
    border-radius: 22px;
    padding: 2.5rem;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    overflow: hidden;
}

.inquiry-logo {
    height: 180px;
    object-fit: contain;
}

.gym-slogan {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 600;
    margin-top: -8px;
    margin-bottom: 20px;
}

.section-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #36454F;
    border-left: 4px solid #4CAF50;
    padding-left: 10px;
    margin-bottom: 1rem;
}

.section-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all .3s ease-in-out;
    height: 100%;
}

/* 🔥 Smooth layout animation */
.animate-layout {
    transition: all .35s ease-in-out;
}

/* 🔥 Vertical separator line on desktop */
@media (min-width: 768px) {
    .vertical-divider {
        border-right: 2px solid #e4e4e4;
        margin-right: 15px;
    }
}

/* 🔥 Sticky Submit Button for Mobile */
@media (max-width: 768px) {
    #submitBtn {
        position: sticky;
        bottom: 15px;
        z-index: 999;
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    }
}

/* Softer label text */
.form-label {
    font-weight: 500 !important; /* medium */
    color: #545d63 !important; /* softer gray */
}

/* Softer input text */
.form-control,
.form-select {
    font-weight: 400 !important; /* normal */
    color: #3f474d !important; /* medium gray */
}

/* Titles softer */
.section-title {
    font-weight: 600 !important; /* medium-bold */
    color: #444c53 !important;
}

/* Slogan lighter tone */
.gym-slogan {
    font-weight: 500 !important;
    color: #6f7a82 !important;
}

/* Card title */
.card-custom h2,
.card-custom h4 {
    font-weight: 600 !important;
}

/* Button text medium */
.btn {
    font-weight: 500 !important;
}
