/* Softfootball Cover Letter Maker (site font forced by the theme; Nunito in the PDF). */
.sft-cl-app { --cl-green: var(--sf-green, #1F6F43); --cl-accent: var(--sf-search-button, #8BB453); --cl-ink: #12201A; --cl-muted: #4A5A51; --cl-line: var(--sf-card-line, #DDE2D9); --cl-ground: var(--sf-ground, #F5F6F1); color: var(--cl-ink); margin: 8px 0 24px; }
.sftcl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; margin: 0 0 18px; background: var(--cl-ground); border: 1px solid var(--cl-line); border-radius: 12px; }
.sftcl-bar__field { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.sftcl-bar__space { flex: 1 1 auto; }
.sftcl-select { height: 40px; padding: 0 10px; border: 1px solid var(--cl-line); border-radius: 8px; background: #FFFFFF; font-size: 15px; color: var(--cl-ink); }
.sftcl-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border: 1px solid var(--cl-line); border-radius: 8px; background: #FFFFFF; color: var(--cl-ink); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.sftcl-btn:hover { border-color: var(--cl-accent); }
.sftcl-btn--primary { background: var(--cl-accent); border-color: var(--cl-accent); color: #FFFFFF; }
.sftcl-btn--link { border: 0; background: none; color: var(--cl-green); padding: 0 6px; }
.sftcl-btn--small { height: 34px; font-size: 14px; padding: 0 12px; }
.sftcl-status { font-size: 14px; font-weight: 700; }
.sftcl-status.is-ok { color: var(--cl-green); }
.sftcl-status.is-bad { color: #B32D2E; }
.sftcl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.sftcl-jobnote { margin: 0 0 14px; padding: 10px 14px; background: #EEF5E6; border-radius: 10px; font-weight: 600; }
.sftcl-jobnote a { color: var(--cl-green); }
.sftcl-section { margin: 0 0 18px; padding: 16px 18px 6px; border: 1px solid var(--cl-line); border-radius: 12px; background: #FFFFFF; min-width: 0; }
.sftcl-section legend { padding: 0 6px; font-size: 17px; font-weight: 800; }
.sftcl-row { display: flex; flex-wrap: wrap; gap: 0 14px; }
.sftcl-field { margin: 0 0 14px; flex: 1 1 100%; min-width: 0; }
.sftcl-field--half { flex: 1 1 calc(50% - 7px); min-width: 200px; }
.sftcl-field label { display: block; margin: 0 0 5px; font-size: 14px; font-weight: 700; }
.sftcl-field input, .sftcl-field textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--cl-line); border-radius: 8px; background: #FFFFFF; font-size: 15px; line-height: 1.5; color: var(--cl-ink); }
.sftcl-field textarea { resize: vertical; }
.sftcl-field input:focus, .sftcl-field textarea:focus { outline: none; border-color: var(--cl-accent); box-shadow: 0 0 0 3px rgba(139, 180, 83, .2); }
.sftcl-field .sftcl-select { width: 100%; }
.sftcl-tip { margin: 5px 0 0; font-size: 13px; line-height: 1.45; color: var(--cl-muted); }
.sftcl-tip--lead { margin: 0 0 12px; }
.sftcl-why { margin: 0 0 6px; }
.sftcl-why .sftcl-btn--link { margin: -8px 0 10px; }
.sftcl-side { position: sticky; top: 90px; }
.sftcl-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; font-size: 14px; color: var(--cl-muted); min-height: 20px; }
.sftcl-stats__fill { color: #8A5A00; font-weight: 700; }
.sftcl-stats__ok { color: var(--cl-green); font-weight: 700; }
.sftcl-paper { background: #FFFFFF; border: 1px solid var(--cl-line); border-radius: 6px; box-shadow: 0 10px 30px rgba(18, 32, 26, .08); overflow: hidden; }
.sftcl-fill { background: #FFF1B8; color: inherit; padding: 0 2px; border-radius: 3px; }
/* The letter */
.sftcl-letter { padding: 9% 10%; min-height: 120mm; font-family: Nunito, Arial, sans-serif; font-size: 14px; line-height: 1.6; color: #12201A; }
.sftcl-letter p { margin: 0 0 12px; }
.sftcl-letter__name { font-size: 24px; font-weight: 800; line-height: 1.2; }
.sftcl-letter__contact { margin-top: 4px; font-size: 13px; color: #4A5A51; }
.sftcl-letter__head { padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid #1F6F43; }
.sftcl-letter__meta { margin-bottom: 8px; }
.sftcl-letter__re { font-weight: 800; }
.sftcl-letter__empty { color: #6B6F69; font-style: italic; }
.sftcl-letter__sign { margin-top: 20px !important; }
.sftcl-letter__signname { font-weight: 700; }
.sftcl-letter--classic .sftcl-letter__head { text-align: center; }
.sftcl-letter--modern { padding-top: 0; }
.sftcl-letter--modern .sftcl-letter__head { margin: 0 -12.5% 24px; padding: 30px 12.5% 22px; background: #1F6F43; border-bottom: 0; color: #FFFFFF; }
.sftcl-letter--modern .sftcl-letter__contact { color: #DDEFD9; }
.sftcl-letter--modern .sftcl-letter__re { color: #1F6F43; }
.sftcl-letter--compact { padding: 7% 8%; font-size: 13px; line-height: 1.5; }
.sftcl-letter--compact p { margin-bottom: 9px; }
.sftcl-letter--compact .sftcl-letter__name { font-size: 20px; }
.sftcl-letter--compact .sftcl-letter__head { margin-bottom: 14px; padding-bottom: 10px; border-bottom-width: 1px; }
/* PDF (print) */
.sftcl-print { margin: 0; background: #FFFFFF; }
@media print {
	@page { size: A4; margin: 20mm; }
	.sftcl-print .sftcl-letter { padding: 0; min-height: 0; font-size: 11pt; }
	.sftcl-print .sftcl-letter--modern { padding-top: 0; }
	.sftcl-print .sftcl-letter--modern .sftcl-letter__head { margin: 0 0 18pt; padding: 16pt 18pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.sftcl-print .sftcl-letter--compact { font-size: 10pt; }
	.sftcl-print .sftcl-letter__name { font-size: 20pt; }
}
@media (max-width: 1023px) {
	.sftcl-grid { grid-template-columns: 1fr; }
	.sftcl-side { position: static; order: -1; }
}
@media (max-width: 640px) {
	.sftcl-bar { padding: 10px; }
	.sftcl-bar .sftcl-select, .sftcl-bar > .sftcl-btn { flex: 1 1 auto; }
	.sftcl-letter { padding: 7% 6%; font-size: 13px; }
	.sftcl-letter--modern .sftcl-letter__head { margin: 0 -6.4% 18px; padding: 22px 6.4% 16px; }
	.sftcl-letter__name { font-size: 20px; }
	.sftcl-section { padding: 14px 14px 4px; }
}
