/*style.css*/
:root {
    --primary-color: #0d9488;
    --primary-gradient: linear-gradient(135deg, #0d9488, #14b8a6);
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --bg-color: #0f172a;
    --panel-color: #1e293b;
    --input-bg: #334155;
    --input-text: #f1f5f9;
    --success-color: #10b981;
    --button-hover: #0f766e;
    --glow-color: rgba(13, 148, 136, 0.4);
    --border-color: rgba(13, 148, 136, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(13, 148, 136, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(20, 184, 166, 0.08) 0%, transparent 25%),
        linear-gradient(60deg, rgba(13, 148, 136, 0.03) 25%, transparent 25.5%),
        linear-gradient(120deg, rgba(20, 184, 166, 0.03) 25%, transparent 25.5%),
        linear-gradient(180deg, rgba(13, 148, 136, 0.03) 25%, transparent 25.5%),
        linear-gradient(240deg, rgba(20, 184, 166, 0.03) 25%, transparent 25.5%),
        linear-gradient(300deg, rgba(13, 148, 136, 0.03) 25%, transparent 25.5%),
        linear-gradient(360deg, rgba(20, 184, 166, 0.03) 25%, transparent 25.5%);
    background-size: auto, auto, 60px 60px, 60px 60px, 60px 60px, 60px 60px, 60px 60px, 60px 60px;
    background-position: center, center, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { background-size: auto, auto, 60px 60px, 60px 60px, 60px 60px, 60px 60px, 60px 60px, 60px 60px; }
    50% { background-size: auto, auto, 70px 70px, 70px 70px, 70px 70px, 70px 70px, 70px 70px, 70px 70px; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, 
            rgba(13, 148, 136, 0.02) 25%, 
            transparent 25%, 
            transparent 75%, 
            rgba(13, 148, 136, 0.02) 75%
        );
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
    animation: patternMove 60s linear infinite;
}

.cursor-glow {
    position: fixed;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(13, 148, 136, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    filter: blur(30px);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        width: 250px;
        height: 250px;
    }
    50% {
        opacity: 0.8;
        width: 280px;
        height: 280px;
    }
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0%,
        var(--primary-color) 5%,
        transparent 10%
    );
    animation: rotate 15s linear infinite;
    z-index: -1;
    opacity: 0.05;
}

.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 0% 100%, rgba(20, 184, 166, 0.1) 0%, transparent 25%),
        repeating-linear-gradient(45deg, 
            rgba(13, 148, 136, 0.01) 0%, 
            rgba(13, 148, 136, 0.01) 1%, 
            transparent 1%, 
            transparent 4%
        );
    pointer-events: none;
    border-radius: 1.5rem;
    z-index: -1;
    animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
    0% {
        background-position: 0% 0%;
        opacity: 0.5;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.8;
    }
    100% {
        background-position: 0% 0%;
        opacity: 0.5;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.title {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(13, 148, 136, 0.3);
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 1rem;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .app-container {
        grid-template-columns: 1fr;
    }
    .title {
        font-size: 2.5rem;
    }
}

.form-panel, .results-panel {
    background-color: rgba(30, 41, 59, 0.6);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 148, 136, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.form-panel:hover, .results-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.form-panel::before, .results-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 50% 50%, 
            rgba(13, 148, 136, 0.03) 0%, 
            transparent 50%
        ),
        repeating-linear-gradient(0deg,
            transparent 0%,
            transparent 49%,
            rgba(13, 148, 136, 0.02) 50%,
            transparent 51%,
            transparent 100%
        );
    background-size: 100% 100%, 20px 20px;
    opacity: 0.5;
    z-index: -1;
    animation: panelPatternRotate 30s linear infinite;
}

@keyframes panelPatternRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

.panel-title {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
    color: #f1f5f9;
    position: relative;
    padding-bottom: 10px;
}

.panel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.75rem;
}

.bin-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.bin-input-wrapper {
    flex: 1;
    position: relative;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 70px;
}

.card-image {
    max-width: 60px;
    height: auto;
    border-radius: 6px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #cbd5e1;
    font-size: 0.95rem;
}

input, select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #475569;
    border-radius: 0.75rem;
    background-color: var(--input-bg);
    color: var(--input-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 1.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn i {
    font-size: 1.1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.5s;
    transform: skewX(-15deg);
}

.btn:hover::before {
    transform: skewX(-15deg) translateX(200%);
}

.generate-btn {
    margin-top: 1rem;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}

.copy-btn, .download-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
    margin-top: 1.5rem;
}

.copy-btn:hover, .download-btn:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.download-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.results-panel {
    display: flex;
    flex-direction: column;
}

.cards-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cards-panel {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    border: 1px solid #475569;
    border-radius: 0.75rem;
    background-color: rgba(51, 65, 85, 0.5);
    font-family: monospace;
    font-size: 0.95rem;
    max-height: 250px;
    line-height: 1.7;
}

