/* Culorile din kitul Elementor al evenimentebuzau.ro (post-8) */
:root {
    --albastru-inchis: #002337;
    --albastru: #003046;
    --accent: #FD7E14;
    --text: #212529;
    --gri-deschis: #F8F8F8;
    --gri: #D2D2D2;
    --eroare: #b3261e;
    --ok: #1b6e3c;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Heebo, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--gri-deschis);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; padding-top: 32px; padding-bottom: 32px; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 460px; }

.topbar { background: var(--albastru-inchis); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { font-family: Roboto, sans-serif; font-weight: 500; font-size: 20px; color: #fff; text-decoration: none; }
.brand span { color: var(--accent); }
.topbar form { display: flex; align-items: center; gap: 12px; margin: 0; }
.who { font-size: 14px; opacity: .85; }

h1 { font-family: Roboto, sans-serif; font-weight: 500; font-size: 26px; margin: 0 0 8px; color: var(--albastru-inchis); }
h2 { font-family: Roboto, sans-serif; font-weight: 500; font-size: 19px; margin: 0 0 8px; color: var(--albastru-inchis); }
.muted { color: #5b6670; margin-top: 0; }

.card { background: #fff; border: 1px solid var(--gri); border-radius: 10px; padding: 24px; margin-bottom: 16px; }

label { display: block; font-weight: 500; margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=password] {
    width: 100%; padding: 11px 12px; font: inherit; border: 1px solid var(--gri); border-radius: 6px; background: #fff;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 5px; }

.btn {
    display: block; width: 100%; margin-top: 22px; padding: 12px 16px; font: inherit; font-weight: 500;
    color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer;
}
.btn:hover { filter: brightness(.94); }
button.link { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 0; }

a { color: var(--albastru); }
.alt { text-align: center; margin: 14px 0 0; font-size: 15px; }

.error { color: var(--eroare); font-size: 14px; margin: 6px 0 0; }
.notice { padding: 12px 14px; border-radius: 6px; margin-bottom: 16px; }
.notice.ok { background: #e6f4ea; color: var(--ok); border: 1px solid #bfe0c9; }

.badge { display: inline-block; background: var(--albastru-inchis); color: #fff; font-size: 13px; padding: 2px 10px; border-radius: 999px; }

.foot { padding-bottom: 24px; font-size: 14px; color: #5b6670; text-align: center; }

/* Ghidul în 4 pași */
textarea, select { width: 100%; padding: 11px 12px; font: inherit; border: 1px solid var(--gri); border-radius: 6px; background: #fff; }
textarea:focus, select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
input[type=number] { width: 100%; padding: 11px 12px; font: inherit; border: 1px solid var(--gri); border-radius: 6px; background: #fff; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 12px 0 20px; font-size: 15px; }
.steps li { color: #5b6670; }
.steps .num, .steps li a span { display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; background: var(--gri); color: var(--text); font-size: 13px; margin-right: 4px; }
.steps li.current { color: var(--albastru-inchis); font-weight: 500; }
.steps li.current .num { background: var(--accent); color: #fff; }
.steps li.done .num, .steps li.done a span { background: var(--albastru); color: #fff; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 16px; }
.options.big { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
label.choice { border: 1px solid var(--gri); border-radius: 8px; padding: 12px 14px; margin: 0; cursor: pointer; }
label.choice:has(input:checked) { border-color: var(--accent); background: #fff6ee; }
.choice small { color: #5b6670; }
.field { margin-top: 4px; }
h2.sub { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--gri); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.nav form { margin: 0; }
.btn.inline { display: inline-block; width: auto; margin-top: 0; text-decoration: none; padding: 12px 28px; }
a.btn.inline { margin-top: 8px; }
.nav .btn.inline { margin-top: 0; }
.back { color: var(--albastru); }
.notice.warn { background: #fff4e5; color: #8a4b00; border: 1px solid #f3d3a5; }
.preview h2.big { font-size: 24px; margin-bottom: 4px; }
.preview .meta { color: #5b6670; margin-top: 0; }
.small { font-size: 14px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 18px 0 0; }
.specs dt { color: #5b6670; }
.specs dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } .specs dd { margin-bottom: 8px; } }

/* Poze */
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.upload input[type=file] { flex: 1 1 220px; font: inherit; }
.main-photo { display: block; width: 100%; max-width: 420px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; border: 1px solid var(--gri); }
.gallery { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.gallery li { position: relative; cursor: grab; border-radius: 8px; overflow: hidden; border: 1px solid var(--gri); background: #fff; }
.gallery li.dragging { opacity: .4; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery form { position: absolute; top: 4px; right: 4px; margin: 0; }
.gallery .del { width: 26px; height: 26px; line-height: 22px; border: 0; border-radius: 50%; background: rgba(0, 35, 55, .8); color: #fff; font-size: 18px; cursor: pointer; padding: 0; }
.preview-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.preview-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 18px; }
.preview-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
/* Admin */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--gri); color: var(--text); text-decoration: none; font-size: 15px; }
.tabs a.on { background: var(--albastru-inchis); color: #fff; border-color: var(--albastru-inchis); }
.tabs a span { opacity: .7; margin-left: 4px; }
.row { display: block; padding: 12px 0; border-bottom: 1px solid var(--gri); text-decoration: none; color: var(--text); }
.row:last-child { border-bottom: 0; }
.row:hover strong { color: var(--accent); }
.row span { display: block; }
hr.sep { border: 0; border-top: 1px solid var(--gri); margin: 22px 0; }
.btn.ghost { background: #fff; color: var(--albastru-inchis); border: 1px solid var(--albastru-inchis); }
/* Cereri */
.badge.new { background: var(--accent); }
