* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #90bbf0, #bcd3ff);
    color: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    gap: 1rem;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

h1 {
    font-size: 3rem;
    text-align: center;
    color: #1d2bc8;
}

.user-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

p {
    font-size: 1.5rem;
}

.user-input-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#user-input {
    width: 85%;
    padding: 0.7rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size:1.5rem;
}

#search-bar {
    width: 100px;
    padding: 0.6rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
    background-color: #1d2bc8;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#search-bar:hover {
    background-color: #16219d;
    box-shadow: 0 0 10px rgba(29, 43, 200, 0.6);
}

.progress {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #1d2bc8;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: black;
    font-weight: 700;
    background: conic-gradient(#1d2bc8 var(--progress-degree, 0%), #f0f0f0 0%);
    flex-direction: column;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.circle::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: white;
    border-radius: 50%;
    z-index: 1;
}

.circle span {
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.stats-cards {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-evenly;
}

.card {
    background-color: rgb(56, 141, 245);
    width: 40%;
    max-width: 290px;
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 4rem;
    color: rgb(255, 248, 248);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background-color: #1b75d0;
}

.card h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.card p {
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 1rem;
    }

    .card {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1.2rem;
    }

    #search-bar {
        font-size: 14px;
    }
}
