/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #e9eaec;
    display: flex;
    justify-content: center;
}

/* APP WRAPPER */
.app {
    width: 100%;
    max-width: 400px;
    min-height: 100vh;
    padding: 20px;
}

/* HEADER */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top h2 {
    font-size: 18px;
    color: #555;
}

.top h1 {
    font-size: 28px;
    font-weight: bold;
}

.menu {
    font-size: 24px;
    cursor: pointer;
}

/* DAYS */
.days {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.day {
    font-size: 12px;
    color: #888;
    text-align: center;
}

.day::before {
    content: "";
    display: block;
    margin: 6px auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
}

.day.active::before {
    background: #cfcfcf;
    position: relative;
}

/* CARD */
.card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 20px;
    box-shadow:
        10px 10px 25px rgba(0, 0, 0, 0.1),
        -10px -10px 25px rgba(255, 255, 255, 0.7);
}

/* ITEMS */
.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.item:last-child {
    border-bottom: none;
}

.item span {
    font-weight: 500;
}

.item.rest span {
    color: #aaa;
}

/* CHECK / CIRCLE */
.check,
.circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.check {
    background: #cfcfcf;
    position: relative;
}

.check::after {
    content: "✔";
    font-size: 12px;
    position: absolute;
    top: 2px;
    left: 5px;
}

.circle {
    background: #e0e0e0;
}

/* FULL SCREEN OVERLAY */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: white;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* HIDE */
.hidden {
    display: none;
}
/* FULL SCREEN OVERLAY */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* HIDE */
.hidden {
    display: none;
}

.top-bar {
    padding: 10px 15px;
}

.back-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f2f2f2;
    border-radius: 50%;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
