/* ============================================
   Components - Header, Search, Entries, Badges
   ============================================ */

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 32px;
}

.header-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(105, 91, 248, 0.15);
    border: 1px solid rgba(105, 91, 248, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.app-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search */
.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--muted);
    pointer-events: none;
}

.search-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 16px;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    outline: none;
    transition: all var(--transition);
}

.search-wrapper input::placeholder {
    color: var(--muted);
}

.search-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(105, 91, 248, 0.2);
    background: var(--bg);
}

/* Entries */
.entry {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 8px;
    transition: background var(--transition);
}

.entry:last-child {
    margin-bottom: 0;
}

.entry:hover {
    background: rgba(255, 255, 255, 0.05);
}

.entry b {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.entry-empty {
    text-align: center;
    color: var(--muted);
    font-style: italic;
    padding: 20px;
}

/* Badges */
.badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(105, 91, 248, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(105, 91, 248, 0.2);
}
