
.container_bulb {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
}

h1 {
    color: #333;
}

.level-text {
    color:#94a3b8;
    font-size: 14px;
    min-height: 30px;
    margin-top: 9px;
    text-align: center;
    font-weight: bolder;
}

.lightbulb-container {
    position: relative;
    display: inline-block;
}

.lightbulb {
    width: 40px;
    border-radius: 50%;
    font-size: 48px;
    position: relative;
    cursor: pointer;
}

.lightbulb.level-0 { color: var(--secondary); }
.lightbulb.level-1 { color: #fff9c4; }
.lightbulb.level-2 { color: #fff176; }
.lightbulb.level-3 { color: #ffeb3b; }
.lightbulb.level-4 { color: #ffa726; }
.lightbulb.level-5 { color: #ff5722; }
.lightbulb.level-6 { color: #d32f2f; }
.lightbulb.level-7 { color: #0080ff; }

.clear-btn {
    margin-top: 40px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: #667eea;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.clear-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(102, 126, 234, 0.6);
}

.clear-btn:active {
    transform: translateY(0);
}

.instruction {
    color: #999;
    font-size: 12px;
    margin-top: 20px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #333;
    transform: rotate(90deg);
}

.clear-x {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff5252;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
    transform: translate(50%, -50%);
}

.lightbulb-container:hover .clear-x,
.lightbulb:not(.level-0) ~ .clear-x {
    opacity: 1;
    pointer-events: auto;
}

.clear-x:hover {
    background: #d32f2f;
    transform: translate(50%, -50%) scale(1.1);
}

.clear-btn {
    margin-top: 40px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: #4caf50;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.clear-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(76, 175, 80, 0.6);
}

.clear-btn:active {
    transform: translateY(0);
}
