/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Helvetica Neue", sans-serif; background: #faf6f0; color: #2b241d; }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e9dfd2; }
.brand { font-weight: 800; color: #e2603f; text-decoration: none; }
.cards { display: grid; gap: 12px; }
.card { display: block; background: #fff; border: 1px solid #e9dfd2; border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; }
.filters { display: flex; gap: 8px; margin: 12px 0; }
.filters a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #e9dfd2; text-decoration: none; color: inherit; }
.filters a.active { background: #e2603f; border-color: #e2603f; color: #fff; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.thumb { position: relative; display: block; text-decoration: none; color: inherit; }
.thumb img { width: 100%; border-radius: 10px; display: block; }
.thumb-title { font-size: 14px; font-weight: 600; }
.badge { position: absolute; top: 8px; right: 8px; background: #3e7d4f; color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.login { max-width: 320px; margin: 30vh auto; text-align: center; }
.login input[type="password"] { width: 100%; padding: 12px; font-size: 18px; margin-bottom: 10px; }
.flash { max-width: 720px; margin: 8px auto 0; padding: 0 16px; color: #b4472b; }
.slides img { width: 100%; border-radius: 12px; margin-bottom: 18px; }
.download-all { display: block; text-align: center; text-decoration: none; background: #e2603f; color: #fff; border-radius: 10px; padding: 12px 20px; font-size: 16px; font-weight: 700; }
button, input[type="submit"] { background: #e2603f; color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-size: 16px; font-weight: 700; }
.logout { background: transparent; color: #8a7a68; font-size: 14px; padding: 0; }
.caption { background: #fff; border: 1px solid #e9dfd2; border-radius: 12px; padding: 16px; margin: 16px 0; }
.caption p { margin: 0 0 12px; }
.tags { color: #8a7a68; font-size: 14px; }
.actions { margin: 24px 0; }
.actions form { display: block; }
.actions button { width: 100%; }
