/* profiMedien Transfer · CI: Ubuntu, Bordeaux, Coral, Aubergine */
@font-face { font-family: Ubuntu; src: url(fonts/Ubuntu-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Ubuntu; src: url(fonts/Ubuntu-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Ubuntu; src: url(fonts/Ubuntu-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bordeaux: #A6324D; --coral: #F45E48; --aubergine: #702154; --gold: #F9B233;
  --text: #3A3A3A; --muted: #6B6B6B; --line: #E8E8E8; --bg: #F7F4F2; --white: #fff;
  --ok: #2E7D32; --err: #B00020;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 Ubuntu, Arial, sans-serif; }
a { color: var(--bordeaux); }
.hidden { display: none !important; }

.stripe { height: 6px; background: linear-gradient(90deg, var(--gold), var(--coral), var(--bordeaux), var(--aubergine)); }
.top { max-width: 960px; margin: 0 auto; padding: 22px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: auto; width: 150px; display: block; }
.brand span { color: var(--bordeaux); font-weight: 500; font-size: 18px; padding-left: 14px; border-left: 1px solid var(--line); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px 40px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px 40px; }
.foot a { color: var(--muted); }

.card { background: var(--white); border-radius: 12px; padding: 28px; margin: 0 0 24px; box-shadow: 0 1px 3px rgba(58, 58, 58, .06); }
.card.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.card.center { text-align: center; }
h1 { color: var(--bordeaux); font-size: 26px; line-height: 1.25; margin: 0 0 18px; text-wrap: balance; }
h2 { color: var(--text); font-size: 20px; margin: 0 0 16px; }
.eyebrow { color: var(--coral); font-weight: 500; margin: 0 0 6px; }
.meta { color: var(--muted); font-size: 14px; font-weight: 400; }
.msg { white-space: normal; background: var(--bg); border-radius: 8px; padding: 14px 16px; text-wrap: pretty; }

.form, .up-form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--text); width: 100%; padding: 11px 12px; border: 1px solid #cfcaca; border-radius: 8px; background: var(--white); }
input:focus, select:focus, textarea:focus, .drop:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: transparent; }
.choice { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px 12px; margin: 0; display: grid; gap: 8px; }
.choice legend { font-size: 14px; font-weight: 500; padding: 0 4px; }
label.radio { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; cursor: pointer; }
label.radio input { width: auto; margin: 0; accent-color: var(--bordeaux); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grid2 { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }

.btn { display: inline-block; font: 500 16px Ubuntu, Arial, sans-serif; background: var(--bordeaux); color: var(--white); border: 0; border-radius: 8px; padding: 12px 22px; cursor: pointer; text-decoration: none; justify-self: start; }
.btn:hover { background: var(--coral); }
.btn:disabled { background: #cbb8bd; cursor: not-allowed; }
.btn.small { font-size: 14px; padding: 7px 12px; }
.btn.ghost { background: transparent; color: var(--bordeaux); box-shadow: inset 0 0 0 1px var(--bordeaux); }
.btn.ghost:hover { background: var(--bordeaux); color: var(--white); }
.btn.danger { background: transparent; color: var(--err); box-shadow: inset 0 0 0 1px #e3b3bb; }
.btn.danger:hover { background: var(--err); color: var(--white); }
.link { background: none; border: 0; color: var(--bordeaux); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

.drop { border: 2px dashed #d9c5ca; border-radius: 12px; padding: 34px 16px; text-align: center; cursor: pointer; display: grid; gap: 4px; background: #fdfbfa; transition: background .15s, border-color .15s; }
.drop.over, .drop:hover { border-color: var(--coral); background: #fff4f1; }
.drop strong { color: var(--bordeaux); font-size: 18px; font-weight: 500; }
.drop span { color: var(--muted); font-size: 14px; }
.drop input { display: none; }

.files { list-style: none; margin: 0; padding: 0; }
.files li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.files li:last-child { border-bottom: 0; }
.files .fname { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.files .fsize { color: var(--muted); font-size: 14px; white-space: nowrap; }
.files .sum { color: var(--muted); font-size: 14px; justify-content: flex-end; }
.files .remove { font-size: 13px; color: var(--muted); }

.bar { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; margin: 8px 0 12px; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--bordeaux)); transition: width .3s; }
.up-status { color: var(--muted); font-size: 14px; margin: 0; }
.ok { color: var(--ok); font-weight: 500; }
.alert { color: var(--err); background: #fbeaec; border-radius: 8px; padding: 10px 14px; margin: 0; }
.notice { background: #eef6ef; color: var(--ok); border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; }
.gap-below { margin-bottom: 20px; }
.privacy { font-size: 13px; color: var(--muted); margin: 0; text-wrap: pretty; }

.table { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 13px; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td.actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
td.actions form { margin: 0; }
tr.expired td { opacity: .55; }
.tag { display: inline-block; background: var(--aubergine); color: var(--white); font-size: 12px; border-radius: 4px; padding: 1px 6px; margin-right: 4px; }

@media (max-width: 640px) {
  .card { padding: 20px 16px; }
  .grid2 { grid-template-columns: 1fr; }
  h1 { font-size: 22px; }
  .brand img { width: 120px; }
  table, thead, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td { border: 0; padding: 4px 0; }
  td.actions { justify-content: flex-start; }
}
