/* ===== Your Original CSS ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

header {
    background-color: #2a3a5a;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #1e2a44;
}

nav a {
    color: white;
    padding: 14px 20px;
    display: block;
    text-decoration: none;
}

nav a:hover {
    background-color: #3e4e6e;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 30px;
}

h2 {
    color: #2a3a5a;
}

button {
    padding: 10px 20px;
    background-color: #2a3a5a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #3e4e6e;
}

input[type="text"], input[type="number"], select {
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Progress Ring */
#ring {
    position: relative;
    width: 150px;
    height: 150px;
}

#ring svg {
    transform: rotate(-90deg);
}

#xpLabel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #2a3a5a;
}

/* Streak & Countdown Badges */
#streakBadge, #countdownBadge {
    background-color: #2a3a5a;
    color: white;
    padding: 5px 10px;
    border-radius: 999px;
    display: inline-block;
    margin: 5px;
}

/* XP Bar */
#xpBar {
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

#xpBar div {
    height: 100%;
    background-color: #2a3a5a;
    transition: width 0.3s;
}

/* Calendar */
.calendar-day {
    display: inline-block;
    width: 14%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.calendar-day.today {
    border: 2px solid #2a3a5a;
}

.calendar-day.done {
    background-color: #a3d3a1;
}

/* ===== Quick-Win Additions ===== */

/* Checklist completed state */
#chk-vocab.done,
#chk-comp.done,
#chk-speak.done,
#chk-listen.done,
#chk-phr.done {
    opacity: 0.8;
    text-decoration: line-through;
}

/* Next Action button style */
#nextAction .btn {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border: 1px solid #2a3a5a;
    border-radius: 999px;
    background: white;
    color: #2a3a5a;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

#nextAction .btn:hover {
    background: #f0f0f0;
}
/* ===== Deeper improvements (additions) ===== */

/* Tag chips for Can-Do descriptors */
.tags { display:flex; flex-wrap:wrap; gap:.35rem; }
.tag { display:inline-flex; align-items:center; gap:.35rem; padding:.25rem .5rem; border:1px solid #2a3a5a; border-radius:999px; }
.tag.ok { background:#163a2f; border-color:#215c4a; }

/* Small well for text blocks */
.well { background:#0e1730; border:1px dashed #25325a; border-radius:8px; padding:.6rem; }

/* Buttons inside injected cards (fallback in case) */
.card .btn { cursor:pointer; }

/* Pill baseline */
.pill { display:inline-block; padding:.25rem .6rem; border:1px solid #2a3a5a; border-radius:999px; }

/* Inputs in injected cards */
.card .input { padding:.35rem .5rem; border:1px solid #2a3a5a; border-radius:6px; background:#0f1830; color:#eaf1ff; }
