* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(to right, #4b6cb7, #182848);
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #ffe082;
}

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

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

#user-input {
    flex: 1;
    padding: 0.6rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    outline: none;
}

#search-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    background-color: #ff9800;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#search-btn:hover {
    background-color: #e68900;
}

.progress {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 1rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #299f5d;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: conic-gradient(#299f5d var(--progress-degree, 0%), #1e1e1e 0%);
    box-shadow: 0 0 10px rgba(41, 159, 93, 0.6);
    transition: background 0.4s ease;
    flex-direction: column;
}
.circle span {
    z-index: 2;
}

.circle p {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.stats-cards {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.card {
    background: linear-gradient(to right, #ff9800, #f57c00);
    width: 40%;
    max-width: 280px;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    min-height: 4rem;
    color: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: scale(1.03);
}

h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}
