:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #f8fafc;
    --secondary-border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-color: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

/* Background Mesh Gradient (Professional Light Theme) */
.background-mesh {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: 
        radial-gradient(at 0% 0%, hsla(217,100%,85%,1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(180,100%,85%,1) 0px, transparent 50%),
        radial-gradient(at 50% 100%, hsla(240,100%,85%,1) 0px, transparent 50%);
    z-index: -1;
    opacity: 0.6;
}

.container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

header {
    text-align: center;
    margin-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.logo h1 {
    font-weight: 700;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
}

/* Search Input */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

input {
    width: 100%;
    padding: 1.25rem 1rem 1.25rem 3rem;
    font-size: 1.1rem;
    border: 2px solid var(--secondary-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    transition: all 0.3s ease;
    font-family: inherit;
    outline: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.primary-btn {
    background-color: var(--primary);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: white;
    color: var(--text-main);
    border: 2px solid var(--secondary-border);
}

.secondary-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: #f8fafc;
}

/* Status Loading */
.status-hidden {
    display: none;
}

#status-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-radar {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
}

.loader-radar .circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: radar 2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}
.loader-radar .circle:nth-child(2) { animation-delay: 0.6s; }
.loader-radar .circle:nth-child(3) { animation-delay: 1.2s; }

@keyframes radar {
    0% { transform: scale(0.1); opacity: 1; border-width: 4px; }
    100% { transform: scale(1.5); opacity: 0; border-width: 1px; }
}

.log-container {
    width: 100%;
    background: #1e293b;
    color: #a7f3d0;
    font-family: monospace;
    text-align: left;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    height: 150px;
    overflow-y: auto;
    margin-top: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Active Filters */
.active-filters h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-tag {
    background: white;
    border: 1px solid var(--secondary-border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-tag i {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
    .action-buttons {
        flex-direction: column;
    }
}
