body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-div { 
    margin-bottom: 20px;
    gap: 10px;
}

.search-input{
    padding:  '10px',
    fontSize: '16px',
    flexGrow: 1
}

button {
    padding: '10px 20px',
    fontSize: '16px',
    cursor: 'pointer'
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.game-bar {
    display: flex;
    align-items: center;
    
    background: rgba(0, 0, 0, 0.08);
    max-width:900px;
}
.game-title { 
    padding: 4px;
    width: 250px;
    overflow: hidden;          
    text-overflow: ellipsis;
}

.game-details {
    font-size: 0.9em;
    opacity: 0.7;
    margin-bottom: 3px;
    color: #555;
}

.bar-container {
    flex: 1;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 0;
    
    background: #E6ECF5	;
}

.chart-container
{
  text-shadow: 1px 1px 4px white;
  color: black;

}

.chart-container .bar-text {
    position: absolute;
    right: 10px;
    z-index: 20;
    font-weight: bold;
}

.chart-container .game-title-inside {
    position: absolute;
    left: 5px;
    z-index: 20;
    max-width: 66.66%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 3px;
    font-weight: bold;
    font-size: 90%;
}


.loading {
    text-align: center;
    font-size: 1.2em;
    padding: 50px;
}

.error {
    text-align: center;
    color: #e74c3c;
    font-size: 1.1em;
    padding: 20px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 6px;
    margin: 20px 0;
}
