/* static/css/styles.css */

/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    background-color: #1a2b4c; /* Dark blue for a professional look */
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif; /* Using Orbitron as requested */
    color: rgb(224, 123, 57);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand .fusion-text {
    color: #00b7ff; /* Bright blue accent for "Fusion" */
}

.nav-link {
    color: #fff !important;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00b7ff !important;
}

/* Container and Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Headings */
h1, h2 {
    color: #1a2b4c;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 2rem;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
}

/* Table Styling */
.table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table th {
    background-color: #1a2b4c;
    color: #fff;
    padding: 1rem;
    text-align: left;
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

/* Form Styling */
form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto 2rem;
}

form p {
    margin-bottom: 1rem;
}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

form input[type="text"],
form input[type="number"],
form textarea,
form select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form input[type="submit"] {
    background-color: #00b7ff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #008ecc;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #00b7ff;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #008ecc;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

/* Flash Messages */
.flashed-messages {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #1a2b4c;
    color: #fff;
    width: 100%;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin-bottom: 0.5rem;
    }

    .table-responsive {
        margin-bottom: 2rem;
    }

    form {
        padding: 1rem;
    }
}
/* ========================================
   HOMEPAGE SPECIFIC STYLES  
   ======================================== */

/* Homepage Body Override */
body.homepage {
    font-family: 'Inter', sans-serif;
    background: #0a0e1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Animated Gradient Background with GIF Layer */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Base gradient background */
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2b4c 50%, #0a0e1a 100%);
}

/* GIF Background Layer - Centered, fixed position */
.gradient-bg::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25vw;
    height: 25vw;
    min-width: 300px;
    min-height: 300px;
    max-width: 500px;
    max-height: 500px;
    background-image: url('/static/images/fusion-logo.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
}

/* Animated gradient overlay - On top of GIF */
.gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, rgba(0, 183, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(224, 123, 57, 0.15) 0%, transparent 50%);
    animation: pulse-bg 15s ease-in-out infinite;
    z-index: 2;
}

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

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

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

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

@keyframes bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite 2s;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Floating Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 183, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 3s ease-in-out infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
    background: rgba(26, 43, 76, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 183, 255, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00b7ff 0%, #00d4ff 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effects */
.glow-blue {
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.3), 0 0 40px rgba(0, 183, 255, 0.2);
}

.glow-blue-strong {
    box-shadow: 0 0 30px rgba(0, 183, 255, 0.5), 0 0 60px rgba(0, 183, 255, 0.3);
}

.hover-glow {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 183, 255, 0.4), 0 0 60px rgba(0, 183, 255, 0.2);
    transform: translateY(-5px);
}

/* Homepage Navbar */
.navbar-homepage {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-homepage.scrolled {
    background: rgba(26, 43, 76, 0.95) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar-homepage .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar-homepage .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-homepage .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-homepage .logo-container:hover .logo-img {
    transform: scale(1.1);
}

.navbar-homepage .logo-img {
    width: 5rem;
    height: 5rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.3));
}

.navbar-homepage .logo-container:hover .logo-icon {
    transform: scale(1.1) rotate(360deg);
}

.navbar-homepage .logo-icon {
    font-size: 3rem;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.3));
    background: linear-gradient(135deg, #00b7ff 0%, #00d4ff 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-homepage .brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-homepage .brand-text .text-white {
    color: #ffffff;
}

.navbar-homepage .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-homepage .nav-menu a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-homepage .nav-menu a:hover {
    color: #00b7ff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a, .mobile-menu button {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.mobile-menu a:hover, .mobile-menu button:hover {
    color: #00b7ff;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    text-align: center;
}

.hero-icons {
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
}

.hero-icons.icon-1 {
    top: 5rem;
    left: 2.5rem;
    color: #00b7ff;
}

.hero-icons.icon-2 {
    top: 10rem;
    right: 5rem;
    font-size: 2.5rem;
    color: #e07b39;
}

.hero-icons.icon-3 {
    bottom: 10rem;
    left: 25%;
    font-size: 3.5rem;
    color: #00b7ff;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
}

.hero-badge span {
    color: #00b7ff;
    font-weight: 600;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-hero-primary {
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    border: none;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    opacity: 0.6;
    z-index: 10;
}

.btn-hero-secondary {
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    color: white;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: #9ca3af;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: #00b7ff;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    color: #00b7ff;
    font-size: 1.875rem;
    text-decoration: none;
}

/* Section Styling */
.section {
    position: relative;
    padding: 6rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
}

.section-badge span {
    color: #00b7ff;
    font-weight: 600;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 183, 255, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 183, 255, 0.5);
}

.feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.875rem;
    color: white;
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-description {
    color: #9ca3af;
    line-height: 1.625;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.25rem;
    color: #d1d5db;
    font-weight: 600;
}