.cards-panel::-webkit-scrollbar {
    width: 8px;
}

.cards-panel::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 10px;
}

.cards-panel::-webkit-scrollbar-thumb {
    background: rgba(13, 148, 136, 0.5);
    border-radius: 10px;
}

.cards-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(13, 148, 136, 0.7);
}

.card-list {
    white-space: pre-wrap;
    overflow-wrap: break-word;
    color: #e2e8f0;
}

.buttons-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.buttons-container .btn {
    flex: 1;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-type {
    font-weight: 500;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: rgba(30, 41, 59, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(13, 148, 136, 0.15);
    padding: 0.6rem 0;
    transition: all 0.4s ease;
}

.main-nav:hover {
    background: rgba(30, 41, 59, 0.92);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo i {
    font-size: 1.4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 1px rgba(13, 148, 136, 0.5));
}

.nav-links {
    display: flex;
    gap: 1.2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-link:hover::before {
    transform: translateX(100%);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    border-radius: 3px;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
    border-color: rgba(13, 148, 136, 0.2);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.nav-link:hover::after {
    width: 70%;
    opacity: 1;
}

.nav-link.active {
    color: white;
    background: rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.nav-link.active::after {
    width: 70%;
    opacity: 1;
}

.nav-link i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.nav-link:hover i {
    transform: scale(1.1);
    opacity: 1;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.container {
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo span {
        display: none;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 1.2rem;
    }
    
    .nav-link:hover {
        transform: translateY(-1px);
    }
}

.status-counts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.status-count {
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(13, 148, 136, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.status-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.status-count:hover::before {
    transform: translateX(100%);
}

.status-count h3 {
    font-size: 0.9rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    z-index: 1;
}

.status-count .count {
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Status-specific styles */
.status-count.approved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.3);
}

.status-count.die {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
}

.status-count.unknown {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-color: rgba(245, 158, 11, 0.3);
}

.status-count.keyword {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    border-color: rgba(139, 92, 246, 0.3);
}

/* Count colors */
.status-count.approved .count { color: #10b981; }
.status-count.die .count { color: #ef4444; }
.status-count.unknown .count { color: #f59e0b; }
.status-count.keyword .count { color: #8b5cf6; }

/* Icon colors */
.status-count.approved i { color: #10b981; }
.status-count.die i { color: #ef4444; }
.status-count.unknown i { color: #f59e0b; }
.status-count.keyword i { color: #8b5cf6; }

.status-count:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(13, 148, 136, 0.1);
}

.status-count:hover .count {
    transform: scale(1.1);
}

.status-count.active {
    box-shadow: 
        0 0 0 2px var(--primary-color),
        0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .status-counts {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .status-count {
        padding: 1.25rem;
    }
    
    .status-count .count {
        font-size: 1.75rem;
    }
}

.status-counts {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.status-count {
    flex: 1;
    padding: 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(13, 148, 136, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.status-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmerWave 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes shimmerWave {
    0% {
        opacity: 0;
        transform: translateX(-100%) translateY(-100%);
    }
    50% {
        opacity: 0.5;
        transform: translateX(0%) translateY(0%);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) translateY(100%);
    }
}

.status-count:hover::before {
    opacity: 1;
}

.status-count:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.status-count.approved {
    border-color: rgba(16, 185, 129, 0.3);
}

.status-count.live {
    border-color: rgba(13, 148, 136, 0.3);
}

.status-count.die {
    border-color: rgba(239, 68, 68, 0.3);
}

.status-count.unknown {
    border-color: rgba(245, 158, 11, 0.3);
}

.status-count.keyword {
    border-color: rgba(99, 102, 241, 0.3);
}

.status-count h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-count .count {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.status-count:hover .count {
    transform: scale(1.1);
}

.status-count.approved .count {
    color: #10b981;
}

.status-count.live .count {
    color: #0d9488;
}

.status-count.die .count {
    color: #ef4444;
}

.status-count.unknown .count {
    color: #f59e0b;
}

.status-count.keyword .count {
    color: #6366f1;
}

.control-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.control-buttons .btn {
    flex: 1;
}

.start-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.start-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.pause-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.pause-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.overlay.active {
    display: block;
}

.cards-input-wrapper {
    width: 100%;
    position: relative;
}

.cards-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #475569;
    border-radius: 0.75rem;
    background-color: var(--input-bg);
    color: var(--input-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    min-height: 150px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.panel-title i {
    margin-right: 0.5rem;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .card-dashboard {
        grid-template-columns: 1fr;
    }
}

.cards-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

@keyframes patternMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.result-item.loading {
    color: #6366f1;
    animation: pulse 1.5s ease-in-out infinite;
}

.result-item.loading i {
    margin-right: 8px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.token-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.token-status i {
    font-size: 0.8rem;
}

.token-status.active {
    color: #10b981;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--panel-color);
    margin: 15% auto;
    padding: 1.5rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-body input {
    width: 100%;
    margin-bottom: 1rem;
}

.token-message {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}