/* All styles from index.html <style> tag go here */

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 1000 !important;
    padding: 1rem 0 !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Ensure navbar is always visible regardless of other CSS */
#navbar .navbar,
.navbar,
nav.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 1000 !important;
    padding: 1rem 0 !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd600;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login-btn {
    background: transparent;
    color: white;
    border: 2px solid #ffd600;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 80px;
}

.login-btn:hover {
    background: #ffd600;
    color: white !important;
    transform: translateY(-2px);
}

.signup-btn {
    background: #ffd600;
    color: #333;
    border: 2px solid #ffd600;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    min-width: 80px;
}

.signup-btn:hover {
    background: transparent;
    border-color: #ffd600;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Navigation Styles */
@media screen and (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }
    .nav-menu {
        gap: 1.5rem;
    }
    .nav-menu a {
        font-size: 0.9rem;
    }
    .auth-buttons {
        gap: 0.5rem;
    }
    .login-btn, .signup-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: clamp(0.1rem, 2vw, 0.4rem) 0 clamp(0.2rem, 3vw, 0.7rem) 0;
    }
    .nav-container {
        position: relative;
        z-index: 1000;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 1rem;
        gap: 0.5rem;
        min-height: 64px;
    }
    .logo {
        flex: 0 0 auto;
        min-width: 60px;
        text-align: left;
        font-size: 1.3rem;
        padding: 0.5rem 0;
        margin: 0;
        display: flex;
        align-items: center;
    }
    .auth-buttons {
        z-index: 999;
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: auto;
    }
    .signup-btn, .login-btn {
        font-size: 1.1rem;
        padding: 14px 24px;
        min-width: 100px;
        max-width: 120px;
        height: 44px;
        border-radius: 8px;
        margin: 0 0.1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        flex: 0 0 auto;
    }
    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        position: relative;
        background: none;
        border: none;
        min-width: 36px;
        max-width: 44px;
        width: 40px;
        height: 40px;
        padding: 0.25rem;
    }
    .hamburger span {
        width: 20px;
        height: 2.5px;
        margin: 4px 0;
        border-radius: 2px;
        background: #ffd600;
        transition: 0.3s;
        opacity: 1;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-4px, -5px);
    }
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100vw;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        display: flex;
    }
    .nav-menu.active {
        left: 0;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 clamp(0.1rem, 6vw, 0.5rem);
        gap: clamp(0.2rem, 4vw, 0.5rem);
    }
    .logo {
        font-size: 1.1rem;
        max-width: 70px;
    }
    .hamburger {
        max-width: 36px;
        min-width: 28px;
    }
    .signup-btn, .login-btn {
        font-size: 0.8rem;
        height: 36px;
        min-width: 60px;
        max-width: 80px;
        padding: 0 8px;
        border-radius: 6px;
    }
    .auth-buttons {
        gap: 0.4rem;
    }
    .login-btn, .signup-btn {
        padding-left: clamp(0.2rem, 4vw, 0.4rem);
        padding-right: clamp(0.2rem, 4vw, 0.4rem);
    }
    
    /* Fix mobile menu positioning */
    .nav-menu {
        top: 64px;
        height: calc(100vh - 64px);
    }
}

/* Hide hamburger on larger screens */
@media screen and (min-width: 769px) {
    .nav-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 2rem;
        max-width: 1200px;
        margin: 0 auto;
        gap: 0;
    }
    .auth-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem !important;
        width: auto !important;
        max-width: none !important;
        position: static !important;
        transform: none !important;
    }
    .signup-btn, .login-btn {
        flex: none !important;
        min-width: unset !important;
        max-width: unset !important;
        width: auto !important;
        height: auto !important;
        font-size: 0.9rem !important;
        padding: 8px 20px !important;
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
    }
    .logo {
        flex: none !important;
        font-size: 1.8rem !important;
        max-width: none !important;
        margin: 0 !important;
        display: block !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
    }
    .hamburger {
        display: none !important;
        width: auto !important;
        min-width: unset !important;
        max-width: unset !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0.5rem !important;
    }
    .nav-menu {
        position: static;
        left: 0;
        top: auto;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        gap: 2rem;
        padding-top: 0;
        display: flex;
        z-index: auto;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDgwIiB2aWV3Qm94PSIwIDAgMTkyMCAxMDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cmVjdCB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDgwIiBmaWxsPSIjMmEyYTJhIi8+CjxjaXJjbGUgY3g9IjQ4MCIgY3k9IjU0MCIgcj0iMTAwIiBmaWxsPSIjZmY2YjM1IiBvcGFjaXR5PSIwLjEiLz4KPGNpcmNsZSBjeD0iMTQ0MCIgY3k9IjMwMCIgcj0iODAiIGZpbGw9IiNmZjZiMzUiIG9wYWNpdHk9IjAuMSIvPgo8Y2lyY2xlIGN4PSIxMjAwIiBjeT0iNzUwIiByPSI2MCIgZmlsbD0iI2ZmNmIzNSIgb3BhY2l0eT0iMC4xIi8+CjwvdXZnPgo=');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    background: #ffd600;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #ffd600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.learn-more {
    background: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: #ffd600;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
}

