/* HaloIP Modern Design - Integrated with Homepage Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base HaloIP container with modern design */
.haloip-container {
    font-family: 'Inter', sans-serif;
    color: #111827;
    background-color: transparent;
}

/* Hero Section for HaloIP */
.haloip-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem 0;
    background: linear-gradient(to bottom, #f0fdfa, #ffffff);
}

.haloip-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.haloip-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #0d9488, #10b981, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.haloip-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation tabs */
.haloip-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.haloip-nav-item {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    background-color: #ffffff;
    color: #6b7280;
}

.haloip-nav-item:hover {
    border-color: #0d9488;
    color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.haloip-nav-item.active {
    background: linear-gradient(to right, #0d9488, #10b981);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* Ultra-modern engaging card design */
.haloip-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f0f9ff 100%);
    border: 1px solid rgba(13, 148, 136, 0.1);
    border-radius: 2rem;
    box-shadow:
        0 8px 32px rgba(13, 148, 136, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Animated gradient border */
.haloip-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0d9488, #10b981, #06b6d4, #8b5cf6, #ec4899, #0d9488);
    background-size: 300% 300%;
    border-radius: 2rem;
    z-index: -1;
    opacity: 0;
    animation: gradientShift 3s ease infinite;
    transition: opacity 0.3s ease;
}

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

/* Floating particles effect */
.haloip-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.haloip-card:hover::after {
    opacity: 1;
}

.haloip-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(5deg);
    box-shadow:
        0 25px 50px rgba(13, 148, 136, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 50%, #ecfdf5 100%);
    border-color: rgba(13, 148, 136, 0.3);
}

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

.haloip-card-body {
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 250, 252, 0.8) 50%,
        rgba(240, 253, 250, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    margin: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.haloip-card:hover .haloip-card-body {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(240, 253, 250, 0.9) 50%,
        rgba(236, 253, 245, 0.95) 100%);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 8px 32px rgba(13, 148, 136, 0.1);
}

/* Card header with gradient background */
.haloip-card-header {
    background: linear-gradient(135deg, #0d9488 0%, #10b981 50%, #06b6d4 100%);
    padding: 1.5rem 2rem 1rem 2rem;
    margin: -2rem -2rem 1.5rem -2rem;
    position: relative;
    overflow: hidden;
}

.haloip-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.haloip-card-header * {
    position: relative;
    z-index: 1;
}

/* Dynamic floating elements with morphing effects */
.haloip-card-floating {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d9488, #10b981, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 32px rgba(13, 148, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.haloip-card-floating::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #0d9488, #10b981, #06b6d4, #8b5cf6);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

.haloip-card:hover .haloip-card-floating {
    transform: rotate(360deg) scale(1.2);
    background: linear-gradient(135deg, #10b981, #06b6d4, #8b5cf6);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 2s ease-in-out infinite;
}

.haloip-card:hover .haloip-card-floating::before {
    opacity: 1;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Ultra-modern ticket code with holographic effect */
.haloip-ticket-code {
    font-weight: 800;
    color: #ffffff;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0d9488 0%, #10b981 50%, #06b6d4 100%);
    border-radius: 2rem;
    display: inline-block;
    box-shadow:
        0 4px 20px rgba(13, 148, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.haloip-ticket-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent);
    transition: left 0.8s ease;
    animation: shimmer 3s ease-in-out infinite;
}

.haloip-card:hover .haloip-ticket-code::before {
    left: 100%;
}

.haloip-ticket-code::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0d9488, #10b981, #06b6d4, #8b5cf6, #ec4899);
    background-size: 300% 300%;
    border-radius: 2rem;
    z-index: -1;
    opacity: 0;
    animation: gradientShift 2s ease infinite;
    transition: opacity 0.3s ease;
}

.haloip-card:hover .haloip-ticket-code::after {
    opacity: 0.7;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Dynamic card title with animated gradient */
.haloip-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #0d9488, #10b981, #06b6d4, #8b5cf6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 4s ease-in-out infinite;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.haloip-card:hover .haloip-card-title {
    animation-duration: 1s;
    transform: translateY(-2px);
}

.haloip-card-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #10b981, #06b6d4);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.haloip-card:hover .haloip-card-title::after {
    width: 100%;
}

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

/* Ultra-dynamic status badges with particle effects */
.haloip-status {
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.haloip-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 20%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 60%,
        transparent 80%);
    transform: translateX(-100%) skewX(-20deg);
    transition: transform 0.8s ease;
}

.haloip-card:hover .haloip-status::before {
    transform: translateX(100%) skewX(-20deg);
}

.haloip-status-pending {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #ffffff;
    box-shadow:
        0 4px 20px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.haloip-status-in_progress {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 50%, #c2410c 100%);
    color: #ffffff;
    box-shadow:
        0 4px 20px rgba(251, 146, 60, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.haloip-status-completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #ffffff;
    box-shadow:
        0 4px 20px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Animated status indicator */
.haloip-status::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.haloip-card:hover .haloip-status {
    transform: scale(1.05) translateY(-2px);
}

.haloip-card:hover .haloip-status::after {
    animation-duration: 0.5s;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

/* Standardized button system matching KMS normal size - Static appearance */
.haloip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    gap: 0.375rem;
    position: relative;
    text-transform: none;
    white-space: nowrap;
}

/* Legacy large button support for backward compatibility - Static appearance */
.haloip-btn-lg {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 2rem;
    gap: 0.75rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Static button appearance - no hover effects */
.haloip-btn:active {
    transform: translateY(0);
}

/* Static large button appearance - no hover effects */
.haloip-btn-lg:active {
    transform: translateY(0);
}

/* Back to HaloIP button - matches KMS normal button size - Static appearance */
.haloip-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Primary button (teal theme) - Static appearance */
.haloip-btn-primary {
    background: linear-gradient(to right, #0d9488, #10b981);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25);
}

/* Secondary button - Static appearance */
.haloip-btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Success button - Static appearance */
.haloip-btn-success {
    background: linear-gradient(to right, #10b981, #34d399);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
}

/* Info button - Static appearance */
.haloip-btn-info {
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.25);
}

/* Warning button - Static appearance */
.haloip-btn-warning {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25);
}

/* Danger button - Static appearance */
.haloip-btn-danger {
    background: linear-gradient(to right, #ef4444, #f87171);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
}

/* Outline button - Static appearance */
.haloip-btn-outline {
    background-color: transparent;
    color: #0d9488;
    border: 2px solid #0d9488;
}

/* Button sizes */
.haloip-btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.haloip-btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* Filter section */
.haloip-filter {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Form controls */
.haloip-form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.haloip-form-control:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.haloip-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Action buttons container */
.haloip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

/* Interactive card content with spectacular effects */
.haloip-card-info {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin: 0.25rem -1rem;
}

.haloip-card-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(13, 148, 136, 0.1),
        rgba(16, 185, 129, 0.15),
        rgba(13, 148, 136, 0.1),
        transparent);
    transition: left 0.5s ease;
}

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

.haloip-card-info:hover {
    background: linear-gradient(135deg,
        rgba(13, 148, 136, 0.08),
        rgba(16, 185, 129, 0.12),
        rgba(6, 182, 212, 0.08));
    transform: translateX(8px) scale(1.02);
    box-shadow:
        0 4px 20px rgba(13, 148, 136, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-left: 3px solid #0d9488;
}

.haloip-card-info svg {
    color: #0d9488;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(13, 148, 136, 0.2));
}

.haloip-card-info:hover svg {
    transform: scale(1.2) rotate(5deg);
    color: #0f766e;
    filter: drop-shadow(0 4px 8px rgba(13, 148, 136, 0.4));
}

/* Text glow effect on hover */
.haloip-card-info span {
    transition: all 0.3s ease;
}

.haloip-card-info:hover span {
    text-shadow: 0 0 10px rgba(13, 148, 136, 0.3);
}

/* Enhanced grid layout */
.haloip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Spectacular staggered entrance animations */
.haloip-card {
    animation: spectacularEntrance 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateY(50px) rotateX(20deg) scale(0.9);
}

.haloip-card:nth-child(1) { animation-delay: 0.1s; }
.haloip-card:nth-child(2) { animation-delay: 0.2s; }
.haloip-card:nth-child(3) { animation-delay: 0.3s; }
.haloip-card:nth-child(4) { animation-delay: 0.4s; }
.haloip-card:nth-child(5) { animation-delay: 0.5s; }
.haloip-card:nth-child(6) { animation-delay: 0.6s; }
.haloip-card:nth-child(7) { animation-delay: 0.7s; }
.haloip-card:nth-child(8) { animation-delay: 0.8s; }
.haloip-card:nth-child(9) { animation-delay: 0.9s; }

/* Magnetic hover effect */
.haloip-card {
    cursor: pointer;
}

.haloip-card:hover {
    animation: magneticFloat 2s ease-in-out infinite;
}

/* Card tilt effect on mouse move */
.haloip-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Glowing border effect */
.haloip-card {
    border: 1px solid transparent;
    background-clip: padding-box;
}

.haloip-card:hover {
    border-image: linear-gradient(45deg, #0d9488, #10b981, #06b6d4, #8b5cf6) 1;
    border-image-slice: 1;
}

@keyframes spectacularEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(20deg) scale(0.9);
        filter: blur(5px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) rotateX(-5deg) scale(1.05);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0px);
    }
}

@keyframes magneticFloat {
    0%, 100% { transform: translateY(-12px) scale(1.03) rotateX(5deg); }
    50% { transform: translateY(-16px) scale(1.04) rotateX(3deg); }
}

/* Static button SVG icons - no hover effects */
.haloip-btn svg {
    /* No transitions or hover effects */
}

/* Responsive design */
@media (min-width: 640px) {
    .haloip-actions {
        justify-content: flex-start;
    }

    .haloip-nav {
        gap: 1.5rem;
    }

    .haloip-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (min-width: 768px) {
    .haloip-title {
        font-size: 3rem;
    }

    .haloip-subtitle {
        font-size: 1.25rem;
    }

    .haloip-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .haloip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ambient background effects */
.haloip-container {
    position: relative;
    overflow: hidden;
}

.haloip-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 20%, rgba(13, 148, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    animation: ambientFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* ===== TABLE LAYOUT STYLES ===== */

/* Enhanced Table Design - Static Rows (No Hover Effects) */
.haloip-table tbody tr {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    transition: none !important; /* Remove all transitions */
}

/* Completely static table rows - no hover effects */
.haloip-table tbody tr:hover {
    background-color: #ffffff !important; /* Keep same background */
    transform: none !important; /* No transform */
    box-shadow: none !important; /* No shadow */
    border-color: #e5e7eb !important; /* Keep same border */
}

/* Static pagination styling - no hover effects */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    color: #0d9488;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    margin: 0 0.125rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background-color: #0d9488;
    border-color: #0d9488;
    color: #ffffff;
}

.pagination .page-item.disabled .page-link {
    color: #9ca3af;
    background-color: #f9fafb;
    border-color: #e5e7eb;
}

/* Enhanced responsive design with Tailwind CSS integration */
@media (max-width: 768px) {
    /* Force all parent containers to allow full width - compatible with Tailwind */
    .container,
    .haloip-container,
    .mx-auto,
    .px-4 {
        max-width: none !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        width: 100% !important;
    }

    /* Ensure the main content area doesn't constrain width */
    main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: visible !important;
    }

    /* Enhanced table container for better mobile scrolling */
    .haloip-table-container {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        /* Tailwind-compatible responsive utilities */
        @apply relative;
        /* Enhanced touch scrolling */
        scroll-snap-type: x proximity;
        scroll-padding: 1rem;
    }

    /* Ensure table cells snap properly on mobile */
    .haloip-table th:first-child,
    .haloip-table td:first-child {
        scroll-snap-align: start;
    }
}

/* Table container with clean, professional styling and enhanced mobile optimization */
.haloip-table-container {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin-top: 2rem !important;
    transition: box-shadow 0.3s ease !important;
    position: relative !important;
    /* Enhanced touch scrolling for all devices */
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    /* Prevent momentum scrolling bounce on iOS */
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: auto !important;
    /* CSS custom properties for dynamic scroll indicators */
    --scroll-left-opacity: 0;
    --scroll-right-opacity: 1;
    /* Ensure minimum width for horizontal scrolling */
    min-width: 100% !important;
    /* Force scrolling on all devices */
    max-width: 100% !important;
    width: 100% !important;
    /* Tailwind-compatible responsive enhancements */
    @apply shadow-lg;
    /* Enhanced wheel scrolling support */
    touch-action: pan-x pan-y;
    /* Improved scrollbar visibility on mobile */
    scrollbar-gutter: stable;
    /* Ensure wheel events are captured */
    pointer-events: auto !important;
    /* Better focus handling for wheel events */
    outline: none;
}

/* Static table container - no hover effects */

/* Default scrollbar styling for all screen sizes */
.haloip-table-container::-webkit-scrollbar {
    height: 8px;
}

.haloip-table-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.haloip-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
    border-radius: 4px;
    border: 1px solid #f1f5f9;
}

/* Static scrollbar thumb - no hover effects */

/* Firefox scrollbar styling */
.haloip-table-container {
    scrollbar-width: thin;
    scrollbar-color: #0d9488 #f1f5f9;
}

/* Mobile scroll indicator */
.haloip-table-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #0d9488;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@media (max-width: 768px) {
    .haloip-table-container::after {
        opacity: 0.6;
    }

    /* Static mobile indicator - no hover effects */
}

/* Main table styling with enhanced responsive design */
.haloip-table {
    width: 100% !important;
    min-width: 1000px !important; /* Force table to be wider than most mobile screens */
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    table-layout: fixed !important; /* Ensure consistent column widths */
    /* Tailwind-compatible responsive utilities */
    @apply w-full;
    /* Enhanced mobile responsiveness */
    scroll-margin: 1rem;
}

/* Table header with refined gradient */
.haloip-table thead {
    background: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
    position: relative;
}

.haloip-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.haloip-table th:first-child {
    border-top-left-radius: 1rem;
}

.haloip-table th:last-child {
    border-top-right-radius: 1rem;
}

/* Table body with static appearance - no hover effects */
.haloip-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    background: #ffffff;
}

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

.haloip-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.haloip-table td {
    padding: 1.125rem 1rem;
    vertical-align: top;
    border: none;
    font-size: 0.875rem;
    line-height: 1.6;
    position: relative;
}

/* Table cell content styling with cleaner design - Static appearance */
.haloip-table-code {
    font-weight: 700;
    color: #0d9488;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    background: #f0fdfa;
    border-radius: 0.375rem;
    display: inline-block;
    border: 1px solid #99f6e4;
    margin-bottom: 0.375rem;
}

.haloip-table-title {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
    margin-bottom: 0.375rem;
    line-height: 1.5;
}

.haloip-table-meta {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.5;
}

.haloip-table-meta strong {
    color: #374151;
    font-weight: 600;
}

.haloip-table-status {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    border: 1px solid transparent;
}

.haloip-table-status.status-pending {
    background: #fef3c7;
    color: #92400e;
    border-color: #fbbf24;
}

.haloip-table-status.status-in_progress {
    background: #fed7aa;
    color: #9a3412;
    border-color: #fb923c;
}

.haloip-table-status.status-completed {
    background: #d1fae5;
    color: #065f46;
    border-color: #34d399;
}

/* Action buttons in table - Static appearance */
.haloip-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.haloip-table-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.375rem;
    text-decoration: none;
    gap: 0.375rem;
    border: 1px solid;
    white-space: nowrap;
    cursor: pointer;
}

.haloip-table-btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.haloip-table-btn-primary {
    background: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.haloip-table-btn-secondary {
    background: #f9fafb;
    color: #374151;
    border-color: #d1d5db;
}

.haloip-table-btn-outline {
    background: transparent;
    color: #0d9488;
    border-color: #0d9488;
}

/* Enhanced responsive table design for better mobile experience */
@media (max-width: 1200px) {
    .haloip-table th:nth-child(3),
    .haloip-table td:nth-child(3) {
        display: none; /* Hide location column on smaller screens */
    }
}

@media (max-width: 1024px) {
    .haloip-table-container {
        border-radius: 1rem;
        margin: 1rem 0.5rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* Enhanced scrollbar styling for tablets */
        scrollbar-width: thin;
        scrollbar-color: #0d9488 #f1f5f9;
    }

    .haloip-table-container::-webkit-scrollbar {
        height: 10px;
    }

    .haloip-table-container::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 5px;
        margin: 0 0.5rem;
    }

    .haloip-table-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
        border-radius: 5px;
        border: 1px solid #f1f5f9;
    }

    /* Static scrollbar thumb - no hover effects */

    .haloip-table {
        min-width: 900px; /* Ensure adequate space for all columns */
    }

    .haloip-table th,
    .haloip-table td {
        padding: 0.875rem 0.625rem;
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .haloip-table-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.375rem;
    }

    .haloip-table-btn {
        justify-content: center;
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
        min-height: 2.5rem;
    }
}

@media (max-width: 768px) {
    .haloip-table-container {
        border-radius: 0.75rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 1rem 0.25rem !important;
        position: relative !important;
        /* Enhanced scrollbar styling for mobile */
        scrollbar-width: thin !important;
        scrollbar-color: #0d9488 #f1f5f9 !important;
        /* Add smooth scrolling behavior */
        scroll-behavior: smooth !important;
        /* Force container to allow scrolling */
        max-width: calc(100vw - 2rem) !important;
        width: calc(100vw - 2rem) !important;
        /* Tailwind-compatible mobile enhancements */
        @apply rounded-xl;
        /* Better touch interaction */
        touch-action: pan-x pinch-zoom;
        /* Improved momentum scrolling */
        scroll-snap-type: x proximity;
        /* Enhanced accessibility */
        scroll-padding-left: 1rem;
        scroll-padding-right: 1rem;
    }

    /* Enhanced mobile scrollbar with gradient and better visibility */
    .haloip-table-container::-webkit-scrollbar {
        height: 16px !important; /* Make scrollbar more visible on mobile */
        display: block !important;
    }

    .haloip-table-container::-webkit-scrollbar-track {
        background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%) !important;
        border-radius: 8px !important;
        margin: 0 0.5rem !important;
        border: 2px solid #e2e8f0 !important;
    }

    .haloip-table-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #0d9488 0%, #10b981 50%, #0d9488 100%) !important;
        border-radius: 8px !important;
        border: 3px solid #f1f5f9 !important;
        box-shadow: 0 3px 6px rgba(13, 148, 136, 0.5) !important;
        min-width: 50px !important; /* Ensure thumb is large enough for touch */
    }

    /* Static scrollbar thumb - no hover effects */

    .haloip-table-container::-webkit-scrollbar-thumb:active {
        background: linear-gradient(135deg, #134e4a 0%, #047857 50%, #134e4a 100%) !important;
        box-shadow: 0 2px 4px rgba(13, 148, 136, 0.7) !important;
    }

    /* Force scrollbar to always be visible on mobile */
    .haloip-table-container::-webkit-scrollbar-corner {
        background: transparent !important;
    }

    /* Touch-friendly scroll indicators with dynamic opacity */
    .haloip-table-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
        pointer-events: none;
        z-index: 1;
        opacity: var(--scroll-left-opacity, 0);
        transition: opacity 0.3s ease;
    }

    .haloip-table-container::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
        pointer-events: none;
        z-index: 1;
        opacity: var(--scroll-right-opacity, 1);
        transition: opacity 0.3s ease;
    }

    .haloip-table {
        min-width: 1200px !important; /* Force table to be much wider than mobile screens */
        width: 1200px !important; /* Fixed width to ensure horizontal scrolling */
        /* Enhanced mobile table styling */
        @apply table-fixed;
        /* Better column distribution */
        table-layout: fixed !important;
    }

    .haloip-table th,
    .haloip-table td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        /* Ensure text doesn't wrap and shows ellipsis */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        /* Touch-friendly minimum width */
        min-width: 120px !important;
    }

    /* Enhanced pagination for mobile */
    .pagination {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.25rem !important;
        margin-top: 1.5rem !important;
        padding: 0 1rem !important;
    }

    .pagination .page-link {
        padding: 0.625rem 0.875rem !important;
        font-size: 0.875rem !important;
        min-width: 44px !important; /* Touch-friendly minimum size */
        min-height: 44px !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0.5rem !important;
        margin: 0.125rem !important;
    }

    /* Touch-friendly action buttons */
    .haloip-table-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        min-width: 140px !important;
    }

    .haloip-table-btn {
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.8rem !important;
        min-height: 44px !important; /* Touch-friendly height */
        white-space: nowrap !important;
        border-radius: 0.5rem !important;
    }
        white-space: nowrap !important;
        min-width: 150px !important; /* Force minimum column width */
        /* Tailwind-compatible responsive text */
        @apply text-sm;
        /* Better text wrapping for mobile */
        word-break: break-word;
        /* Enhanced touch targets */
        min-height: 44px; /* iOS recommended touch target size */
    }

    /* Specific column widths to ensure horizontal scrolling */
    .haloip-table th:nth-child(1),
    .haloip-table td:nth-child(1) {
        min-width: 250px !important; /* Permintaan & Detail */
    }

    .haloip-table th:nth-child(2),
    .haloip-table td:nth-child(2) {
        min-width: 200px !important; /* Pengaju & Jenis Peta */
    }

    .haloip-table th:nth-child(3),
    .haloip-table td:nth-child(3) {
        min-width: 150px !important; /* Lokasi */
    }

    .haloip-table th:nth-child(4),
    .haloip-table td:nth-child(4) {
        min-width: 200px !important; /* Status & IT Staff */
    }

    .haloip-table th:nth-child(5),
    .haloip-table td:nth-child(5) {
        min-width: 150px !important; /* Tanggal */
    }

    .haloip-table th:nth-child(6),
    .haloip-table td:nth-child(6) {
        min-width: 200px !important; /* Aksi */
    }

    .haloip-table-code {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
        margin-bottom: 0.5rem;
        white-space: nowrap;
    }

    .haloip-table-title {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.375rem;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .haloip-table-meta {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .haloip-table-status {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
    }

    /* Improved action buttons for mobile */
    .haloip-table-actions {
        min-width: 160px;
        gap: 0.5rem;
        flex-direction: column;
    }

    .haloip-table-btn {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
        min-height: 2.75rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .haloip-table-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 640px) {
    .haloip-table-container {
        margin: 0.75rem 0.125rem;
        border-radius: 0.5rem;
        /* Enhanced scrollbar for small screens */
        scrollbar-width: auto;
        scrollbar-color: #0d9488 #e2e8f0;
    }

    .haloip-table-container::-webkit-scrollbar {
        height: 14px;
    }

    .haloip-table-container::-webkit-scrollbar-track {
        background: linear-gradient(90deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
        border-radius: 7px;
        margin: 0 0.25rem;
        border: 1px solid #cbd5e1;
    }

    .haloip-table-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #0d9488 0%, #10b981 50%, #0d9488 100%);
        border-radius: 7px;
        border: 2px solid #e2e8f0;
        box-shadow: 0 3px 6px rgba(13, 148, 136, 0.4);
    }

    /* Static scrollbar thumb - no hover effects */

    /* Enhanced touch indicators for small screens */
    .haloip-table-container::before {
        width: 30px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
        opacity: var(--scroll-left-opacity, 0);
    }

    .haloip-table-container::after {
        width: 30px;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
        opacity: var(--scroll-right-opacity, 1);
    }

    .haloip-table {
        min-width: 750px; /* Optimized for very small screens */
    }

    .haloip-table th:nth-child(4),
    .haloip-table td:nth-child(4) {
        display: none; /* Hide status column on very small screens */
    }

    .haloip-table th,
    .haloip-table td {
        padding: 0.625rem 0.375rem;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .haloip-table-code {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.375rem;
        max-width: 120px;
    }

    .haloip-table-title {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        max-width: 150px;
    }

    .haloip-table-meta {
        font-size: 0.75rem;
        line-height: 1.3;
        max-width: 140px;
    }

    .haloip-table-status {
        font-size: 0.7rem;
        padding: 0.375rem 0.625rem;
    }

    .haloip-table-actions {
        min-width: 140px;
    }

    .haloip-table-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.7rem;
        min-height: 2.5rem;
    }

    .haloip-table-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* Extra small devices (phones in portrait mode) */
@media (max-width: 480px) {
    .haloip-table-container {
        margin: 0.5rem 0;
        border-radius: 0.375rem;
        /* Maximum touch-friendly scrollbar */
        scrollbar-width: auto;
        scrollbar-color: #0d9488 #cbd5e1;
    }

    .haloip-table-container::-webkit-scrollbar {
        height: 16px;
    }

    .haloip-table-container::-webkit-scrollbar-track {
        background: linear-gradient(90deg, #f1f5f9 0%, #cbd5e1 50%, #f1f5f9 100%);
        border-radius: 8px;
        margin: 0 0.125rem;
        border: 2px solid #94a3b8;
    }

    .haloip-table-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #0d9488 0%, #10b981 30%, #059669 70%, #0d9488 100%);
        border-radius: 8px;
        border: 3px solid #cbd5e1;
        box-shadow: 0 4px 8px rgba(13, 148, 136, 0.5);
        min-width: 40px;
    }

    /* Static scrollbar thumb - no hover effects */

    .haloip-table-container::-webkit-scrollbar-thumb:active {
        background: linear-gradient(135deg, #134e4a 0%, #047857 30%, #065f46 70%, #134e4a 100%);
        box-shadow: 0 2px 4px rgba(13, 148, 136, 0.7);
    }

    /* Maximum touch indicators for extra small screens */
    .haloip-table-container::before {
        width: 40px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, transparent 100%);
        opacity: var(--scroll-left-opacity, 0);
    }

    .haloip-table-container::after {
        width: 40px;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.98) 0%, transparent 100%);
        opacity: var(--scroll-right-opacity, 1);
    }

    .haloip-table {
        min-width: 680px;
    }

    .haloip-table th,
    .haloip-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }

    .haloip-table-code {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        max-width: 100px;
    }

    .haloip-table-title {
        font-size: 0.8rem;
        max-width: 120px;
    }

    .haloip-table-meta {
        font-size: 0.7rem;
        max-width: 110px;
    }

    .haloip-table-btn {
        padding: 0.5rem 0.625rem;
        font-size: 0.65rem;
        min-height: 2.25rem;
    }
}

