/* 
   FILE: assets/css/main.css 
   DESC: Unified Premium Design System for SPP JPNT
*/

/* ========================================= */
/* 1. VARIABLES & RESET (SLATE THEME) */
/* ========================================= */
:root {
    /* Colors */
    --primary-dark: #020617;
    /* Slate 950 - Sidebar/Header (Deepest) */
    --primary-main: #0f172a;
    /* Slate 900 - Primary Elements */
    --accent-blue: #2563eb;
    /* Royal Blue - Primary Action */
    --accent-hover: #1d4ed8;
    /* Darker Blue */
    --accent-light: #eff6ff;
    /* Light Blue Bg */
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;

    /* Backgrounds */
    --bg-body: #f1f5f9;
    /* Slate 100 */
    --bg-card: #ffffff;

    /* Text */
    --text-main: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #94a3b8;
    /* Slate 400 */

    /* Layout */
    --sidebar-width: 260px;
    --header-height: 70px;

    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    font-size: 0.925rem;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* GLOBAL TABLE RULES */
table thead th:first-child,
.th-bil {
    text-align: center !important;
}

/* ========================================= */
/* 2. LAYOUT STRUCTURE */
/* ========================================= */
.main-content-wrapper {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: relative;
}

.content-body {
    flex: 1;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================= */
/* 3. SIDEBAR (Premium Dark) */
/* ========================================= */
#mainSidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--primary-dark);
    color: var(--text-light);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
}

#mainSidebar::-webkit-scrollbar {
    width: 5px;
}

#mainSidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Sidebar Header */
.sb-header {
    padding: 1.5rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Toggle States (Desktop) */
#mainSidebar.collapsed {
    transform: translateX(-100%);
}

.main-content-wrapper.expanded {
    margin-left: 0;
}

.sb-logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.sb-title-box h6 {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
}

.sb-title-box span {
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Sidebar Links */
.sb-menu-wrapper {
    padding: 1rem;
    flex: 1;
}

.sb-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #475569;
    margin: 1.5rem 0 0.5rem 0.5rem;
}

.sb-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    margin-bottom: 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.sb-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    transform: translateX(3px);
}

.sb-link.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sb-icon {
    width: 24px;
    text-align: center;
    margin-right: 10px;
    font-size: 1rem;
}

.sb-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.sb-arrow.rotate-90 {
    transform: rotate(90deg);
}

/* Submenu */
.sb-submenu {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    margin-left: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
}

.sb-submenu.show {
    max-height: 500px;
    opacity: 1;
    margin: 4px 0 12px 0.5rem;
}

.sb-sublink {
    display: flex;
    align-items: center;
    padding: 8px 10px 8px 20px;
    color: #94a3b8;
    font-size: 0.85rem;
    transition: all 0.2s;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.sb-sublink:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

.sb-sublink::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #475569;
}

.sb-sublink.active {
    color: #60a5fa;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
}

.sb-sublink.active::before {
    background: #60a5fa;
    box-shadow: 0 0 8px #60a5fa;
}

/* ========================================= */
/* 4. NAVBAR (Glassmorphism) */
/* ========================================= */
.top-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: sticky;
    top: 1rem;
    z-index: 90;
}

.navbar-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.navbar-title-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
}

.navbar-main-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-main);
    margin: 0;
    letter-spacing: -0.5px;
}