.about-image {
    height: 400px;
    background: linear-gradient(45deg, #ffd600, #333);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Products Preview */
.products-preview {
    padding: 80px 0;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    height: 200px;
    background: linear-gradient(45deg, #ffd600, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd600;
}

.footer-section p, .footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffd600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Page Navigation */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Individual Pages */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI0MDAiIHZpZXdCb3g9IjAgMCAxOTIwIDQwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE5MjAiIGhlaWdodD0iNDAwIiBmaWxsPSIjMmEyYTJhIi8+CjwvdXZnPgo=');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: 80px 0;
}

.back-button {
    display: inline-block;
    background: #333;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #ffd600;
}

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

/* Ensure navbar is never affected by scroll animations */
.navbar.scroll-animate,
#navbar .scroll-animate,
nav.scroll-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scrolling-text-section {
    overflow-x: hidden;
    background: #fff;
    padding: 60px 0 40px 0;
}
.scrolling-text-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    will-change: transform;
}
.scrolling-text-item {
    min-width: 320px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #161616;
    background: #ffd60011;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.scrolling-text-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.footer-right-col {
    flex: 1 1 220px;
    min-width: 200px;
}
.footer-right-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 180px;
}
.footer-right-inner h3, .footer .container h3:not(:first-child) {
    color: #ffd600;
    margin-top: 1px;
    margin-bottom: 0.3rem;
    font-size: 1.35rem;
}
.footer-right-inner p, .footer-right-inner a {
    font-size: 1.12rem;
    line-height: 1.2;
}
.footer-right-inner a {
    color: #fff;
    text-decoration: none;
}
.footer-right-inner a:hover {
    color: #ffd600;
}
.footer-right-col {
    font-size: 1.12rem;
}
/* Center column headings and links */
.footer .container p, .footer .container a {
    font-size: 1.12rem;
    line-height: 1.2;
}
@media (max-width: 700px) {
    .footer-right-inner {
        flex-direction: column;
        justify-content: flex-start;
        min-height: unset;
    }
}

.footer .container, .footer-right-inner, .footer-right-inner > div, .footer .container p, .footer .container a {
    text-align: left !important;
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2vw;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 5vw;
    align-items: start;
}
.footer .container > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 1.2rem 2.2rem;
    min-width: 180px;
}
.footer .container h3 {
    margin-bottom: 1.1rem;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}
.footer .container p,
.footer .container a {
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
    line-height: 1.6;
    letter-spacing: 0.1px;
}
.footer .container a {
    padding: 0.2rem 0.1rem;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}
.footer .container a:hover {
    background: #ffd60022;
    color: #ffd600;
}