/* Empty state for table */
.haloip-table-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 1rem;
    margin: 1rem;
    border: 1px solid #f3f4f6;
}

.haloip-table-empty svg {
    margin: 0 auto 1rem;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

.haloip-table-empty p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Table loading animation */
.haloip-table-loading {
    opacity: 0;
    animation: fadeInTable 0.6s ease-out forwards;
}

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

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

/* Table row entrance animation - subtle and professional */
.haloip-table tbody tr {
    animation: fadeInRow 0.3s ease-out forwards;
    opacity: 0;
}

.haloip-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.haloip-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.haloip-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.haloip-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.haloip-table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.haloip-table tbody tr:nth-child(6) { animation-delay: 0.3s; }
.haloip-table tbody tr:nth-child(7) { animation-delay: 0.35s; }
.haloip-table tbody tr:nth-child(8) { animation-delay: 0.4s; }
.haloip-table tbody tr:nth-child(9) { animation-delay: 0.45s; }

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

/* Enhanced touch interaction styles for mobile devices */
@media (hover: none) and (pointer: coarse) {
    /* Touch device specific styles */
    .haloip-table-container {
        /* Increase touch target size for scrollbar */
        scrollbar-width: auto;
    }

    .haloip-table-container::-webkit-scrollbar {
        height: 18px;
    }

    .haloip-table-container::-webkit-scrollbar-thumb {
        min-width: 50px;
        border: 3px solid #f1f5f9;
    }

    .haloip-table-btn {
        /* Increase touch targets for buttons */
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1rem;
    }

    /* Static touch interactions - no visual feedback */
    .haloip-table-btn:active {
        transform: none;
    }

    .haloip-table-container::-webkit-scrollbar-thumb:active {
        transform: scaleY(1.1);
        transition: transform 0.1s ease;
    }
}

/* Accessibility improvements for keyboard navigation */
.haloip-table-container:focus-within {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.haloip-table-btn:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Smooth scrolling behavior for programmatic scrolling */
.haloip-table-container.smooth-scroll {
    scroll-behavior: smooth;
}

/* Loading state for table content */
.haloip-table-container.loading {
    pointer-events: none;
    opacity: 0.7;
}

.haloip-table-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.haloip-table-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #0d9488;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

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

/* Floating particles */
.haloip-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #0d9488, #10b981);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s linear infinite;
    pointer-events: none;
}

.haloip-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.haloip-particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.haloip-particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.haloip-particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.haloip-particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.haloip-particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.haloip-particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.haloip-particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.haloip-particle:nth-child(9) { left: 90%; animation-delay: 16s; }

@keyframes ambientFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

/* Enhanced card interaction */
.haloip-card {
    will-change: transform;
}

.haloip-card:hover {
    z-index: 10;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for cards */
.haloip-card.loading {
    animation: cardLoading 1.5s ease-in-out infinite;
}

@keyframes cardLoading {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Backward compatibility with existing ticketing classes */
.ticketing .ticket-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Static ticket card - no hover effects */

.ticketing .ticket-body {
    padding: 1.5rem;
}

.ticketing .ticket-code {
    font-weight: 600;
    color: #0d9488;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(to right, #f0fdfa, #ecfdf5);
    border-radius: 0.375rem;
    display: inline-block;
    border: 1px solid #a7f3d0;
}

.ticketing .ticketing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    text-decoration: none;
    cursor: pointer;
    gap: 0.5rem;
}

.ticketing .ticketing-btn-primary {
    background: linear-gradient(to right, #0d9488, #10b981);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25);
}

.ticketing .ticketing-btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.ticketing .ticketing-btn-success {
    background: linear-gradient(to right, #10b981, #34d399);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
}

.ticketing .ticketing-btn-info {
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.25);
}

.ticketing .ticketing-btn-warning {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25);
}

.ticketing .ticketing-btn-danger {
    background: linear-gradient(to right, #ef4444, #f87171);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
}

.ticketing .ticketing-btn-outline-primary {
    background-color: transparent;
    color: #0d9488;
    border: 2px solid #0d9488;
}

.ticketing .ticketing-btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.ticketing .ticketing-btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.ticketing .status-pending {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.ticketing .status-in_progress {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #fed7aa;
    color: #c2410c;
    border: 1px solid #fb923c;
}

.ticketing .status-completed {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

/* ===== ENHANCED RESPONSIVE UTILITIES ===== */
/* Tailwind-compatible responsive table utilities */
.haloip-responsive-table-wrapper {
    @apply w-full overflow-x-auto;
    /* Enhanced mobile scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
}

/* Mobile-first responsive breakpoints */
@media (max-width: 640px) {
    .haloip-table-container {
        @apply mx-1 rounded-lg;
        width: calc(100vw - 0.5rem) !important;
        max-width: calc(100vw - 0.5rem) !important;
    }

    .haloip-table {
        min-width: 800px !important; /* Smaller minimum for very small screens */
    }

    .haloip-table th,
    .haloip-table td {
        @apply px-2 py-3 text-xs;
        min-width: 120px !important;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
    .haloip-table-container {
        @apply mx-2 rounded-xl;
    }

    .haloip-table {
        min-width: 1000px !important;
    }

    .haloip-table th,
    .haloip-table td {
        @apply px-3 py-4 text-sm;
        min-width: 140px !important;
    }
}

/* Desktop responsive adjustments */
@media (min-width: 1025px) {
    .haloip-table-container {
        @apply mx-auto rounded-2xl;
        max-width: none !important;
        width: 100% !important;
        /* Enhanced wheel scrolling for desktop */
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
    }

    .haloip-table {
        min-width: 100% !important;
        width: 100% !important;
    }

    .haloip-table th,
    .haloip-table td {
        @apply px-4 py-5 text-base;
        min-width: auto !important;
        white-space: normal !important;
    }
}

/* ===== ENHANCED WHEEL SCROLLING SUPPORT ===== */
/* Ensure wheel events work properly across all browsers */
.haloip-table-container {
    /* Firefox specific wheel handling */
    -moz-user-select: none;
    /* Webkit specific wheel handling */
    -webkit-user-select: none;
    /* Standard user select */
    user-select: none;
    /* Ensure container can receive wheel events */
    position: relative;
    z-index: 1;
}

/* Prevent text selection during wheel scrolling */
.haloip-table-container:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Enhanced scrollbar for better wheel interaction feedback */
.haloip-table-container::-webkit-scrollbar {
    height: 12px;
    background: #f8fafc;
}

.haloip-table-container::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    border-radius: 6px;
    margin: 0 0.5rem;
}

.haloip-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
    border-radius: 6px;
    border: 2px solid #f8fafc;
    transition: all 0.2s ease;
}

/* Static scrollbar thumb - no hover effects */

.haloip-table-container::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #134e4a 0%, #047857 100%);
}
