/*taskkill /F /IM dotnet.exe*/

/* Boost Training - Color Palette */
:root {
    --primary-color: #f07d00;      /* Energetic Orange */
    --secondary-color: #1495ab;    /* Professional Teal */
    --accent-color: #1495ab;       /* Teal Accent */
    --dark-color: #1C1C1C;         /* Dark Gray/Black */
    --light-color: #F7F7F7;        /* Light Gray */
    --success-color: #1495ab;      /* Teal for Success */
    --warning-color: #f07d00;      /* Orange for Warning */
    --danger-color: #DC3545;       /* Red */
    --white: #FFFFFF;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Navbar Toggler (Mobile Menu Button) */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
    outline: none;
}

.navbar-toggler:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 107, 53, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

/* Navbar Navigation Links */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.1);
}

.navbar-nav .nav-link:active,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar-nav .nav-link i {
    margin-right: 0.25rem;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: var(--white);
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
}

/* User Dropdown Specific Styles */
#userDropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#userDropdown i.fa-user-circle {
    font-size: 1.25rem;
}

/* Logout Button Styling */
.dropdown-item-form {
    padding: 0;
    margin: 0;
}

.logout-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: inherit;
}

.logout-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.logout-btn i {
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #003d6b;
    border-color: #003d6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 78, 137, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section / Image Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.7), rgba(255, 107, 53, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.hero-overlay h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card-body {
    padding: 2rem;
}

.service-card-body h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card-body p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Request Form Section */
.request-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.request-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.request-form-container h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

/* Dashboard Styles */
.dashboard-container {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: #666;
    font-size: 1.1rem;
}

/* Table Styles */
.table-container {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

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

.table thead {
    background-color: var(--secondary-color);
    color: var(--white);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table tbody tr:hover {
    background-color: var(--light-color);
}

/* Badge Styles */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-pending {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.badge-approved {
    background-color: var(--success-color);
    color: var(--white);
}

.badge-rejected {
    background-color: var(--danger-color);
    color: var(--white);
}

.badge-completed {
    background-color: var(--secondary-color);
    color: var(--white);
}

.badge-inprogress {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Chat Styles */
.chat-container {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: var(--light-color);
}

.message {
    margin-bottom: 1rem;
    display: flex;
}

.message.sent {
    justify-content: flex-end;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 15px;
}

.message.received .message-content {
    background-color: var(--white);
    color: var(--dark-color);
}

.message.sent .message-content {
    background-color: var(--primary-color);
    color: var(--white);
}

.chat-input {
    padding: 1.5rem;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
}

/* Session Timer */
.session-timer {
    background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.session-timer h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.session-timer p {
    font-size: 1.2rem;
}

/* Workout List */
.workout-list {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.workout-item {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.workout-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.workout-details {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer p,
.footer a {
    color: white;
    line-height: 1.8;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    /* Mobile Navbar Styles */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        display: block;
    }

    .navbar-brand span {
        font-size: 1.25rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: var(--light-color);
        margin-top: 0;
    }

    .dropdown-item {
        text-align: center;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }

    .navbar-brand span {
        font-size: 1.35rem;
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid var(--light-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
