/* DramaGood – Submit App page */
.sf-page { padding-top: 0; }
.sf-page .breadcrumbs ol { color: rgba(255,255,255,.75); }
.sf-page .breadcrumbs a { color: rgba(255,255,255,.85); }

/* Hero */
.sf-hero { background: linear-gradient(135deg, #01875f 0%, #035c43 100%); color: #fff; padding: 28px 0 88px; position: relative; overflow: hidden; }
.sf-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.06); }
.sf-hero h1 { font-size: clamp(28px, 4.4vw, 44px); margin: 6px 0 10px; letter-spacing: -.02em; }
.sf-hero > .container > p { font-size: 17px; max-width: 680px; color: rgba(255,255,255,.88); margin: 0 0 26px; }
.sf-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; max-width: 860px; position: relative; z-index: 1; }
.sf-steps li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 12px 14px; }
.sf-steps span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #01875f; display: grid; place-items: center; font-weight: 700; }
.sf-steps strong { display: block; font-size: 15px; }
.sf-steps small { color: rgba(255,255,255,.75); font-size: 12.5px; }
@media (max-width: 760px) { .sf-steps { grid-template-columns: 1fr; } .sf-hero { padding-bottom: 72px; } }

.sf-body { margin-top: -56px; position: relative; z-index: 2; }

/* Layout */
.sf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .sf-layout { grid-template-columns: 1fr; } .sf-side { order: -1; } }
.sf-side { position: sticky; top: 84px; display: grid; gap: 16px; }
@media (max-width: 1000px) { .sf-side { position: static; } .sf-rules { display: none; } }

/* Cards */
.sf-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.04); }
.sf-side .sf-card { margin-bottom: 0; }
.sf-card__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sf-card__head h2 { font-size: 18px; margin: 2px 0 2px; }
.sf-card__head p { margin: 0; color: var(--muted); font-size: 14px; }
.sf-num { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--g-soft); color: var(--g-dark); display: grid; place-items: center; font-weight: 700; font-size: 15px; }