.stat-sublabel {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.stat-disclaimer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.pricing-card {
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    border: 2px solid #00b7ff;
    transform: scale(1.05);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-badge.badge-primary {
    background-color: rgba(0, 183, 255, 0.2);
    color: #00b7ff;
}

.pricing-badge.badge-accent {
    background-color: rgba(224, 123, 57, 0.2);
    color: #e07b39;
}

.pricing-badge.badge-featured {
    background-color: #00b7ff;
    color: white;
}

.pricing-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: #9ca3af;
}

.pricing-features {
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-features i {
    color: #00b7ff;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.pricing-features span {
    color: #d1d5db;
}

.pricing-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.pricing-btn.btn-glass {
    color: white;
    opacity: 0.6;
}

.pricing-btn.btn-featured {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    color: white;
    opacity: 0.6;
    z-index: 10;
}

/* CTA Section */
.cta-box {
    padding: 4rem;
    border-radius: 1.5rem;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Homepage Footer */
.homepage-footer {
    position: relative;
    padding: 4rem 1.5rem;
    border-top: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand {
    grid-column: span 2;
}

.footer-brand-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand-logo {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.3));
    background: linear-gradient(135deg, #00b7ff 0%, #00d4ff 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.5s ease;
}

.footer-brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(0, 183, 255, 0.2);
}

.footer-social i {
    color: #00b7ff;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00b7ff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-legal a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #00b7ff;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar for Homepage */
body.homepage::-webkit-scrollbar {
    width: 10px;
}

body.homepage::-webkit-scrollbar-track {
    background: #0a0e1a;
}

body.homepage::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00b7ff, #0099dd);
    border-radius: 5px;
}

body.homepage::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0099dd, #00b7ff);
}

/* Responsive Design for Homepage */
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .footer-bottom {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .navbar-homepage .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .cta-box {
        padding: 2rem;
    }
}
/* ============================================================================
   GROUPED MODULE NAVIGATION (Dashboard)
   ============================================================================ */

.module-group {
    margin-bottom: 2rem;
}

.group-title {
    color: #1a2b4c;
    border-bottom: 3px solid #00b7ff;
    padding-bottom: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.group-title i {
    margin-right: 0.5rem;
    color: #00b7ff;
}

/* ============================================================================
   QUALITY CONTROL MODULE STYLES
   ============================================================================ */

.quality-header {
    background: linear-gradient(135deg, #1a2b4c, #2c4373);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.quality-check-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.quality-check-card:hover {
    border-color: #00b7ff;
    box-shadow: 0 4px 12px rgba(0, 183, 255, 0.2);
}

.check-id {
    font-weight: 700;
    color: #1a2b4c;
    font-size: 1.1rem;
}

.check-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.check-status.pass {
    background-color: #10b981;
    color: #fff;
}

.check-status.fail {
    background-color: #ef4444;
    color: #fff;
}

/* ============================================================================
   CRM MODULE STYLES
   ============================================================================ */

.navbar-crm {
    background-color: #1a2b4c;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.navbar-brand-crm {
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.fusion-text {
    color: #00b7ff;
}

.crm-text {
    color: #e07b39;
}

.navbar-menu-crm {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link-crm {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-link-crm:hover {
    background-color: #00b7ff;
    color: #1a2b4c;
}

.dropdown-toggle-crm::after {
    content: '';
    display: inline-block;
    width: 0.3rem;
    height: 0.3rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-left: 0.5rem;
}

.dropdown-menu-crm {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, display 0s 0.25s;
    pointer-events: none;
}

.nav-dropdown-crm:hover .dropdown-menu-crm,
.dropdown-menu-crm:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-menu-crm a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: background-color 0.2s ease;
}

.dropdown-menu-crm a:hover {
    background-color: #f4f6f9;
    color: #00b7ff;
}

.dropdown-menu-crm hr {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.navbar-user-crm {
    margin-left: auto;
}

.crm-account-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.crm-opportunity-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.stage-lead {
    background-color: #3b82f6;
    color: #fff;
}

.stage-qualified {
    background-color: #06b6d4;
    color: #fff;
}

.stage-quote {
    background-color: #8b5cf6;
    color: #fff;
}

.stage-trial {
    background-color: #f59e0b;
    color: #fff;
}

.stage-negotiation {
    background-color: #ec4899;
    color: #fff;
}

.stage-won {
    background-color: #10b981;
    color: #fff;
}

.stage-lost {
    background-color: #ef4444;
    color: #fff;
}

.pipeline-column {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    min-height: 600px;
}

.opportunity-card {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: grab;
    transition: box-shadow 0.2s ease;
}

.opportunity-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #00b7ff;
}

.opportunity-card:active {
    cursor: grabbing;
}

.stat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #00b7ff;
    margin: 0.5rem 0;
}

.stat-unit {
    color: #6b7280;
    font-size: 0.9rem;
}

/* ========================================
   CRM MODULE SPECIFIC STYLES
   Modern Design System with Glass-Morphism
   ======================================== */

/* CRM Body & Theme */
body.crm-page {
    font-family: 'Inter', sans-serif;
    background: #0a0e1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* CRM Gradient Background */
.crm-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2b4c 50%, #0a0e1a 100%);
    background-size: 400% 400%;
    animation: crm-gradient-shift 15s ease infinite;
}

@keyframes crm-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CRM Floating Particles Background */
#crm-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.crm-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 183, 255, 0.5);
    border-radius: 50%;
    animation: crm-float 5s infinite ease-in-out;
}

@keyframes crm-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ========================================
   CRM NAVBAR STYLING
   ======================================== */

.navbar-crm {
    background: rgba(26, 43, 76, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 183, 255, 0.1);
    padding: 1.25rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
}

/* CRM Navbar Brand */
.navbar-brand-crm {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    gap: 0.25rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-brand-crm:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(0, 183, 255, 0.4);
}

.navbar-brand-crm .fusion-text {
    background: linear-gradient(135deg, #00b7ff 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand-crm .crm-text {
    color: #e07b39;
}

/* CRM Navbar Menu */
.navbar-menu-crm {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link-crm {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link-crm:hover {
    color: #00b7ff;
    background: rgba(0, 183, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link-crm i {
    font-size: 1.1rem;
}

/* CRM Navbar Dropdown */
.nav-dropdown-crm {
    position: relative;
}

/* Add invisible hover bridge to prevent menu from closing during mouse movement */
.nav-dropdown-crm::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 20px; /* Invisible hover bridge - larger for easier navigation */
    background: transparent;
    z-index: 1999;
}

.dropdown-toggle-crm::after {
    transition: transform 0.3s ease;
}

.nav-dropdown-crm:hover .dropdown-toggle-crm::after {
    transform: rotate(180deg);
}

.dropdown-menu-crm {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 43, 76, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 183, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    /* Add smooth transition for better UX */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, display 0s 0.25s;
    pointer-events: none;
}

/* Show dropdown on hover with transition delay removed */
.nav-dropdown-crm:hover .dropdown-menu-crm,
.dropdown-menu-crm:hover {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-menu-crm a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu-crm a:hover {
    background: rgba(0, 183, 255, 0.15);
    color: #00b7ff;
    padding-left: 2rem;
}

.dropdown-menu-crm hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.dropdown-end {
    right: 0;
    left: auto;
}

/* CRM Navbar User Menu */
.navbar-user-crm {
    display: flex;
    align-items: center;
}

/* ========================================
   CRM MAIN CONTENT AREA
   ======================================== */

.main-content {
    position: relative;
}

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

/* ========================================
   CRM PAGE HEADER
   ======================================== */

.crm-page-header {
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease;
}

.crm-page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00b7ff 0%, #00d4ff 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.crm-page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

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

/* ========================================
   CRM STAT CARDS (MODERN)
   ======================================== */

.crm-stat-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.crm-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 183, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.crm-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 183, 255, 0.2);
}

.crm-stat-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.crm-stat-card h3 i {
    font-size: 1.2rem;
}

.crm-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00b7ff 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
    letter-spacing: -1px;
}

.crm-stat-unit {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   CRM GLASS CARD CONTAINERS
   ======================================== */

.crm-glass-card {
    background: rgba(26, 43, 76, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.25);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.crm-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 183, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.crm-glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 183, 255, 0.15);
}

.crm-glass-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

/* ========================================
   CRM TABLES (MODERN)
   ======================================== */

.crm-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.crm-table thead {
    background: rgba(26, 43, 76, 0.6);
    border-bottom: 1px solid rgba(0, 183, 255, 0.2);
}

.crm-table th {
    padding: 1.25rem;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.crm-table tbody tr {
    border-bottom: 1px solid rgba(0, 183, 255, 0.1);
    transition: all 0.3s ease;
}

.crm-table tbody tr:hover {
    background: rgba(0, 183, 255, 0.08);
}

.crm-table tbody tr:last-child {
    border-bottom: none;
}

.crm-table td {
    padding: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    vertical-align: middle;
}

.crm-table .crm-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(0, 183, 255, 0.2);
    color: #00b7ff;
    border: 1px solid rgba(0, 183, 255, 0.4);
}

.crm-badge.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.4);
}

.crm-badge.warning {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.4);
}

.crm-badge.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

/* ========================================
   CRM BUTTONS (MODERN)
   ======================================== */

.crm-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.crm-btn-primary {
    background: linear-gradient(135deg, #00b7ff 0%, #0095d4 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 183, 255, 0.3);
}

.crm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 183, 255, 0.4);
}

.crm-btn-secondary {
    background: rgba(0, 183, 255, 0.1);
    color: #00b7ff;
    border: 1px solid rgba(0, 183, 255, 0.3);
}

.crm-btn-secondary:hover {
    background: rgba(0, 183, 255, 0.15);
    border-color: rgba(0, 183, 255, 0.5);
    transform: translateY(-2px);
}

.crm-btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.crm-btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.crm-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ========================================
   CRM FORMS
   ======================================== */

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

.crm-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a2b4c;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.crm-form-input,
.crm-form-select,
.crm-form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 183, 255, 0.3);
    border-radius: 8px;
    color: #1a2b4c;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.crm-form-input::placeholder,
