/**
 * Galactic EA AI - Tab Navigation & FAB Styles
 * Complete tab system with floating action button
 */

/* ================================================================
   GALAXY THEME - Tab Navigation Styles
   ================================================================ */
.tabs-container {
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
}

/* Galaxy Background Animation */
.tabs-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: 
        radial-gradient(circle at 20% 50%, rgba(123, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: galaxyFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    border-radius: 20px;
}

@keyframes galaxyFloat {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

/* Galaxy Tab Button */
.tab-button {
    padding: 16px 28px;
    background: linear-gradient(135deg, 
        rgba(10, 10, 26, 0.8) 0%, 
        rgba(26, 10, 46, 0.6) 50%,
        rgba(10, 10, 26, 0.8) 100%);
    border: 2px solid transparent;
    color: #b8c5d6;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    backdrop-filter: blur(15px);
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Starfield Effect */
.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent);
    transition: left 0.6s ease;
}

.tab-button:hover::before {
    left: 100%;
}

/* Nebula Glow Effect */
.tab-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(123, 119, 198, 0.3) 0%, 
        rgba(255, 119, 198, 0.2) 30%,
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    opacity: 0;
}

.tab-button:hover::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.tab-button:hover {
    background: linear-gradient(135deg, 
        rgba(123, 119, 198, 0.25) 0%, 
        rgba(255, 119, 198, 0.15) 50%,
        rgba(123, 119, 198, 0.25) 100%);
    color: #ff77c6;
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 119, 198, 0.5);
    box-shadow: 
        0 8px 30px rgba(123, 119, 198, 0.4),
        0 0 40px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 15px rgba(255, 119, 198, 0.6);
}

.tab-button.active {
    background: linear-gradient(135deg, 
        rgba(123, 119, 198, 0.4) 0%, 
        rgba(255, 119, 198, 0.3) 50%,
        rgba(0, 212, 255, 0.2) 100%);
    color: #ffffff;
    border-color: rgba(255, 119, 198, 0.6);
    box-shadow: 
        0 8px 35px rgba(123, 119, 198, 0.5),
        0 0 50px rgba(255, 119, 198, 0.4),
        0 0 80px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 
        0 0 20px rgba(255, 119, 198, 0.9),
        0 0 30px rgba(123, 119, 198, 0.6);
    position: relative;
    z-index: 2;
}

/* Active Tab Pulsing Glow */
.tab-button.active::after {
    width: 250px;
    height: 250px;
    opacity: 0.6;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

.tab-button span,
.tab-button {
    position: relative;
    z-index: 1;
}

/* Galaxy Tab Content */
.tab-content {
    display: none;
    animation: galaxyFadeIn 0.5s ease;
    position: relative;
    z-index: 1;
    padding: 30px;
    background: linear-gradient(135deg, 
        rgba(10, 10, 26, 0.6) 0%, 
        rgba(26, 10, 46, 0.4) 50%,
        rgba(10, 10, 26, 0.6) 100%);
    border-radius: 16px;
    border: 1px solid rgba(123, 119, 198, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}

@keyframes galaxyFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.98);
        filter: blur(5px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Section Styling within Tabs */
.tab-content .section {
    position: relative;
    z-index: 1;
}

.tab-content .section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at 50% 0%, rgba(123, 119, 198, 0.05) 0%, transparent 70%);
    border-radius: 16px;
    pointer-events: none;
    z-index: -1;
}

.tab-content .section h2 {
    font-size: 1.8rem;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(255, 119, 198, 0.4);
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-content .section h2 .header-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 12px rgba(255, 119, 198, 0.8));
    text-shadow: 
        0 0 15px rgba(255, 119, 198, 0.6),
        0 0 30px rgba(123, 119, 198, 0.4);
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(255, 119, 198, 0.8));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 119, 198, 1));
    }
}

.tab-content .section h2 .header-text {
    color: #ff77c6;
    text-shadow: 0 0 15px rgba(255, 119, 198, 0.6);
}

/* ================================================================
   QUICK ACTIONS GRID - MODERN PREMIUM DESIGN
   ================================================================ */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px auto 40px auto;
    max-width: 1200px;
    padding: 0 20px;
    justify-items: center;
}

