/* Reset & base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #eef4fb;
    color: #2c4b77;
}

/* Layout */
.app-container {
    max-width: 100%;
    padding: 16px;
    margin: 0 auto;
}

h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card + .card {
    margin-top: 12px;
}

/* Journal grid */
.card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* Buttons */
.btn-primary,
.btn-accent {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #3b6fb6;
    color: #ffffff;
}

.btn-accent {
    background: #f5a623;
    color: #ffffff;
}

/* Forms */
label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #d0d7e2;
    font-size: 0.95rem;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Date & meta */
.date {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #6b7c93;
}

/* Milestone highlight */
.milestone {
    border-left: 5px solid #f5a623;
}

/* ===== Tablet ===== */
@media (min-width: 600px) {
    .app-container {
        max-width: 720px;
        padding: 24px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Desktop ===== */
@media (min-width: 992px) {
    .app-container {
        max-width: 900px;
    }

    .card-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .btn-primary,
    .btn-accent {
        width: auto;
    }
}