.crm-form-textarea::placeholder {
    color: #999999;
}

.crm-form-input:focus,
.crm-form-select:focus,
.crm-form-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #00b7ff;
    box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.2);
}

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

.crm-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2b4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
    padding-right: 2.5rem;
}

/* ========================================
   CRM ACTION CARDS / QUICK ACTIONS
   ======================================== */

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

.crm-action-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.crm-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 183, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.crm-action-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 183, 255, 0.2);
}

.crm-action-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00b7ff 0%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crm-action-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.crm-action-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ========================================
   CRM PIPELINE STYLING
   ======================================== */

.crm-pipeline-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.crm-pipeline-column {
    flex: 0 0 320px;
    background: rgba(26, 43, 76, 0.4);
    border: 1px solid rgba(0, 183, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.crm-pipeline-column:hover {
    background: rgba(26, 43, 76, 0.6);
    border-color: rgba(0, 183, 255, 0.3);
}

.crm-pipeline-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 183, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crm-pipeline-count {
    display: inline-block;
    background: rgba(0, 183, 255, 0.2);
    color: #00b7ff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.crm-opportunity-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 183, 255, 0.15);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: grab;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.crm-opportunity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00b7ff 0%, #e07b39 100%);
}

.crm-opportunity-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 183, 255, 0.15);
}