/* Tablet Layout */
@media (max-width: 900px) {
    .footer .container {
        grid-template-columns: 1fr 1fr;
        gap: 3vw;
        padding: 0 4vw;
    }
    .footer .container > div {
        align-items: center;
        text-align: center;
        padding: 1rem 0.5rem;
        min-width: 120px;
    }
    .footer .container h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .footer .container p,
    .footer .container a {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
}

/* Mobile Layout */
@media (max-width: 600px) {
    .footer {
        padding: 2rem 0 1.5rem 0;
    }
    .footer .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 4vw;
    }
    .footer .container > div {
        align-items: center;
        text-align: center;
        padding: 1rem 0;
        min-width: unset;
        width: 100%;
    }
    .footer .container h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    .footer .container p,
    .footer .container a {
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
    }
    .footer .container > div:first-child {
        margin-bottom: 1rem;
    }
    .footer .container > div:last-child {
        margin-top: 1rem;
    }
    .footer-social-support {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-social, .footer-support {
        text-align: center;
        align-items: center;
    }
    .footer-social h3, .footer-support h3 {
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }
    .footer-social p, .footer-support p {
        margin-bottom: 0.8rem;
        font-size: 1.05rem;
    }
}

.footer-social-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    align-items: start;
    width: 100%;
}
.footer-social, .footer-support {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

/* Tablet Layout for Social Section */
@media (max-width: 900px) {
    .footer-social-support {
        grid-template-columns: 1fr 1fr;
        gap: 3vw;
    }
    .footer-social, .footer-support {
        text-align: center;
        align-items: center;
    }
}

/* Mobile Layout for Social Section */
@media (max-width: 600px) {
    .footer-social-support {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-social, .footer-support {
        text-align: center;
        align-items: center;
    }
    .footer-social h3, .footer-support h3 {
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }
    .footer-social p, .footer-support p {
        margin-bottom: 0.8rem;
        font-size: 1.05rem;
    }
}

.footer .container a,
.footer-social-support a,
.footer-social a,
.footer-support a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer .container a:hover,
.footer-social-support a:hover,
.footer-social a:hover,
.footer-support a:hover {
    color: #ffd600;
}

.footer .container h3,
.footer-social-support h3,
.footer-social h3,
.footer-support h3 {
    color: #ffd600;
}

.footer .container h3 + p,
.footer .container h3 + a,
.footer-social-support h3 + p,
.footer-social-support h3 + a,
.footer-social h3 + p,
.footer-social h3 + a,
.footer-support h3 + p,
.footer-support h3 + a {
    padding-top: 2px;
}

/* Modal overlay and scroll lock */
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: slideIn 0.3s ease;
}
.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}
.close:hover {
    color: #333;
}
.modal h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}
.modal form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.modal input:focus {
    outline: none;
    border-color: #ffd600;
}
.modal button {
    background: #ffd600;
    color: #333;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}
.modal button:hover {
    background: #e6c200;
}
.modal p {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}
.modal a {
    color: #ffd600;
    text-decoration: none;
    font-weight: bold;
}
.modal a:hover {
    text-decoration: underline;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.user-dropdown {
    position: relative;
    display: inline-block;
}
.user-name {
    cursor: pointer;
    color: #ffd600;
    font-weight: 600;
    padding: 0.4em 1em;
    border-radius: 5px;
    background: #232323;
    transition: background 0.2s;
}
.user-name:hover, .user-name.active {
    background: #ffd600;
    color: #232323;
}
.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #232323;
    min-width: 140px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border-radius: 7px;
    z-index: 1000;
    padding: 0.5em 0;
}
.user-dropdown-menu a {
    display: block;
    color: #ffd600;
    padding: 0.7em 1.2em;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.user-dropdown-menu a:hover {
    background: #ffd600;
    color: #232323;
}
.user-dropdown.open .user-dropdown-menu {
    display: block;
}
/* Hide logout in footer if present */
.footer .dashboard-logout { display: none !important; }

/* Extra Small Mobile Layout */
@media (max-width: 400px) {
    .footer {
        padding: 1.5rem 0 1rem 0;
    }
    .footer .container {
        padding: 0 3vw;
        gap: 1.5rem;
    }
    .footer .container h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    .footer .container p,
    .footer .container a {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    .footer-social-support {
        gap: 1.5rem;
    }
    .footer-social h3, .footer-support h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    .footer-social p, .footer-support p {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
}

/* Removed debug modal/overlay hiding CSS */

/* InBody Integration Styles */
.inbody-upload-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.qr-scan-section,
.file-upload-section {
  margin-bottom: 20px;
}

.qr-scan-section h4,
.file-upload-section h4 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 16px;
}

.qr-scan-section p,
.file-upload-section p {
  color: #6c757d;
  margin-bottom: 12px;
  font-size: 14px;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e9ecef;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}

.file-info span {
  flex: 1;
  font-weight: 500;
  color: #495057;
}

.ocr-processing {
  text-align: center;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 16px 0;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e9ecef;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

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

.inbody-results {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.inbody-results h4 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 18px;
}

.inbody-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.inbody-field {
  display: flex;
  flex-direction: column;
}

.inbody-field label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 14px;
}

.inbody-field input,
.inbody-field select,
.inbody-field textarea {
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.inbody-field input:focus,
.inbody-field select:focus,
.inbody-field textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* QR Scanner Modal */
.qr-scanner-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.qr-scanner-content {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.qr-scanner-content h3 {
  color: #2c3e50;
  margin-bottom: 16px;
}

.qr-scanner-content video {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #000;
}

.qr-scanner-content p {
  color: #6c757d;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .inbody-grid {
    grid-template-columns: 1fr;
  }
  
  .inbody-upload-container {
    padding: 16px;
  }
  
  .inbody-results {
    padding: 16px;
  }
  
  .qr-scanner-content {
    padding: 16px;
  }
  
  .qr-scanner-content video {
    height: 250px;
  }
}

/* Button Styles for InBody */
.btn-primary {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background: #0056b3;
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background: #545b62;
}

.btn-danger {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-danger:hover {
  background: #c82333;
}

/* Admin Panel Header Fix: Prevent overlap with navbar */
.admin-panel-main, .admin-header, .page-header {
    margin-top: 90px !important;
} 