/* =========================================================
   Rossbuds – app.css
   Purpose: layout + presentation only (no logic)
   ========================================================= */


/* ---------------------------------------------------------
   Base / reset-lite
--------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background: #fafafa;
}

a {
  color: #0b57d0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ---------------------------------------------------------
   Layout
--------------------------------------------------------- */

.site-header {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.site-header strong {
  font-size: 18px;
}

.site-nav {
  margin-top: 8px;
}

.site-nav a {
  margin-right: 6px;
}

.site-main {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 12px;
}


/* ---------------------------------------------------------
   Flash messages
--------------------------------------------------------- */

.flash {
  padding: 10px;
  border-radius: 8px;
  margin: 8px 0 16px 0;
  border: 1px solid #ddd;
}

.flash-success {
  background: #eefaf1;
  border-color: #b7e1c1;
  color: #135c2a;
}

.flash-error {
  background: #fdeeee;
  border-color: #f3b6b6;
  color: #7a1616;
}

.flash-info {
  background: #eef5ff;
  border-color: #bcd7ff;
  color: #143b75;
}


/* ---------------------------------------------------------
   Feed / posts
--------------------------------------------------------- */

.post-card {
  border: 1px solid #ccc;
  padding: 12px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 8px;
}

.post-meta {
  color: #555;
  font-size: 14px;
}

.post-image {
  max-width: 450px;
  display: block;
  margin: 8px 0;
  border-radius: 6px;
}

.post-caption {
  white-space: pre-wrap;
}


/* ---------------------------------------------------------
   Forms (light polish, optional)
--------------------------------------------------------- */

label {
  font-weight: 500;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  max-width: 360px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #888;
  background: #f4f4f4;
  cursor: pointer;
}

button:hover {
  background: #eaeaea;
}


/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.site-footer {
  text-align: center;
  color: #777;
  margin: 30px 0;
  font-size: 14px;
}
