/* ============================================================
   FYTA RMA Tool – Stylesheet
   Colors: olive #546223, dark olive #3d4819, cream #F2F5EE
   Font: Work Sans (Google Fonts)
   ============================================================ */

#fa, #fa * { color-scheme: light only; -webkit-color-scheme: light only; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #F2F5EE; }
#fa { font-family: 'Work Sans', sans-serif; background: #F2F5EE; color: #1a1a1a; min-height: 100vh; }

/* Header */
.fh { background: #546223; height: 60px; display: flex; align-items: center; padding: 0 22px; }
.fh-brand { display: flex; align-items: center; flex: 1; }
.fh-logo { height: 22px; width: auto; display: block; }
.fh-wm { font-family: 'Work Sans', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 4px; color: #fff; }
.fh-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.3); margin: 0 13px; flex-shrink: 0; }
.fh-lbl { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.7); letter-spacing: 0.7px; white-space: nowrap; }

/* Language switcher */
.lw { display: flex; gap: 4px; }
.lb { background: transparent; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; color: rgba(255,255,255,0.75); font-family: 'Work Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 1px; padding: 4px 9px; cursor: pointer; }
.lb.active { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.6); }

/* Layout */
.fb { padding: 28px 20px 60px; max-width: 560px; margin: 0 auto; }

