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

body {
    background-color: rgba(50, 50, 173, 0.623);
    color: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: rgba(131, 66, 66, 0.733);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%; /* Adjusted for better responsiveness */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Added shadow for depth */
}

h1 {
    font-size: 2rem;
    text-align: center; /* Center the heading */
    color: white; /* Added for better contrast */
}

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

.user-input-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px; /* Added gap between input and button */
}

#user-input {
    width: 80%;
    border-radius: 5px;
    padding: 0.5rem; /* Slightly increased padding */
    border: 1px solid #ccc; /* Added border */
    font-size: 1rem; /* Increased font size */
}

#search-btn {
    border-radius: 5px;
    padding: 0.5rem 1rem; /* Increased padding */
    background-color: rgba(50, 50, 173, 0.8); /* Matching body background */
    color: white; /* Text color */
    border: none; /* Removed default border */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 1rem; /* Increased font size */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

#search-btn:hover {
    background-color: rgba(50, 50, 173, 1); /* Darker on hover */
}

.stats-container {
    display: none; /* Hidden by default */
    margin-top: 20px;
}

.progress {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px; /* Increased gap between circles */
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(0, 7, 3, 0.904);
    position: relative;
    color: rgb(13, 12, 75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    background: conic-gradient(
        rgb(7, 68, 45) var(--progress-degree, 0%),
        rgb(13, 119, 36) 0%
    );
}

.circle span {
    position: relative;
    z-index: 2;
    text-align: center; /* Center text */
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        width: 100%; /* Full width on smaller screens */
        padding: 15px; /* Reduced padding */
    }

    .user-input-container {
        flex-direction: column; /* Stack input and button vertically */
    }

    #user-input {
        width: 100%; /* Full width input */
    }

    #search-btn {
        width: 100%; /* Full width button */
    }

    .progress {
        flex-direction: column; /* Stack circles vertically */
        align-items: center;
    }
}