:root {
    --bg-color: #0a0a0b;
    --card-bg: #161618;
    --accent-color: #6366f1;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: #2e2e32;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 900px;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.header p {
    color: var(--text-secondary);
}

.search-container {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

#searchInput {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#searchInput:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.voice-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.voice-btn.listening {
    color: #ef4444;
    animation: pulse 1.5s infinite;
}

.voice-btn:hover {
    color: var(--accent-color);
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.2);
    }

    100% {
        transform: translateY(-50%) scale(1);
    }
}

.table-container {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
}

tr:hover {
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.status-listening {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: none;
}