.crm-opportunity-item:active {
    cursor: grabbing;
}

.crm-opportunity-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.crm-opportunity-details {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.crm-opportunity-value {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 183, 255, 0.1);
    color: #00b7ff;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

/* ========================================
   CRM TIMELINE / ACTIVITY
   ======================================== */

.crm-timeline {
    position: relative;
    padding: 2rem 0;
}

.crm-timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.crm-timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 183, 255, 0.3) 0%, transparent 100%);
}

.crm-timeline-item:last-child::before {
    display: none;
}

.crm-timeline-dot {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00b7ff 0%, #e07b39 100%);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.3);
}

.crm-timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.crm-timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 183, 255, 0.1);
}

.crm-timeline-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

.crm-timeline-type {
    display: inline-block;
    background: rgba(0, 183, 255, 0.2);
    color: #00b7ff;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

.crm-timeline-content h5 {
    color: #ffffff;
    margin: 0.5rem 0;
    font-family: 'Orbitron', sans-serif;
}

.crm-timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* ========================================
   CRM FOOTER
   ======================================== */

footer.crm-footer {
    background: rgba(26, 43, 76, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 183, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 1.5rem 2rem;
    width: 100%;
    font-size: 0.9rem;
    margin-top: 2rem;
}

footer.crm-footer p {
    margin: 0;
}

/* ========================================
   CRM RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .crm-container {
        padding: 0 1.5rem;
    }

    .crm-action-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .crm-page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .navbar-menu-crm {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-link-crm {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .crm-stat-card,
    .crm-glass-card {
        padding: 1.5rem;
    }

    .crm-stat-value {
        font-size: 2rem;
    }

    .crm-page-header h1 {
        font-size: 1.75rem;
    }

    .crm-pipeline-container {
        gap: 1rem;
    }

    .crm-pipeline-column {
        flex: 0 0 280px;
    }

    .crm-action-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    footer.crm-footer {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand-crm {
        font-size: 1.2rem;
    }

    .navbar-menu-crm {
        gap: 0.5rem;
    }

    .nav-link-crm {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }

    .nav-link-crm i {
        display: none;
    }

    .crm-stat-card {
        padding: 1rem;
    }

    .crm-stat-value {
        font-size: 1.75rem;
    }

    .crm-page-header h1 {
        font-size: 1.5rem;
    }

    .crm-page-header p {
        font-size: 0.9rem;
    }

    .crm-table {
        font-size: 0.85rem;
    }

    .crm-table th,
    .crm-table td {
        padding: 0.75rem;
    }

    .crm-pipeline-column {
        flex: 0 0 260px;
        padding: 1rem;
    }
}

/* ========================================
   ACCOUNTING MODULE STYLES
   Modern Design System with Glass-Morphism
   ======================================== */

/* Accounting Body & Theme */
body.accounting-page {
    font-family: 'Inter', sans-serif;
    background: #0a0e1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Accounting Gradient Background */
.accounting-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0a0e1a 0%, #0d1f3c 50%, #0a0e1a 100%);
    background-size: 400% 400%;
    animation: accounting-gradient-shift 15s ease infinite;
}

@keyframes accounting-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Accounting Floating Particles Background */
#accounting-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.accounting-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 183, 255, 0.5);
    border-radius: 50%;
    animation: accounting-float 5s infinite ease-in-out;
}

@keyframes accounting-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ========================================
   ACCOUNTING NAVBAR STYLING
   ======================================== */

.navbar-accounting {
    background: rgba(26, 43, 76, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 183, 255, 0.1);
    padding: 1.25rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
}

/* Accounting Navbar Brand */
.navbar-brand-accounting {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    gap: 0.25rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-brand-accounting:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(0, 183, 255, 0.4);
}

.navbar-brand-accounting .fusion-text {
    background: linear-gradient(135deg, #00b7ff 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand-accounting .accounting-text {
    color: #e07b39;
}

/* Accounting Navbar Menu */
.navbar-menu-accounting {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link-accounting {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link-accounting:hover {
    color: #00b7ff;
    background: rgba(0, 183, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link-accounting i {
    font-size: 1.1rem;
}

/* Accounting Navbar Dropdown */
.nav-dropdown-accounting {
    position: relative;
}

/* Add invisible hover bridge to prevent menu from closing during mouse movement */
.nav-dropdown-accounting::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 20px; /* Invisible hover bridge - larger for easier navigation */
    background: transparent;
    z-index: 1999;
}

.dropdown-toggle-accounting::after {
    transition: transform 0.3s ease;
}

.nav-dropdown-accounting:hover .dropdown-toggle-accounting::after {
    transform: rotate(180deg);
}

.dropdown-menu-accounting {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 43, 76, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 183, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    /* Add smooth transition for better UX */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, display 0s 0.25s;
    pointer-events: none;
}

/* Show dropdown on hover with transition delay removed */
.nav-dropdown-accounting:hover .dropdown-menu-accounting,
.dropdown-menu-accounting:hover {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-menu-accounting a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu-accounting a:hover {
    background: rgba(0, 183, 255, 0.15);
    color: #00b7ff;
    padding-left: 2rem;
}

.dropdown-menu-accounting hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.dropdown-end {
    right: 0;
    left: auto;
}

/* Accounting Navbar User Menu */
.navbar-user-accounting {
    display: flex;
    align-items: center;
}

/* ========================================
   ACCOUNTING MAIN CONTENT AREA
   ======================================== */


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

/* ========================================
   ACCOUNTING PAGE HEADER
   ======================================== */

.accounting-page-header {
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease;
}

.accounting-page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00b7ff 0%, #2563eb 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.accounting-page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

/* ========================================
   ACCOUNTING STAT CARDS (MODERN)
   ======================================== */

.accounting-stat-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.accounting-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 183, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.accounting-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 183, 255, 0.2);
}

.accounting-stat-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.accounting-stat-card h3 i {
    font-size: 1.2rem;
    color: #00b7ff;
}

.accounting-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00b7ff 0%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
    letter-spacing: -1px;
}

.accounting-stat-unit {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   ACCOUNTING GLASS CARD CONTAINERS
   ======================================== */

.accounting-glass-card {
    background: rgba(26, 43, 76, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.25);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accounting-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 183, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.accounting-glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 183, 255, 0.15);
}

.accounting-glass-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

/* ========================================
   ACCOUNTING TABLES (MODERN)
   ======================================== */

.accounting-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.accounting-table thead {
    background: rgba(26, 43, 76, 0.6);
    border-bottom: 1px solid rgba(0, 183, 255, 0.2);
}

.accounting-table th {
    padding: 1.25rem;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.accounting-table tbody tr {
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.accounting-table tbody tr:hover {
    background: rgba(34, 197, 94, 0.08);
}

.accounting-table tbody tr:last-child {
    border-bottom: none;
}

.accounting-table td {
    padding: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    vertical-align: middle;
}

.accounting-table .accounting-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(0, 183, 255, 0.2);
    color: #00b7ff;
    border: 1px solid rgba(0, 183, 255, 0.4);
}

.accounting-badge.success {
    background: rgba(0, 183, 255, 0.2);
    color: #00b7ff;
    border-color: rgba(0, 183, 255, 0.4);
}

.accounting-badge.warning {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.4);
}

.accounting-badge.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

/* ========================================
   ACCOUNTING BUTTONS (MODERN)
   ======================================== */

.accounting-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.accounting-btn-primary {
    background: linear-gradient(135deg, #00b7ff 0%, #0088cc 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 183, 255, 0.3);
}

.accounting-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 183, 255, 0.4);
}

.accounting-btn-secondary {
    background: rgba(0, 183, 255, 0.1);
    color: #00b7ff;
    border: 1px solid rgba(0, 183, 255, 0.3);
}

.accounting-btn-secondary:hover {
    background: rgba(0, 183, 255, 0.15);
    border-color: rgba(0, 183, 255, 0.5);
    transform: translateY(-2px);
}

.accounting-btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.accounting-btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.accounting-btn-sm {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    min-width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
}

.accounting-btn-sm i {
    font-size: 1rem;
    line-height: 1;
}

/* Button Group Styling */
.btn-group {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-group form {
    margin: 0;
    padding: 0;
    display: inline;
}

.btn-group form button {
    margin: 0;
    padding: 0;
}

/* ========================================
   ACCOUNTING FORMS
   ======================================== */

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

.accounting-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #e0e7ff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.accounting-form-input,
.accounting-form-select,
.accounting-form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 183, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.accounting-form-input::placeholder,
.accounting-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.accounting-form-input:focus,
.accounting-form-select:focus,
.accounting-form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #00b7ff;
    box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.2);
}

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

.accounting-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b7ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
    padding-right: 2.5rem;
}

/* Accounting Page Form Override - Glassmorphism */
.accounting-page form {
    background: rgba(26, 43, 76, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 100%;
    padding: 2.5rem;
    margin: 2rem auto;
}

.accounting-page form p {
    color: #e0e7ff;
}

.accounting-page form label {
    color: #e0e7ff;
    font-weight: 600;
}

/* Responsive form widths */
@media (min-width: 640px) {
    .accounting-page form {
        max-width: 85%;
    }
}

@media (min-width: 768px) {
    .accounting-page form {
        max-width: 75%;
    }
}

@media (min-width: 1024px) {
    .accounting-page form {
        max-width: 65%;
    }
}

@media (min-width: 1280px) {
    .accounting-page form {
        max-width: 55%;
    }
}

/* Accounting Modal Styling - Glassmorphism */
.accounting-page .modal-content {
    background: rgba(26, 43, 76, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.accounting-page .modal-header {
    background: rgba(0, 183, 255, 0.15) !important;
    border-bottom: 1px solid rgba(0, 183, 255, 0.2);
}

.accounting-page .modal-header .modal-title {
    color: #ffffff;
    font-weight: 600;
}

.accounting-page .modal-body {
    color: #e0e7ff;
}

.accounting-page .modal-footer {
    border-top: 1px solid rgba(0, 183, 255, 0.2);
    background: rgba(0, 0, 0, 0.1);
}

.accounting-page .input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 183, 255, 0.3);
    color: #e0e7ff;
}

.accounting-page .form-text {
    color: rgba(224, 231, 255, 0.7) !important;
}

/* ========================================
   ACCOUNTING ACTION CARDS / QUICK ACTIONS
   ======================================== */

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

.accounting-action-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.accounting-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 183, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.accounting-action-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 183, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 183, 255, 0.2);
}

.accounting-action-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00b7ff 0%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accounting-action-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.accounting-action-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ========================================
   ACCOUNTING FOOTER
   ======================================== */

