* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #1e1e2f; /* Dark modern background */
    color: #f4f4f9; /* Light text color */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: #2a2a40; /* Slightly lighter for container */
    padding: 25px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

#user-input {
    width: 75%;
    padding: 0.6rem;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background-color: #3a3a55;
    color: #ffffff;
}

#user-input:focus {
    outline: none;
    border: 2px solid #5c5ce1; /* Focus border */
}

#search-btn {
    padding: 0.6rem 1rem;
    border-radius: 5px;
    border: none;
    background-color: #5c5ce1; /* Button color */
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#search-btn:hover {
    background-color: #4a4ad3; /* Hover effect */
    transform: scale(1.05);
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: relative;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: conic-gradient(#5c5ce1 var(--progress-degree, 0%), #3a3a55 0%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.circle span {
    position: relative;
    font-size: 1.2rem; /* Adjust font size for values */
    font-weight: bold;
}

.circle p {
    position: relative;
    margin: 0;
    font-size: 0.9rem; /* Smaller font for label */
    font-weight: normal;
    text-transform: capitalize;
    color: #d1d1d1;
    margin-top: 5px;
}


.progress {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.stats-card {
    display: flex;
    justify-content: space-evenly;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.card {
    background-color: #3a3a55; /* Card background */
    color: #ffffff; /* Card text color */
    width: 45%;
    max-width: 300px;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 4rem;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.card h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    color: #d1d1d1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }
}