/* Progress bar */
.pb { display: flex; align-items: center; margin-bottom: 26px; }
.pd { width: 7px; height: 7px; border-radius: 50%; background: #dde3d5; flex-shrink: 0; }
.pd.act { background: #546223; }
.pd.dn { background: #546223; opacity: .5; }
.pl { flex: 1; height: 1px; background: #dde3d5; margin: 0 7px; }

/* Card */
.card { background: #fff; border: 1px solid #dde3d5; border-radius: 12px; padding: 26px; margin-bottom: 12px; animation: fu .2s ease; }
@keyframes fu { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.slabel { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #546223; margin-bottom: 10px; }
.ctitle { font-size: 21px; font-weight: 700; line-height: 1.2; margin-bottom: 7px; color: #1a1a1a; }
.csub { font-size: 14px; color: #666; line-height: 1.65; margin-bottom: 22px; }

/* Option buttons */
.ol2 { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1.5px solid #dde3d5; border-radius: 8px; cursor: pointer; background: #fff; font-family: 'Work Sans', sans-serif; text-align: left; width: 100%; }
.opt:hover { border-color: #546223; background: #eef2e6; }
.opt-t { font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.opt-s { font-size: 12px; font-weight: 400; color: #666; margin-top: 3px; }
.opt-arr { color: #546223; font-size: 20px; flex-shrink: 0; margin-left: 12px; }

/* Info strips */
.istrip { background: #eef2e6; border-left: 3px solid #546223; padding: 11px 14px; font-size: 13px; color: #1a1a1a; line-height: 1.6; margin-bottom: 16px; border-radius: 0 7px 7px 0; }
.istrip a { color: #546223; font-weight: 500; }
.wstrip { background: #fffcf0; border-left: 3px solid #c49a00; padding: 11px 14px; font-size: 13px; color: #4a3900; line-height: 1.6; margin-bottom: 14px; border-radius: 0 7px 7px 0; }
.estrip { background: #fdf2f2; border-left: 3px solid #b83232; padding: 11px 14px; font-size: 13px; color: #b83232; line-height: 1.6; margin-bottom: 14px; border-radius: 0 7px 7px 0; }

/* Form fields */
.fg { margin-bottom: 17px; }
.fl { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #666; margin-bottom: 5px; }
.fi { width: 100%; border: 1.5px solid #dde3d5; border-radius: 7px; padding: 11px 12px; font-size: 14px; font-family: 'Work Sans', sans-serif; color: #1a1a1a; background: #fff; outline: none; }
.fi:focus { border-color: #546223; }
.fi.err { border-color: #b83232; background: #fdf2f2; }
textarea.fi { resize: vertical; min-height: 78px; }
select.fi { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23546223' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.tc { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media(max-width: 480px) { .tc { grid-template-columns: 1fr; } }

/* Buttons */
button.bp { display: block; width: 100%; background: #546223; color: #ffffff; border: 2px solid #546223; border-radius: 8px; padding: 13px 20px; font-size: 15px; font-family: 'Work Sans', sans-serif; font-weight: 700; cursor: pointer; margin-top: 6px; }
button.bp:hover { background: #3d4819; border-color: #3d4819; }
button.bp:disabled { background: #c4ceba; border-color: #c4ceba; color: #888; cursor: not-allowed; }
button.bg { display: block; width: 100%; background: #fff; color: #546223; border: 2px solid #546223; border-radius: 8px; padding: 12px 20px; font-size: 14px; font-family: 'Work Sans', sans-serif; font-weight: 600; cursor: pointer; margin-top: 8px; }
button.bg:hover { background: #eef2e6; }
button.bback { display: inline-flex; align-items: center; gap: 4px; background: none; color: #546223; border: none; font-size: 13px; font-family: 'Work Sans', sans-serif; font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 18px; }
button.bback:hover { color: #3d4819; }
button.copy-btn { background: #546223; color: #fff; border: none; border-radius: 7px; padding: 8px 14px; font-size: 12px; font-family: 'Work Sans', sans-serif; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
button.copy-btn:hover { background: #3d4819; }

/* DHL button */
a.dhl-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #FFCC00; color: #1a1a1a; border: none; border-radius: 8px; padding: 14px 20px; font-size: 14px; font-family: 'Work Sans', sans-serif; font-weight: 700; text-decoration: none; margin-top: 4px; }
a.dhl-btn:hover { background: #f0be00; }

/* Article list */
.al { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ai { display: flex; align-items: center; gap: 11px; border: 1.5px solid #dde3d5; border-radius: 8px; padding: 12px 13px; cursor: pointer; background: #fff; }
.ai:hover, .ai.sel { border-color: #546223; background: #eef2e6; }
.ach { width: 19px; height: 19px; border: 2px solid #dde3d5; border-radius: 5px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ai.sel .ach { background: #546223; border-color: #546223; }
.achm { display: none; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.ai.sel .achm { display: block; }
.an { font-size: 14px; font-weight: 500; color: #1a1a1a; }
.ask { font-size: 12px; color: #666; }

/* Divider + meta rows */
.hr { height: 1px; background: #dde3d5; margin: 18px 0; }
.mr { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #F2F5EE; }
.mr:last-child { border-bottom: none; }
.mk { color: #666; }
.mv { font-weight: 500; text-align: right; color: #1a1a1a; }

/* Success screen */
.smk { width: 46px; height: 46px; background: #eef2e6; border: 2px solid #546223; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.metabox { background: #F2F5EE; border-radius: 8px; padding: 14px; }
.refbox { background: #eef2e6; border: 1.5px solid #546223; border-radius: 10px; padding: 16px 18px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.refbox-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #546223; margin-bottom: 4px; }
.refbox-num { font-size: 22px; font-weight: 700; color: #1a1a1a; letter-spacing: 1px; }

/* DHL steps */
.dhl-steps { background: #fff; border: 1px solid #dde3d5; border-radius: 10px; padding: 16px 18px; margin-bottom: 16px; }
.dhl-step { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F2F5EE; }
.dhl-step:last-child { border-bottom: none; padding-bottom: 0; }
.dhl-num { width: 22px; height: 22px; background: #546223; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.dhl-txt { font-size: 13px; color: #1a1a1a; line-height: 1.55; }

/* Spinner */
.spin { display: inline-block; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: sp .65s linear infinite; vertical-align: middle; margin-right: 7px; }
@keyframes sp { to { transform: rotate(360deg); } }