footer.accounting-footer {
    background: rgba(26, 43, 76, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 183, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 1.5rem 2rem;
    width: 100%;
    font-size: 0.9rem;
    margin-top: 2rem;
}

footer.accounting-footer p {
    margin: 0;
}

/* ========================================
   ACCOUNTING RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .accounting-container {
        padding: 0 1.5rem;
    }

    .accounting-action-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .accounting-page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .navbar-menu-accounting {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-link-accounting {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .accounting-stat-card,
    .accounting-glass-card {
        padding: 1.5rem;
    }

    .accounting-stat-value {
        font-size: 2rem;
    }

    .accounting-page-header h1 {
        font-size: 1.75rem;
    }

    .accounting-action-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    footer.accounting-footer {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand-accounting {
        font-size: 1.2rem;
    }

    .navbar-menu-accounting {
        gap: 0.5rem;
    }

    .nav-link-accounting {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }

    .nav-link-accounting i {
        display: none;
    }

    .accounting-stat-card {
        padding: 1rem;
    }

    .accounting-stat-value {
        font-size: 1.75rem;
    }

    .accounting-page-header h1 {
        font-size: 1.5rem;
    }

    .accounting-page-header p {
        font-size: 0.9rem;
    }

    .accounting-table {
        font-size: 0.85rem;
    }

    .accounting-table th,
    .accounting-table td {
        padding: 0.75rem;
    }
}

/* ========================================

/* ========================================
   ACCOUNTING MODAL Z-INDEX FIX
   Fix for modal forms being unclickable
   Bootstrap modal system requires:
   - .modal must remain display: block (not flex)
   - .modal-dialog should use Bootstrap's default positioning
   ======================================== */

.accounting-page .modal {
    z-index: 1060 !important;
}

.accounting-page .modal-backdrop {
    z-index: 1059 !important;
}

/* Ensure form elements inside modals are clickable */
.accounting-page .modal-body input,
.accounting-page .modal-body select,
.accounting-page .modal-body textarea,
.accounting-page .modal-body button {
    pointer-events: auto !important;
}

.accounting-page .modal-body input:focus,
.accounting-page .modal-body select:focus,
.accounting-page .modal-body textarea:focus {
    outline: none;
    border-color: #00b7ff;
    box-shadow: 0 0 0 0.2rem rgba(0, 183, 255, 0.25);
}

/* Ensure modal elements are not obscured */
.accounting-page .modal-content {
    background-color: rgba(26, 43, 76, 0.98);
}

.accounting-page .modal-content,
.accounting-page .modal-header,
.accounting-page .modal-body,
.accounting-page .modal-footer {
    position: relative;
    z-index: 1060;
}

/* ============================================
   LOGIN PAGE STYLING
   ============================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2b4c 50%, #0a0e1a 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.login-page .animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.login-page .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 183, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(0, 183, 255, 0.8);
}

.login-page .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.login-page .particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.login-page .particle:nth-child(3) {
    top: 40%;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.login-page .particle:nth-child(4) {
    top: 70%;
    left: 60%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.login-page .particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 8s;
    animation-duration: 20s;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.login-card {
    background: rgba(26, 43, 76, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.login-card:hover {
    border-color: rgba(0, 183, 255, 0.5);
    box-shadow: 0 15px 60px rgba(0, 183, 255, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 183, 255, 0.5);
}

.login-title .fusion-text {
    color: #e07b39;
}

.login-subtitle {
    color: #e0e7ff;
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

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

.login-form .form-label {
    color: #e0e7ff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.login-form .form-label i {
    color: #00b7ff;
}

.login-form .glass-input {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 183, 255, 0.3);
    color: #1a2b4c;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.login-form .glass-input::placeholder {
    color: rgba(26, 43, 76, 0.5);
}

.login-form .glass-input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #00b7ff;
    box-shadow: 0 0 15px rgba(0, 183, 255, 0.4);
    color: #1a2b4c;
    outline: none;
}

.login-form .form-text {
    color: rgba(224, 231, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.btn-login {
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    border: none;
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 183, 255, 0.4);
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 183, 255, 0.2);
}

.login-footer p {
    color: #e0e7ff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.login-footer .accent-link {
    color: #00b7ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.login-footer .accent-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 183, 255, 0.8);
}

.login-footer .back-link {
    color: rgba(224, 231, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.login-footer .back-link:hover {
    color: #00b7ff;
}

/* ============================================
   SIGNUP PAGE STYLING
   ============================================ */

.signup-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2b4c 50%, #0a0e1a 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.signup-page .animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.signup-page .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 183, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(0, 183, 255, 0.8);
}

.signup-page .particle:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.signup-page .particle:nth-child(2) {
    top: 55%;
    left: 85%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.signup-page .particle:nth-child(3) {
    top: 35%;
    left: 45%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.signup-page .particle:nth-child(4) {
    top: 75%;
    left: 65%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.signup-page .particle:nth-child(5) {
    top: 25%;
    left: 75%;
    animation-delay: 8s;
    animation-duration: 20s;
}

.signup-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.signup-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 183, 255, 0.5);
    margin-bottom: 2rem;
}

.signup-main-title .fusion-text {
    color: #e07b39;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(26, 43, 76, 0.5);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(224, 231, 255, 0.1);
    border: 2px solid rgba(224, 231, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: rgba(224, 231, 255, 0.5);
    transition: all 0.3s ease;
}

.step-label {
    color: rgba(224, 231, 255, 0.7);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    border-color: #00b7ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.6);
}

.step.active .step-label {
    color: #ffffff;
    font-weight: 600;
}

.step.completed .step-number {
    background: linear-gradient(135deg, #28a745 0%, #20893d 100%);
    border-color: #28a745;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
}

.step.completed .step-label {
    color: #28a745;
    font-weight: 600;
}

.step-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 183, 255, 0.3) 0%, rgba(0, 183, 255, 0.1) 100%);
}

