/* Ibelsa Housekeeping Reports — clean, minimal, hotel branding */

:root {
  --blue: #003D7A;        /* deep blue   */
  --blue-dark: #002B57;
  --rose: #C9956D;        /* rose-gold   */
  --rose-soft: #F3E4D7;
  --ink: #22303e;
  --muted: #6b7a89;
  --bg: #f4f6f9;
  --card: #ffffff;
  --ok: #1e7d46;
  --err: #b3261e;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 1.1rem 1.5rem;
  border-bottom: 4px solid var(--rose);
}
.brand { max-width: 720px; margin: 0 auto; letter-spacing: .12em; }
.brand-mark { font-weight: 700; font-size: 1.05rem; }
.brand-sub  { font-weight: 300; font-size: 1.05rem; opacity: .85; margin-left: .5rem; }

/* ---------- card ---------- */
.card {
  background: var(--card);
  max-width: 640px;
  width: calc(100% - 2rem);
  margin: 2.5rem auto;
  padding: 2.25rem 2.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 61, 122, .10);
}
h1 { color: var(--blue); font-size: 1.6rem; margin-bottom: .4rem; }
.lead { color: var(--muted); line-height: 1.55; margin-bottom: 1.6rem; }

/* ---------- drop zone ---------- */
.drop-zone {
  border: 2px dashed var(--rose);
  border-radius: var(--radius);
  background: #fdfaf7;
  padding: 2.4rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  outline: none;
}
.drop-zone:hover, .drop-zone:focus-visible,
.drop-zone.dragover {
  background: var(--rose-soft);
  border-color: var(--blue);
  transform: translateY(-1px);
}
.drop-icon { color: var(--rose); margin-bottom: .6rem; }
.drop-title { font-weight: 600; color: var(--ink); margin-bottom: .25rem; }
.drop-hint  { font-size: .85rem; color: var(--muted); }

/* ---------- progress ---------- */
.progress-wrap { margin-top: 1.4rem; }
.progress-label {
  display: flex; justify-content: space-between;
  font-size: .85rem; color: var(--muted); margin-bottom: .35rem;
}
.progress-bar {
  height: 8px; border-radius: 99px; background: #e4e9ef; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--rose), var(--blue));
  border-radius: 99px; transition: width .2s ease;
}

/* ---------- status / errors ---------- */
.status {
  margin-top: 1.2rem; padding: .8rem 1rem;
  border-radius: 10px; background: #eef4fb;
  color: var(--blue); font-size: .95rem;
}
.error {
  margin-top: 1.2rem; padding: .8rem 1rem;
  border-radius: 10px; background: #fdecea;
  color: var(--err); font-size: .95rem; line-height: 1.45;
}

/* ---------- result ---------- */
.result {
  margin-top: 1.4rem; padding: 1.1rem 1.2rem;
  display: flex; gap: .9rem; align-items: flex-start;
  border-radius: 10px; background: #e9f6ee;
  border: 1px solid #bfe3cd;
}
.result-icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ok); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.result-title { font-weight: 600; color: var(--ok); }
.result-meta  { font-size: .88rem; color: var(--muted); margin: .15rem 0 .45rem; }
.download-link {
  color: var(--blue); font-weight: 600; font-size: .92rem; text-decoration: none;
  border-bottom: 2px solid var(--rose);
}
.download-link:hover { color: var(--blue-dark); }

/* ---------- steps ---------- */
.steps { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #edf0f4; }
.steps h2 { font-size: .95rem; color: var(--blue); margin-bottom: .5rem; }
.steps ol { padding-left: 1.3rem; color: var(--muted); font-size: .9rem; line-height: 1.8; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: auto; text-align: center;
  padding: 1.2rem; font-size: .8rem; color: var(--muted);
}

.hidden { display: none !important; }

/* ---------- mobile ---------- */
@media (max-width: 600px) {
  .card { margin: 1.2rem auto; padding: 1.6rem 1.2rem 1.2rem; }
  h1 { font-size: 1.35rem; }
  .drop-zone { padding: 1.8rem 1rem; }
  .brand { text-align: center; }
}
