/* Replit-style input styling with underlines */

.search-container {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

.header-title {
    font-size: 42px;
    font-weight: 700;
    margin: 80px 0 40px 0;
    padding: 0 20px;
    line-height: 1.4;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.2;
}

.header-title span {
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid;
    transition: border-color 0.3s ease;
    cursor: text;
}

.header-title .pers-field {
    border-bottom-color: #2ecc71;
}

.header-title .keyword-field {
    border-bottom-color: #c4c4c4;
}

.header-title .location-field {
    border-bottom-color: #c4c4c4;
}

/* Underlined input style */
.replit-input-group {
    position: relative;
    display: inline-block;
    margin: 0 8px;
}

.replit-input-group label {
    position: absolute;
    top: -25px;
    left: 0;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.replit-input-group.active label {
    opacity: 1;
}

.replit-input-group input {
    background: transparent;
    border: none;
    border-bottom: 3px solid #c4c4c4;
    padding: 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: black;
    outline: none;
    transition: all 0.2s ease;
    text-align: center;
    width: auto;
    min-width: 100px;
}

.replit-input-group input::placeholder {
    color: #999;
    font-weight: 500;
}

.replit-input-group input:focus {
    border-bottom-color: #2ecc71;
}

.replit-input-group input:focus::placeholder {
    color: transparent;
}

.replit-input-group.focused label {
    opacity: 1;
}

/* Old input styles - kept for reference but will be hidden */
.search-box {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 200px;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-sizing: border-box;
    text-align: center;
}

#pers-input, #word-filter {
    max-width: 260px;
    width: 260px;
}

#word-filter {
    display: none;
}

#location-filter {
    display: none;
}