.action-card {
    background: linear-gradient(135deg, rgba(123, 119, 198, 0.15) 0%, rgba(255, 119, 198, 0.1) 100%);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(123, 119, 198, 0.4), rgba(255, 119, 198, 0.4), rgba(0, 212, 255, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.action-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 119, 198, 0.15) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.action-card:hover::after {
    transform: scale(1);
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(123, 119, 198, 0.4),
        0 0 60px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(255, 119, 198, 0.6));
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

.action-card h3 {
    font-size: 1.15rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #ff77c6;
    text-shadow: 0 0 12px rgba(255, 119, 198, 0.6);
    position: relative;
    z-index: 1;
}

.action-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b8c5d6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(123, 119, 198, 0.1) 0%, rgba(255, 119, 198, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(123, 119, 198, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(123, 119, 198, 0.15) 0%, rgba(255, 119, 198, 0.1) 100%);
    border-color: rgba(255, 119, 198, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(123, 119, 198, 0.3);
}

.feature-icon {
    font-size: 1.8rem;
    min-width: 35px;
    filter: drop-shadow(0 0 8px rgba(255, 119, 198, 0.5));
}

.feature-content h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #ff77c6;
    font-weight: 600;
}

.feature-content p {
    font-size: 0.9rem;
    margin: 0;
    color: #b8c5d6;
    line-height: 1.5;
}

/* ================================================================
   FLOATING ACTION BUTTON (FAB) - ALWAYS VISIBLE
   ================================================================ */
/* Floating Menu Toggle Button - Similar to FAB */
.floating-menu-toggle {
    position: fixed !important;
    bottom: 110px !important; /* Above FAB which is at bottom: 30px */
    right: 30px !important;
    left: auto !important; /* Ensure it's on the right, not left */
    top: auto !important; /* Ensure it's at bottom, not top */
    z-index: 999998 !important; /* Just below FAB */
    display: none !important; /* Hidden on desktop, shown on mobile */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translate3d(0, 0, 0) !important;
    width: auto !important;
    height: auto !important;
}

.floating-menu-toggle-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(123, 119, 198, 0.98) 0%, 
        rgba(255, 119, 198, 0.95) 50%,
        rgba(0, 212, 255, 0.9) 100%);
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 10px 40px rgba(123, 119, 198, 0.6),
        0 0 60px rgba(255, 119, 198, 0.5),
        0 0 80px rgba(0, 212, 255, 0.3),
        inset 0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: fabPulse 3s ease-in-out infinite;
}

.floating-menu-toggle-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 
        0 15px 60px rgba(255, 119, 198, 0.8),
        0 0 100px rgba(123, 119, 198, 0.6),
        0 0 120px rgba(0, 212, 255, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

.floating-menu-toggle-btn.active {
    transform: scale(1.1) rotate(180deg);
    background: linear-gradient(135deg, 
        rgba(255, 119, 198, 0.98) 0%, 
        rgba(123, 119, 198, 0.95) 50%,
        rgba(0, 212, 255, 0.9) 100%);
    animation: none;
}

.floating-menu-toggle-icon {
    font-size: 2rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.5)) 
            drop-shadow(0 0 20px rgba(255, 119, 198, 0.6));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-menu-toggle-btn:hover .floating-menu-toggle-icon {
    transform: scale(1.2) rotate(45deg);
}

.floating-menu-toggle-btn.active .floating-menu-toggle-icon {
    transform: rotate(180deg) scale(1.1);
}

.floating-action-button {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translate3d(0, 0, 0) !important;
}

.fab-main {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(123, 119, 198, 0.98) 0%, 
        rgba(255, 119, 198, 0.95) 50%,
        rgba(0, 212, 255, 0.9) 100%);
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 10px 40px rgba(123, 119, 198, 0.6),
        0 0 60px rgba(255, 119, 198, 0.5),
        0 0 80px rgba(0, 212, 255, 0.3),
        inset 0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: fabPulse 3s ease-in-out infinite;
}