.navbar-sub-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Profile Pill */
.profile-trigger {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 0.6rem 0.5rem 1rem;
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-trigger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.profile-text-box {
    text-align: right;
    margin-right: 1rem;
    line-height: 1.3;
}

.profile-name-text {
    display: block;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.profile-role-text {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.profile-kategori-text {
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    margin-left: 5px;
}

.profile-img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ========================================= */
/* 5. COMPONENTS (Cards, Tables, Buttons) */
/* ========================================= */

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--bg-body);
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: var(--primary-main);
}

.card-body {
    padding: 1.5rem;
}

/* Tables */
.table-responsive {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: white;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    padding: 1rem;
    white-space: nowrap;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.9rem;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Buttons */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-outline-primary:hover {
    background-color: var(--accent-blue);
    color: white;
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 6px;
}

/* Override Bootstrap Dark Background */
.bg-dark {
    background-color: var(--primary-dark) !important;
}

.text-dark {
    color: var(--primary-dark) !important;
}

/* ========================================= */
/* 6. RESPONSIVE UTILITIES */
/* ========================================= */
@media screen and (max-width: 992px) {
    .main-content-wrapper {
        margin-left: 0;
        padding: 1rem;
    }

    #mainSidebar {
        transform: translateX(-100%);
    }

    #mainSidebar.mobile-active {
        transform: translateX(0) !important;
        z-index: 9999 !important;
        /* On top of everything */
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0;
        bottom: 0;
        height: 100vh !important;
        width: 260px;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
    }

    /* Ensure Header is Visible in Sidebar for Context */
    .sb-header {
        display: flex !important;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        z-index: 9990 !important;
        /* Just below sidebar */
        display: none;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .sb-close-btn {
        display: block;
        margin-left: auto;
        cursor: pointer;
        padding: 5px;
    }
}

@media screen and (min-width: 993px) {
    .sb-close-btn {
        display: none;
    }
}

@media print {

    .sidebar,
    .navbar,
    .top-navbar,
    #mainSidebar,
    .no-print {
        display: none !important;
    }

    .main-content-wrapper {
        margin: 0;
        padding: 0;
    }

    body {
        background: white;
    }

    .table-responsive {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* ========================================= */
/* 7. FLOATING ACTION BUTTON (FAB) */
/* ========================================= */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
}

.btn-fab {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    border: none;
    background-color: var(--accent-blue);
    color: white;
}

.btn-fab:hover {
    transform: scale(1.1);
    background-color: var(--accent-hover);
    color: white;
}

.fab-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* ========================================= */
/* 8. INDEX PAGE UPGRADE (PREMIUM THEME) */
/* ========================================= */

/* Hero Section with Animated Gradient */
.hero-section-premium {
    background: linear-gradient(-45deg, #0f172a, #1e3a8a, #0f172a, #312e81);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    padding-top: 120px;
    padding-bottom: 160px;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 3D Stats Card (Floating Effect) */
.stat-card-premium {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.stat-card-premium:hover .stat-icon-circle {
    transform: rotate(15deg) scale(1.1);
}

/* Timeline/List Premium */
.timeline-item-premium {
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.timeline-item-premium:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--accent-blue);
    transform: translateX(5px);
}

.date-badge-premium {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    color: var(--primary-main);
}

/* Section Titles */
.section-title-premium {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    position: relative;
}

.section-title-premium::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
    margin-top: 5px;
    position: absolute;
    bottom: -10px;
    left: 0;
}


/* Premium Quick Access Cards */
.card-quick-access {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(112, 144, 176, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.card-quick-access::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-main), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s;
}

.card-quick-access:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(112, 144, 176, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-quick-access:hover::before {
    opacity: 1;
}

.qa-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #f8fafc;
    /* Fallback */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
    font-size: 1.8rem;
    color: white;
}

.card-quick-access:hover .qa-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.qa-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.qa-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

/* Premium Visitor Counter */
.visitor-counter-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -20px;
    /* Slight overlap or adjustment */
    margin-bottom: 40px;
}

.visitor-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 10px 30px 10px 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.visitor-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.visitor-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-main), var(--accent-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.visitor-text {
    text-align: right;
    line-height: 1;
}

.visitor-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Login Button (Refined - Premium Glass) */
.floating-login-btn {
    position: fixed;
    top: 15px;
    /* Aligned with Navbar Content (Center of 70px header) */
    right: 30px;
    height: 50px;
    width: 50px;
    background: rgba(255, 255, 255, 0.85);
    /* Glass Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-main);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    /* Reduce to 100 so it goes behind modal (1055) and backdrop (1050) */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-login-btn i {
    font-size: 1.2rem;
    min-width: 50px;
    /* Center Icon */
    display: flex;
    justify-content: center;
}

.floating-login-btn span {
    opacity: 0;
    max-width: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.9rem;
    transform: translateX(-10px);
}

.floating-login-btn:hover {
    width: 150px;
    /* Expand */
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}



/* Responsive Hero Slogan (Updates for larger Desktop) */
.hero-slogan {
    font-size: clamp(2rem, 5vw + 1rem, 6rem);
    line-height: 1.1;
    white-space: nowrap;
}

/* Floating Login Button (Nuclear Option: Max Z-Index) */
.floating-login-btn {
    position: fixed;
    top: 20px;
    /* Slightly lower to avoid top edge clipping */
    right: 30px;
    height: 50px;
    width: 50px;
    background: rgba(255, 255, 255, 0.95);
    /* More opaque */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-main);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2147483647 !important;
    /* MAX INTEGER Z-INDEX */
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    /* Thicker border */
    opacity: 1 !important;
    display: flex !important;
    pointer-events: auto !important;
    /* Ensure clickable */
}

.floating-login-btn i {
    font-size: 1.2rem;
    min-width: 50px;
    display: flex;
    justify-content: center;
}

.floating-login-btn span {
    opacity: 0;
    max-width: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.9rem;
    transform: translateX(-10px);
}

.floating-login-btn:hover {
    width: 150px;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.floating-login-btn:hover span {
    opacity: 1;
    max-width: 100px;
    transform: translateX(0);
    margin-right: 15px;
}