/* JobLik 0.29.38 — Smart Card Wizard stabilization. Loaded last on /create-card. */

/* Welcome: remove the artificial blank line before the main title. */
.scw-page .scw-mobile-welcome h1{margin-top:8px!important}
.scw-page .scw-mobile-welcome .scw-welcome-title{margin-bottom:6px!important}
.scw-page .scw-mobile-welcome .scw-test-badge{margin-bottom:3px!important}

/* Canonical brand spelling and compact brand mark in the wizard header. */
.scw-page .scw-v2-topbar{justify-content:space-between!important}
.scw-page .scw-v2-brand{display:inline-flex!important;align-items:center!important;gap:7px!important;color:#0b2239!important;font-size:18px!important;font-weight:950!important;letter-spacing:-.3px!important}
.scw-page .scw-v2-brand i{display:inline-grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:9px!important;background:linear-gradient(145deg,#0b2239 0 48%,#ff7900 49% 100%)!important;transform:skew(-8deg)!important;box-shadow:0 3px 9px #0b223922!important}

/* Preview: the new JobLik reference image already carries its own name/logo. */
.scw-page .scw-intro-card-frame .scw-preview-sample-name{display:none!important}
.scw-page .scw-intro-card-frame img{object-fit:contain!important;object-position:center!important;background:#071421!important}

/* Step 2 canonical rows: titles/icons never collide with the editor below. */
.scw-page [data-scw-step="2"] .scw-option-row,
.scw-page [data-scw-step="2"] .scw-field-row{position:relative!important}
.scw-page [data-scw-step="2"] .scw-option-row>b,
.scw-page [data-scw-step="2"] .scw-field-row>b{position:relative!important;z-index:2!important;min-width:0!important;line-height:1.55!important}
.scw-page [data-scw-step="2"] .scw-v2-field-mark{position:static!important;display:inline-flex!important;vertical-align:middle!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;margin-inline-end:5px!important;transform:none!important;overflow:hidden!important}
.scw-page [data-scw-step="2"] .scw-v2-field-mark svg{width:22px!important;height:22px!important}

/* About/description: no decorative icon is allowed to sit over the textarea. */
.scw-page [data-scw-step="2"] .scw-option-row:has(textarea[name="field_about"]) .scw-data-row-icon,
.scw-page [data-scw-step="2"] .scw-option-row:has(textarea[name="field_about"]) .scw-v2-field-mark{display:none!important}
.scw-page [data-scw-step="2"] textarea[name="field_about"]{position:relative!important;z-index:1!important;padding:12px 14px!important}

/* Address province/city controls: separate labels from their input boxes. */
.scw-page .scw-v2-address-comboboxes{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;align-items:start!important}
.scw-page .scw-v2-address-comboboxes>.scw-v2-combo{display:grid!important;grid-template-rows:auto 52px!important;gap:7px!important;min-width:0!important;position:relative!important}
.scw-page .scw-v2-address-comboboxes>.scw-v2-combo>span{display:block!important;position:static!important;margin:0!important;padding:0 4px!important;color:#f36b12!important;font-size:13px!important;font-weight:900!important;line-height:1.4!important;background:transparent!important;transform:none!important}
.scw-page .scw-v2-address-comboboxes>.scw-v2-combo>input{display:block!important;position:relative!important;width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;padding:8px 12px!important;border:1px solid #cbd7e5!important;border-radius:12px!important;background:#fff!important;box-sizing:border-box!important;z-index:1!important}
.scw-page .scw-v2-address-comboboxes>.scw-v2-combo-results{top:calc(100% + 5px)!important;z-index:40!important}
.scw-page .scw-v2-address-comboboxes>textarea{grid-column:1/-1!important;margin-top:2px!important}

/* Working days/hours: title/icon on first row, text box on a clean second row. */
.scw-page .scw-v2-schedule-text-row{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto 54px!important;gap:8px!important;align-items:center!important;min-height:104px!important;padding:10px!important;overflow:visible!important}
.scw-page .scw-v2-schedule-text-row>input[type="checkbox"]{grid-column:1!important;grid-row:1!important;margin:0!important}
.scw-page .scw-v2-schedule-text-row>b{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:0!important;min-width:0!important}
.scw-page .scw-v2-schedule-text-row>input[type="text"]{grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:54px!important;min-height:54px!important;margin:0!important;padding:10px 12px!important;box-sizing:border-box!important;position:relative!important;z-index:1!important}

/* Step 5: disabled discount area must look disabled until explicitly enabled. */
.scw-page [data-discount-fields].is-disabled{opacity:.48!important;filter:grayscale(.35)!important;pointer-events:none!important}
.scw-page [data-discount-fields].is-disabled input,
.scw-page [data-discount-fields].is-disabled button{background:#eef2f6!important;color:#8694a5!important;border-color:#d5dde6!important;cursor:not-allowed!important}
.scw-page [data-apply-discount]:not(:disabled){background:#ff7900!important;color:#fff!important;border:1px solid #ff7900!important}

/* Final amount is the visual priority of pricing/review. */
.scw-page [data-final-price],
.scw-page .scw-v2-final-amount{font-size:28px!important;font-weight:950!important;line-height:1.35!important;color:#b94d00!important;letter-spacing:.2px!important}
.scw-page .scw-discount>div:last-child{min-height:92px!important;padding:18px 14px!important;border:2px solid #ffb36d!important;border-radius:14px!important;background:#fff9f2!important;align-items:center!important}
.scw-page .scw-discount>div:last-child>span{font-size:15px!important;font-weight:800!important;color:#334155!important}
.scw-page .scw-review-grid .is-total b{font-size:22px!important;font-weight:950!important;color:#b94d00!important}

/* OTP: the hidden legacy verify button must never take layout space. */
.scw-page [data-otp-verify][hidden]{display:none!important}
.scw-page .scw-otp-box>div{grid-template-columns:1fr!important}
.scw-page .scw-otp-box [data-otp-request]{width:100%!important;background:#fff5e8!important;color:#a84b00!important;border:1px solid #ffad61!important}
.scw-page .scw-otp-box [data-otp-code]{grid-column:1!important;text-align:center!important;font-size:24px!important;font-weight:900!important;letter-spacing:8px!important}
.scw-page [data-final-submit]:disabled{opacity:.42!important;cursor:not-allowed!important}

@media(max-width:420px){
 .scw-page .scw-v2-address-comboboxes{grid-template-columns:1fr!important}
 .scw-page .scw-v2-address-comboboxes>textarea{grid-column:1!important}
 .scw-page .scw-mobile-welcome h1{margin-top:4px!important}
}