@keyframes fabPulse {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(123, 119, 198, 0.6),
            0 0 60px rgba(255, 119, 198, 0.5),
            0 0 80px rgba(0, 212, 255, 0.3),
            inset 0 2px 6px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 12px 50px rgba(123, 119, 198, 0.8),
            0 0 80px rgba(255, 119, 198, 0.7),
            0 0 100px rgba(0, 212, 255, 0.5),
            inset 0 2px 6px rgba(255, 255, 255, 0.4);
    }
}

.fab-main.active {
    transform: scale(1.1) rotate(180deg);
    background: linear-gradient(135deg, 
        rgba(255, 119, 198, 0.98) 0%, 
        rgba(123, 119, 198, 0.95) 50%,
        rgba(0, 212, 255, 0.9) 100%);
    animation: none;
    box-shadow: 
        0 15px 60px rgba(255, 119, 198, 0.8),
        0 0 100px rgba(123, 119, 198, 0.6),
        0 0 120px rgba(0, 212, 255, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

.fab-main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.fab-main:hover::before {
    width: 200%;
    height: 200%;
}

.fab-main:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 
        0 12px 48px rgba(123, 119, 198, 0.6),
        0 0 60px rgba(255, 119, 198, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.fab-main:active {
    transform: scale(0.95) rotate(90deg);
}

.fab-icon {
    font-size: 2.2rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.5)) 
            drop-shadow(0 0 20px rgba(255, 119, 198, 0.6));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fabIconRotate 4s linear infinite;
}

@keyframes fabIconRotate {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.fab-main:hover .fab-icon {
    transform: scale(1.2) rotate(45deg);
    animation: none;
}

.fab-main.active .fab-icon {
    animation: none;
    transform: rotate(180deg) scale(1.1);
}

.fab-menu {
    position: absolute;
    bottom: 0;
    right: 75px; /* Position to the left of FAB button */
    display: flex;
    flex-direction: row; /* Horizontal layout (left to right) */
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(0.8); /* Slide from right */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.fab-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) scale(1) !important; /* Slide to final position */
    pointer-events: all !important;
}

.fab-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(10, 10, 26, 0.98) 0%, 
        rgba(26, 10, 46, 0.95) 50%,
        rgba(10, 10, 26, 0.98) 100%);
    border: 2.5px solid rgba(123, 119, 198, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(123, 119, 198, 0.4),
        0 0 60px rgba(255, 119, 198, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    gap: 3px;
}

.fab-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 119, 198, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.fab-item:hover::before {
    width: 150%;
    height: 150%;
}

.fab-item:hover {
    transform: scale(1.2) translateY(-8px); /* Move up on hover (since menu is horizontal) */
    border-color: rgba(255, 119, 198, 0.8);
    box-shadow: 
        0 12px 48px rgba(123, 119, 198, 0.7),
        0 0 60px rgba(255, 119, 198, 0.6),
        0 0 80px rgba(0, 212, 255, 0.3),
        inset 0 2px 6px rgba(255, 255, 255, 0.25),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, 
        rgba(123, 119, 198, 0.3) 0%, 
        rgba(255, 119, 198, 0.25) 50%,
        rgba(0, 212, 255, 0.2) 100%);
}

.fab-item:active {
    transform: scale(1.05) translateY(-5px); /* Move up slightly on active */
}

.fab-item-icon {
    font-size: 1.8rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.4)) 
            drop-shadow(0 0 15px rgba(123, 119, 198, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.fab-item:hover .fab-item-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 25px rgba(255, 119, 198, 0.8));
}

.fab-item-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #d0d7e8;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(123, 119, 198, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.fab-item:hover .fab-item-label {
    color: #ff77c6;
    text-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(255, 119, 198, 0.8),
        0 0 25px rgba(255, 119, 198, 0.5);
    transform: scale(1.1);
}

/* Special styling for different FAB items */
.fab-scroll-top {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.25) 0%, 
        rgba(123, 119, 198, 0.2) 100%);
    border-color: rgba(0, 212, 255, 0.6);
}

.fab-scroll-top:hover {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.4) 0%, 
        rgba(123, 119, 198, 0.35) 100%);
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 
        0 12px 48px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.5),
        0 0 80px rgba(0, 212, 255, 0.3);
}

.fab-home {
    border-color: rgba(255, 215, 0, 0.6);
}

