body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
.header{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-bottom:20px;
}
.container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    width: 300px;
    position:relative;
}

h1 {
    color: #6c5ce7;
    margin-bottom: 20px;
}

.level-display {
    font-size: 18px;
    margin-bottom: 20px;
}

.timer {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
}

.controls button {
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    pointer-events: auto;
    cursor: pointer;
    z-index:2;
}

#startBtn {
    background-color: #6c5ce7;
    color: white;
}

#pauseBtn {
    background-color: #fab1a0;
    color: white;
}

#resetBtn {
    background-color: #dfe6e9;
}

.xp-bar {
    width: 100%;
    height: 20px;
    background-color: #dfe6e9;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

#xp-progress {
    height: 100%;
    width: 0%;
    background-color: #6c5ce7;
    transition: width 0.5s;
}

.xp-status {
    margin-top: 10px;
    font-size: 16px;
}
.mode-badge {
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    background: #6c5ce7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    margin-top: 10px;
}
.mode-badge {
    pointer-events: none;  /* << This makes it unclickable & transparent to clicks */
}

.xp-bar {
    pointer-events: none;  /* Just in case XP bar is overlapping */
}

.xp-status {
    pointer-events: none;  /* XP text shouldn't block clicks */
}