/* Grid & fields */
.sf-grid { display: grid; gap: 18px 16px; }
.sf-grid + .sf-grid { margin-top: 18px; }
.sf-grid--1 { grid-template-columns: 1fr; }
.sf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-grid--icon { grid-template-columns: 200px minmax(0, 1fr); }
@media (max-width: 700px) { .sf-grid--2, .sf-grid--3, .sf-grid--icon { grid-template-columns: 1fr; } .sf-card { padding: 18px; } }
.sf-field { display: flex; flex-direction: column; min-width: 0; }
.sf-field > label { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; display: flex; align-items: baseline; gap: 4px; }
.sf-field > label small { font-weight: 400; color: var(--muted); }
.req { color: #d93025; font-weight: 600; }
.sf-help { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.sf input[type=text], .sf input[type=email], .sf input[type=url], .sf input[type=number], .sf select, .sf textarea {
	width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 10px; background: var(--bg); color: var(--text);
	font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.sf textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.sf select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235f6368'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; cursor: pointer; }
.sf input::placeholder, .sf textarea::placeholder { color: #98a2b3; }
.sf input:hover, .sf select:hover, .sf textarea:hover { border-color: #98a2b3; }
.sf input:focus, .sf select:focus, .sf textarea:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 4px var(--g-soft); }
@media (prefers-color-scheme: dark) { .sf input[type=text], .sf input[type=email], .sf input[type=url], .sf input[type=number], .sf select, .sf textarea { border-color: var(--line); } }
.cnt { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cnt.good { color: var(--g); } .cnt.bad { color: #d93025; }

/* Dropzones */
.drop { position: relative; display: block; border: 2px dashed #d0d5dd; border-radius: 14px; background: var(--bg-2); min-height: 150px; cursor: pointer; transition: border-color .15s, background .15s; overflow: hidden; }
.drop:hover, .drop:focus-within { border-color: var(--g); background: var(--g-soft); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop__ui { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px 12px; text-align: center; pointer-events: none; min-height: 146px; }
.drop__ui svg { fill: var(--g); background: var(--bg); border-radius: 50%; padding: 6px; width: 42px; height: 42px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.drop__ui span { font-weight: 600; font-size: 14px; color: var(--text); }
.drop__ui small { color: var(--muted); font-size: 12.5px; }
.drop .previews { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; pointer-events: none; }
.drop .previews:empty { display: none; }
.drop .previews img { width: 64px; height: 110px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); }
.drop--icon .previews:not(:empty) { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; background: var(--bg-2); }
.drop--icon .previews img { width: 104px; height: 104px; border-radius: 24%; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.sf-note { margin: 12px 0 0; color: #b06000; font-size: 13.5px; }

/* Editor */
.sf-editor { margin-bottom: 18px; }
.sf-editor .wp-editor-container { border: 1px solid #d0d5dd; border-radius: 12px; overflow: hidden; }
.sf-editor .mce-panel { background: var(--bg-2) !important; border-color: var(--line) !important; }
.sf-editor .mce-top-part::before { box-shadow: none !important; }
.sf-editor .mce-toolbar-grp { border-bottom: 1px solid var(--line) !important; padding: 4px !important; }
.sf-editor .wp-editor-tools { display: none; }
.sf-editor .wp-editor-area { border: 0 !important; padding: 14px; font-size: 16px !important; }

/* Submit block */
.sf-submit { display: flex; flex-direction: column; gap: 18px; }
.sf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; cursor: pointer; }
.sf-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--g); cursor: pointer; }
.sf-submit .btn--primary { width: 100%; height: 54px; font-size: 16px; border-radius: 12px; box-shadow: 0 4px 14px rgba(1,135,95,.28); }
.btn[disabled] { opacity: .65; cursor: wait; }

/* Side progress */
.sf-side h3 { font-size: 16px; margin: 0 0 14px; }
.sf-ring { --p: 0; --c: #f29900; width: 148px; height: 148px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--chip) 0); position: relative; transition: --p .3s; }
.sf-ring::before { content: ""; position: absolute; inset: 12px; background: var(--bg); border-radius: 50%; }
.sf-ring > div { position: relative; text-align: center; line-height: 1.2; }
.sf-ring strong { display: block; font-size: 30px; font-variant-numeric: tabular-nums; }
.sf-ring span { font-size: 12.5px; color: var(--muted); }
.sf-ring.is-done { --c: var(--g); }
.sf-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; }
.sf-checks li { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.sf-checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.sf-checks li.ok { color: var(--text); }
.sf-checks li.ok::before { border: 0; background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sf-rules ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }

/* Errors & success */
.sf-errors { border: 1px solid #f5c2c0; background: #fef3f2; color: #b42318; border-radius: 14px; padding: 16px 20px; margin-bottom: 18px; box-shadow: 0 4px 16px rgba(16,24,40,.05); }
.sf-errors ul { margin: 8px 0 0; padding-left: 20px; font-size: 14.5px; }
.sf-success { max-width: 640px; margin: 0 auto 40px; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 40px 28px; box-shadow: 0 8px 28px rgba(16,24,40,.08); }
.sf-success__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--g-soft); color: var(--g); display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.sf-success p { color: var(--muted); }
.sf-success__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Compact progress card on tablets & phones */
@media (max-width: 1000px) {
	.sf-progress { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px 16px; align-items: center; }
	.sf-progress h3 { grid-column: 1 / -1; margin: 0; }
	.sf-ring { width: 92px; height: 92px; margin: 0; }
	.sf-ring::before { inset: 8px; }
	.sf-ring strong { font-size: 20px; }
	.sf-ring span { font-size: 10.5px; }
	.sf-checks { grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 12px; }
	.sf-checks li::before { width: 15px; height: 15px; }
	.sf-checks li.ok::before { background-size: 11px; }
}
@media (max-width: 760px) {
	.sf-steps li { padding: 9px 12px; }
	.sf-steps span { width: 28px; height: 28px; font-size: 14px; }
	.sf-hero > .container > p { font-size: 15.5px; }
}
@media (max-width: 520px) { .sf-checks { grid-template-columns: 1fr; } }