/* Step Titles */
.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(0, 183, 255, 0.3);
}

/* Plan Card */
.plan-card {
    background: rgba(26, 43, 76, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 183, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00b7ff 0%, #0099dd 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(0, 183, 255, 0.3);
    border-color: rgba(0, 183, 255, 0.6);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.selected {
    border-color: #00b7ff;
    background: rgba(0, 183, 255, 0.1);
    box-shadow: 0 10px 50px rgba(0, 183, 255, 0.3);
}

.plan-card.selected::before {
    opacity: 1;
}

.plan-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e07b39 0%, #d06829 100%);
    color: #ffffff;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(224, 123, 57, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-card-body {
    padding-top: 1rem;
}

.plan-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
}

/* Seat Selector */
.seat-selector {
    margin-bottom: 2rem;
}

.seat-selector .form-label {
    color: #e0e7ff;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    font-size: 1.05rem;
}

.seat-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn-seat-control {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0, 183, 255, 0.2);
    border: 1px solid rgba(0, 183, 255, 0.4);
    color: #00b7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.btn-seat-control:hover {
    background: rgba(0, 183, 255, 0.3);
    border-color: #00b7ff;
    box-shadow: 0 4px 15px rgba(0, 183, 255, 0.3);
    transform: scale(1.05);
}

.seat-input {
    width: 100px !important;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem !important;
    padding: 0.75rem !important;
    background: rgba(10, 14, 26, 0.6) !important;
    border: 1px solid rgba(0, 183, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 10px;
}

/* Pricing Breakdown */
.pricing-breakdown {
    background: rgba(10, 14, 26, 0.4);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #e0e7ff;
    font-size: 0.95rem;
}

.pricing-row:last-child {
    margin-bottom: 0;
}

.pricing-row.pricing-total {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.price-value {
    font-weight: 600;
    color: #ffffff;
}

.plan-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #00b7ff;
    text-shadow: 0 0 15px rgba(0, 183, 255, 0.5);
}

.pricing-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 183, 255, 0.1) 0%, rgba(0, 183, 255, 0.3) 50%, rgba(0, 183, 255, 0.1) 100%);
    margin: 1rem 0;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    color: #e0e7ff;
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.plan-features li i {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.plan-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(224, 123, 57, 0.1);
    border: 1px solid rgba(224, 123, 57, 0.3);
    border-radius: 10px;
    color: #e07b39;
    font-size: 0.9rem;
    text-align: center;
}

.plan-note i {
    margin-right: 0.5rem;
}

/* Continue Button */
.btn-continue {
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    border: none;
    color: #ffffff;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 183, 255, 0.3);
}

.btn-continue:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 183, 255, 0.5);
}

/* Signup Form */
.signup-form {
    background: rgba(26, 43, 76, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.selected-plan-summary {
    background: rgba(0, 183, 255, 0.1);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.plan-summary-content strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.plan-summary-details {
    color: #e0e7ff;
    font-size: 0.95rem;
}

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

.signup-form-fields .form-label {
    color: #e0e7ff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.signup-form-fields .form-label i {
    color: #00b7ff;
}

.signup-form-fields .glass-input {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 183, 255, 0.3);
    color: #1a2b4c;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.signup-form-fields .glass-input::placeholder {
    color: rgba(26, 43, 76, 0.5);
}

.signup-form-fields .glass-input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #00b7ff;
    box-shadow: 0 0 15px rgba(0, 183, 255, 0.4);
    color: #1a2b4c;
    outline: none;
}

.signup-form-fields .form-text {
    color: rgba(224, 231, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.btn-signup {
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    border: none;
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-signup:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 183, 255, 0.4);
}

.btn-back {
    background: transparent;
    border: 1px solid rgba(224, 231, 255, 0.3);
    color: #e0e7ff;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: rgba(224, 231, 255, 0.1);
    border-color: #00b7ff;
    color: #00b7ff;
}

.signup-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 183, 255, 0.2);
}

.signup-footer p {
    color: #e0e7ff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.signup-footer .accent-link {
    color: #00b7ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.signup-footer .accent-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 183, 255, 0.8);
}

