/* IF SEO Audit — formularz */
.ifsa-form { max-width: 640px; }
.ifsa-form-intro { margin-bottom: 10px; }
.ifsa-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ifsa-input {
    flex: 1; min-width: 200px; padding: 12px 14px; font-size: 15px;
    border: 1px solid #d1d5db; border-radius: 8px;
}
.ifsa-submit {
    background: #2563eb; color: #fff; border: 0; border-radius: 8px;
    padding: 12px 26px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.ifsa-submit:hover { filter: brightness(1.1); }
.ifsa-submit[disabled] { opacity: 0.6; cursor: wait; }
.ifsa-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; }
.ifsa-consent input { margin-top: 3px; }
.ifsa-star { color: #dc2626; }
.ifsa-progress { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.ifsa-progress[hidden] { display: none; }

/* Warstwa analizy — reguły z !important, bo motywy (Oxygen) potrafią nadpisać
   display/wymiary elementów listy i span-ów, co gniecie cały layout. */
.ifsa-overlay {
    position: fixed !important; inset: 0; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.92);
    display: flex !important; align-items: center; justify-content: center;
    animation: ifsa-fade 0.3s ease;
}
.ifsa-overlay, .ifsa-overlay * { box-sizing: border-box !important; }
@keyframes ifsa-fade { from { opacity: 0; } to { opacity: 1; } }
.ifsa-overlay-box {
    background: #fff !important; border-radius: 16px; padding: 34px 44px 30px;
    max-width: 480px; width: calc(100% - 32px); text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    max-height: calc(100vh - 40px); overflow-y: auto;
}
.ifsa-overlay-brand {
    display: flex !important; align-items: center; justify-content: center;
    gap: 10px; margin: 0 0 20px !important;
    font-weight: 800; font-size: 19px; color: #141816;
}
.ifsa-overlay-brand img { height: 24px !important; width: auto !important; display: inline-block !important; }
.ifsa-overlay-brand em { font-style: normal; color: #14dd7b; }
.ifsa-overlay-box h3 { font-size: 19px; margin: 16px 0 18px !important; color: #141816; font-weight: 800; }
.ifsa-overlay-domain { color: #FF6B00; word-break: break-all; }
.ifsa-overlay-spinner {
    width: 46px !important; height: 46px !important; margin: 0 auto !important;
    border: 4px solid #e5e7eb; border-top-color: #FF6B00;
    border-radius: 50%; animation: ifsa-spin 0.8s linear infinite;
}
.ifsa-steps { list-style: none !important; margin: 0 !important; padding: 0 !important; text-align: left; }
.ifsa-step {
    display: flex !important; align-items: center; gap: 12px;
    padding: 7px 0 !important; margin: 0 !important;
    font-size: 15px; line-height: 1.4; color: #9ca3af;
    list-style: none !important;
    transition: color 0.3s ease;
}
.ifsa-step::before, .ifsa-step::marker { content: none !important; }
.ifsa-step-icon {
    flex: none !important; display: inline-block !important;
    width: 19px !important; height: 19px !important;
    min-width: 19px !important; min-height: 19px !important;
    border-radius: 50% !important;
    border: 2px solid #d1d5db; background: transparent;
    position: relative;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.ifsa-step-active { color: #141816; font-weight: 800; }
.ifsa-step-active .ifsa-step-icon {
    border-color: #FF6B00; border-top-color: transparent !important;
    animation: ifsa-spin 0.7s linear infinite;
}
.ifsa-step-done { color: #374151; font-weight: 400; }
.ifsa-step-done .ifsa-step-icon {
    border-color: #12b56d; background: #12b56d !important; animation: none;
}
.ifsa-step-done .ifsa-step-icon::after {
    content: "✓"; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    color: #fff; font-size: 12px; font-weight: 700; line-height: 15px;
    text-align: center;
}
.ifsa-overlay-note { margin: 18px 0 0 !important; font-size: 13px; color: #9ca3af; }
.ifsa-progress-text { font-size: 14px; color: #6b7280; }
.ifsa-spinner {
    width: 22px; height: 22px; border: 3px solid #e5e7eb; border-top-color: #2563eb;
    border-radius: 50%; animation: ifsa-spin 0.8s linear infinite; flex: none;
}
@keyframes ifsa-spin { to { transform: rotate(360deg); } }
.ifsa-error { color: #dc2626; font-size: 14px; margin-top: 10px; }
