:root {
    --primary: #012c6d;
    --accent: #ff9800;
    --bg: #f0f2f5;
    --white: #ffffff;
    --danger: #dc3545;
    --text: #2d3436;
}

body { background-color: var(--bg); color: var(--text); padding: 15px; font-family: 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }

.container { max-width: 480px; margin: 0 auto; padding-bottom: 50px; }

/* Headings */
h2 { font-size: 1.4rem; color: var(--primary); margin-bottom: 15px; font-weight: 700; }
h3 { font-size: 1.2rem; margin-bottom: 5px; }

/* Buttons */
.btn { display: block; width: 100%; padding: 14px; background: var(--primary); color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; margin-bottom: 10px; box-shadow: 0 4px 6px rgba(1, 44, 109, 0.2); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; }
.btn-danger { background: var(--danger); font-size: 0.9rem; padding: 10px; margin-top: 10px; }
.btn-download { background: var(--accent); color: #000; }

/* Cards */
.card { background: var(--white); padding: 20px; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 20px; }

/* Hero Book (Top Book) */
.hero-book { border: 2px solid var(--primary); background: #eef4ff; position: relative; overflow: hidden; }
.hero-book::before { content: 'Currently Reading'; position: absolute; top: 0; right: 0; background: var(--primary); color: white; font-size: 0.7rem; padding: 4px 10px; border-bottom-left-radius: 10px; }
.reading-status { font-size: 1.1rem; color: var(--primary); font-weight: 500; margin-bottom: 10px; line-height: 1.5; }

/* List Books */
.book-item { padding: 15px; border-bottom: 1px solid #eee; display: flex; flex-direction: column; gap: 5px; }
.book-item:last-child { border-bottom: none; }

/* Progress Bar */
.progress-track { background: #ddd; height: 8px; border-radius: 4px; overflow: hidden; margin: 10px 0; }
.progress-fill { background: var(--primary); height: 100%; }

/* Notes Section */
.note-box { background: #fffbe6; padding: 10px; border-left: 3px solid #ffd700; margin-top: 10px; font-size: 0.9rem; font-style: italic; }

/* Utility */
.small-text { font-size: 0.85rem; color: #666; }
.flex-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }