*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

body{
    background-color: #0f172a;      /* was rgb(52, 50, 63) */
    color: #e2e8f0;                 /* softer white */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #1e293b;      /* was rgb(156, 92, 13) */
    padding: 20px;
    border-radius: 5px;
    width: 50%;
    max-width: 600px;
}

h1{
    text-align: center;
    font-size: 2rem;
    color: #f8fafc;                 /* brighter heading */
}

.user-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: start;
}

.user-input-container{
    display: flex;
    justify-content: space-between;
}

#user-input{
    width: 80%;
    padding: 0.4rem;
    border-radius: 5px;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid #334155;
}

#search-btn{
    padding: 0.4rem;
    border-radius: 5px;
    background: #3b82f6;           /* primary accent */
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.circle{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #22c55e;      /* accent green */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #f8fafc;
    font-weight: 700;
    background: conic-gradient(#22c55e var(--progress-degree,0%), #0f172a 0%); /* track color dark */
    flex-direction: column;
}

.circle span{
    position: relative;
    z-index: 2;
}

.progress{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;
}

.stats-card{
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-evenly;
    border: 4px black; /* unchanged */
}

.card{
    background-color: #334155;      /* was #5c5382 */
    width: 40%;
    max-width: 290px;
    padding: 20px;
    border-radius: 10px;
    font-size: 1rem;
}
