/* ---------------------------------------
   MiauMemo – global style (mobile-first)
---------------------------------------- */

html {
    font-size: 18px; /* alles größer */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 520px;          
    margin: 0 auto;
    padding: 24px;
    color: #333;
    background: #fffdf8;
}

.logo {
    height: 150px;
    width: auto;
    display: block;
    margin: 0 auto 10px auto; /* zentriert + kleiner Abstand unten */
}

h1 {
    text-align: center;
    color: #f97316;
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 1.8rem; /* ~32px */
}

p, label {
    font-size: 1.05rem; /* ~19px */
    color: #444;
}

/* ---------------------------------------
   Inputs & Buttons
---------------------------------------- */

textarea,
input[type="text"],
input[type="password"],
input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    margin: 10px 0 22px 0;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 1.1rem; /* ~20px */
    background: #fff;
    box-sizing: border-box;
}

textarea {
    min-height: 120px;
}

button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #3b82f6;
    color: white;
    font-size: 1.2rem; /* ~22px */
    cursor: pointer;
    margin-top: 16px;
    font-weight: 600;
}

button:hover {
    background: #2563eb;
}

/* ---------------------------------------
   Emoji Radio Buttons
---------------------------------------- */

.emoji-row {
    text-align: center;
    margin: 18px 0 28px 0;
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.emoji-row label {
    font-size: 44px;
    cursor: pointer;
    transition: transform 0.1s;
}

.emoji-row label:hover {
    transform: scale(1.15);
}

.emoji-row input[type="radio"] {
    display: none;
}

.emoji-row input[type="radio"]:checked + span {
    border-bottom: 4px solid #f97316;
    border-radius: 4px;
}

/* ---------------------------------------
   Week View
---------------------------------------- */

.day-box {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #eee;
}

.day-date {
    font-weight: bold;
    margin-bottom: 8px;
    color: #f97316;
    font-size: 1.1rem;
}

.merke {
    color: #555;
    font-size: 1rem;
}

/* ---------------------------------------
   Links
---------------------------------------- */

a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 1rem;
}

a:hover {
    text-decoration: underline;
}

.week-link {
    text-align: center;
    margin-top: 28px;
}

/* ---------------------------------------
   Login
---------------------------------------- */

.error {
    color: red;
    margin-bottom: 14px;
    font-size: 1rem;
}

/* ---------------------------------------
   Mobile tweaks
---------------------------------------- */

@media (max-width: 400px) {
    html {
        font-size: 17px;
    }
    body {
        padding: 18px;
    }
    h1 {
        font-size: 1.6rem;
    }
}