.fab-home:hover {
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 
        0 12px 48px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.3);
}

.fab-license {
    border-color: rgba(255, 119, 198, 0.6);
}

.fab-license:hover {
    border-color: rgba(255, 119, 198, 0.9);
    box-shadow: 
        0 12px 48px rgba(255, 119, 198, 0.6),
        0 0 60px rgba(255, 119, 198, 0.5);
}

.fab-login {
    border-color: rgba(138, 43, 226, 0.6);
}

.fab-login:hover {
    border-color: rgba(138, 43, 226, 0.9);
    box-shadow: 
        0 12px 48px rgba(138, 43, 226, 0.6),
        0 0 60px rgba(138, 43, 226, 0.5);
}

/* ================================================================
   RESPONSIVE DESIGN - TABLET
   ================================================================ */
@media (max-width: 768px) {
    .tabs-container {
        padding: 0 15px;
    }
    
    .tabs-container::before {
        top: -30px;
        left: -30px;
        right: -30px;
        bottom: -30px;
    }
    
    .tabs-nav {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .tab-button {
        padding: 14px 22px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .tab-content {
        padding: 20px;
        margin-top: 15px;
        border-radius: 12px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .action-card {
        padding: 20px 15px;
    }
    
    .action-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .action-card h3 {
        font-size: 1rem;
    }
    
    .action-card p {
        font-size: 0.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* Floating Menu Toggle - Show on mobile */
    .floating-menu-toggle {
        display: block !important;
        bottom: 100px !important; /* Above FAB which is at bottom: 20px */
        right: 20px !important;
        left: auto !important; /* Ensure it's on the right, not left */
        top: auto !important; /* Ensure it's at bottom, not top */
    }
    
    .floating-menu-toggle-btn {
        width: 58px;
        height: 58px;
    }
    
    .floating-menu-toggle-icon {
        font-size: 1.8rem;
    }
    
    /* FAB Responsive */
    .floating-action-button {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .fab-main {
        width: 58px;
        height: 58px;
    }
    
    .fab-icon {
        font-size: 1.75rem;
    }
    
    .fab-menu {
        bottom: 0;
        right: 70px; /* Position to the left of FAB button on tablet */
        gap: 10px;
    }
    
    .fab-item {
        width: 52px;
        height: 52px;
    }
    
    .fab-item-icon {
        font-size: 1.35rem;
    }
    
    .fab-item-label {
        font-size: 0.6rem;
    }
}

/* ================================================================
   RESPONSIVE DESIGN - MOBILE
   ================================================================ */
@media (max-width: 480px) {
    /* Floating Menu Toggle - Small mobile */
    .floating-menu-toggle {
        bottom: 90px !important; /* Above FAB which is at bottom: 15px */
        right: 15px !important;
        left: auto !important; /* Ensure it's on the right, not left */
        top: auto !important; /* Ensure it's at bottom, not top */
    }
    
    .floating-menu-toggle-btn {
        width: 54px;
        height: 54px;
    }
    
    .floating-menu-toggle-icon {
        font-size: 1.6rem;
    }
    
    .tabs-container::before {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
    }
    
    .tabs-nav {
        gap: 8px;
    }
    
    .tab-button {
        padding: 12px 18px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .tab-content {
        padding: 15px;
        margin-top: 12px;
        border-radius: 10px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 10px;
    }
    
    .action-card {
        padding: 20px 15px;
    }
    
    .action-icon {
        font-size: 2.5rem;
    }
    
    /* FAB Responsive */
    .floating-action-button {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .fab-main {
        width: 54px;
        height: 54px;
    }
    
    .fab-icon {
        font-size: 1.6rem;
    }
    
    .fab-menu {
        bottom: 0;
        right: 66px; /* Position to the left of FAB button on mobile */
        gap: 9px;
    }
    
    .fab-item {
        width: 50px;
        height: 50px;
    }
    
    .fab-item-icon {
        font-size: 1.25rem;
    }
    
    .fab-item-label {
        font-size: 0.58rem;
    }
}

/* ================================================================
   PRINT STYLES - HIDE FAB WHEN PRINTING
   ================================================================ */
@media print {
    .floating-action-button {
        display: none !important;
    }
}