.signup-footer .back-link {
    color: rgba(224, 231, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.signup-footer .back-link:hover {
    color: #00b7ff;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Inner Element (reusable) */
.glass-inner {
    background: rgba(10, 14, 26, 0.4);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

/* Responsive Design for Login/Signup */
@media (max-width: 768px) {
    .login-title,
    .signup-main-title {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .login-card,
    .signup-form {
        padding: 2rem 1.5rem;
    }

    .plan-card {
        padding: 2rem 1.5rem;
    }

    .step-indicator {
        padding: 1rem;
        gap: 0.5rem;
    }

    .step-label {
        display: none;
    }

    .step-divider {
        width: 30px;
    }

    .seat-controls {
        gap: 0.5rem;
    }

    .btn-seat-control {
        width: 40px;
        height: 40px;
    }

    .plan-price {
        font-size: 1.75rem;
    }

    .btn-continue,
    .btn-login,
    .btn-signup {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-title,
    .signup-main-title {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .login-card,
    .signup-form {
        padding: 1.5rem 1rem;
    }

    .plan-card {
        padding: 1.5rem 1rem;
    }

    .seat-input {
        width: 80px !important;
        font-size: 1.25rem !important;
    }

    .plan-features li {
        font-size: 0.85rem;
    }

    .pricing-row {
        font-size: 0.85rem;
    }

    .plan-price {
        font-size: 1.5rem;
    }
}

/* ============================================
   MAIN DASHBOARD STYLING
   ============================================ */

.dashboard-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2b4c 50%, #0a0e1a 100%);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', Arial, sans-serif;
    color: #e0e7ff;
    overflow-x: hidden;
}
.dashboard-container {
    flex: 1;
    padding: 2rem 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.dashboard-page .profile-card {
    background: rgba(26, 43, 76, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.dashboard-page .profile-card:hover {
    border-color: rgba(0, 183, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 183, 255, 0.2);
    transform: translateY(-2px);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-icon {
    font-size: 4rem;
    color: #00b7ff;
    text-shadow: 0 0 20px rgba(0, 183, 255, 0.5);
}

.profile-info {
    flex: 1;
}

.welcome-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
}

.user-name {
    color: #00b7ff;
    text-shadow: 0 0 10px rgba(0, 183, 255, 0.3);
}

.profile-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #c7d2fe;
}

.detail-item i {
    color: #e07b39;
    font-size: 1.1rem;
}
.flash-messages-container {
    margin-bottom: 2rem;
}

.glass-alert {
    background: rgba(26, 43, 76, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.glass-alert i {
    font-size: 1.5rem;
}

.glass-alert.alert-danger {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(127, 29, 29, 0.4);
}

.glass-alert.alert-info {
    border-color: rgba(0, 183, 255, 0.5);
    background: rgba(0, 119, 163, 0.3);
}

.modules-section {
    margin-top: 1rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 0 20px rgba(0, 183, 255, 0.3);
}

.section-title i {
    color: #00b7ff;
    font-size: 1.75rem;
}

.dashboard-page .module-group {
    margin-bottom: 3rem;
}

.dashboard-page .group-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 183, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.5px;
}

.dashboard-page .group-title i {
    color: #e07b39;
    font-size: 1.25rem;
}
.dashboard-page .nav-card {
    background: rgba(26, 43, 76, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dashboard-page .nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 183, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.dashboard-page .nav-card:hover::before {
    left: 100%;
}

.dashboard-page .nav-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 183, 255, 0.6);
    box-shadow: 0 12px 40px rgba(0, 183, 255, 0.3);
    background: rgba(26, 43, 76, 0.7);
}

.dashboard-page .nav-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.module-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00b7ff, #0077a3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 183, 255, 0.3);
    transition: transform 0.3s ease;
}

.dashboard-page .nav-card:hover .module-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 183, 255, 0.5);
}

.module-icon {
    font-size: 1.5rem;
    color: #ffffff;
}

.dashboard-page .nav-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    flex: 1;
}

.dashboard-page .nav-card-description {
    font-size: 0.95rem;
    color: #c7d2fe;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.nav-card-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #00b7ff;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.dashboard-page .nav-card:hover .nav-card-arrow {
    opacity: 1;
    transform: translateX(0);
}
.dashboard-page .no-modules-msg {
    background: rgba(26, 43, 76, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 183, 255, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.no-modules-icon {
    font-size: 4rem;
    color: #00b7ff;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.dashboard-page .no-modules-msg h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.dashboard-page .no-modules-msg p {
    color: #c7d2fe;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-page .no-modules-msg .btn-primary {
    background: linear-gradient(135deg, #00b7ff, #0077a3);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 183, 255, 0.3);
}

.dashboard-page .no-modules-msg .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 183, 255, 0.5);
}

.dashboard-footer {
    background: rgba(26, 43, 76, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 183, 255, 0.2);
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    margin: 0;
    color: #c7d2fe;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #c7d2fe;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #00b7ff;
}
@media (max-width: 992px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .profile-icon { font-size: 3rem; }
    .welcome-text { font-size: 1.5rem; }
    .profile-details { justify-content: center; }
    .section-title { font-size: 1.75rem; }
    .dashboard-page .group-title { font-size: 1.25rem; }
}

@media (max-width: 768px) {
    .dashboard-container { padding: 1.5rem 0.75rem; margin-top: 1rem; }
    .dashboard-page .profile-card { padding: 1.5rem; }
    .profile-icon { font-size: 2.5rem; }
    .welcome-text { font-size: 1.25rem; }
    .profile-details { flex-direction: column; gap: 0.75rem; }
    .section-title { font-size: 1.5rem; }
    .dashboard-page .group-title { font-size: 1.15rem; }
    .dashboard-page .nav-card { padding: 1.5rem; }
    .module-icon-wrapper { width: 40px; height: 40px; }
    .module-icon { font-size: 1.25rem; }
    .dashboard-page .nav-card-title { font-size: 1.1rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    .dashboard-container { padding: 1rem 0.5rem; }
    .dashboard-page .profile-card { padding: 1.25rem; }
    .welcome-text { font-size: 1.1rem; }
    .section-title { font-size: 1.25rem; }
    .dashboard-page .group-title { font-size: 1rem; }
    .dashboard-page .nav-card { padding: 1.25rem; }
    .dashboard-page .nav-card-title { font-size: 1rem; }
    .dashboard-page .nav-card-description { font-size: 0.875rem; }
}
