/* ===== E-számla regisztrációs űrlap – frontend =====
   Stílusban illeszkedik a meroallas-jelentes plugin megjelenéséhez. */
.eszamla-form-wrapper { max-width: 720px; margin: 0 auto; }
.eszamla-form-wrapper * { box-sizing: border-box; }

.eszamla-heading { margin-bottom: 24px; text-align: center; }
.eszamla-heading h3 { font-size: 24px; font-weight: 700; color: #1f2a44; margin: 0 0 6px; }
.eszamla-heading p { color: #6b7280; margin: 0; }

.eszamla-row { display: flex; flex-wrap: wrap; margin-left: -10px; margin-right: -10px; }
.eszamla-col { padding-left: 10px; padding-right: 10px; width: 100%; }
.eszamla-col-12 { width: 100%; }

.eszamla-form-group { margin-bottom: 20px; }

.eszamla-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1f2a44;
    margin-bottom: 8px;
}
.eszamla-label.required:after { content: " *"; color: #ef4444; margin-left: -4px; }

.eszamla-help-btn {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #2f7df6;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, background-color .15s ease;
}
.eszamla-help-btn:hover { background: #2563eb; transform: scale(1.12); }

.eszamla-input,
.eszamla-form-wrapper input[type="text"],
.eszamla-form-wrapper input[type="email"],
.eszamla-form-wrapper select {
    display: block;
    width: 100%;
    background-color: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #1f2a44;
    font-size: 15px;
    line-height: 1.5;
    padding: 14px 16px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.eszamla-input::placeholder { color: #9ca3af; }
.eszamla-input:focus,
.eszamla-form-wrapper select:focus {
    border-color: #2f7df6;
    box-shadow: 0 0 0 3px rgba(47, 125, 246, .15);
    outline: 0;
    background-color: #fff;
}

.eszamla-help-text { display: block; margin-top: 8px; color: #9ca3af; font-size: 13px; }

.eszamla-field-error { color: #b91c1c; font-size: 13px; margin-top: 8px; }
.eszamla-input.is-invalid { border-color: #ef4444; }

.eszamla-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14.5px;
    color: #1f2a44;
    font-weight: 400;
    margin: 0;
}
.eszamla-checkbox input { margin-top: 3px; flex: 0 0 auto; width: 17px; height: 17px; cursor: pointer; }
.eszamla-checkbox a { color: #2f7df6; text-decoration: underline; }

.eszamla-message { border-radius: 10px; margin: 0 0 20px; padding: 14px 18px; width: 100%; font-size: 14.5px; }
.eszamla-message.eszamla-success-message { background-color: #dcfce7; border: 1px solid #86efac; color: #14532d; }
.eszamla-message.eszamla-error-message { background-color: #fee2e2; border: 1px solid #fca5a5; color: #7f1d1d; }

.eszamla-nav { margin-top: 4px; }
.eszamla-btn {
    display: inline-block;
    border: 0;
    border-radius: 10px;
    background-image: linear-gradient(135deg, #2f7df6, #2563eb);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 14px 32px;
    transition: opacity .15s ease-in-out, box-shadow .15s ease-in-out;
}
.eszamla-btn:hover,
.eszamla-btn:focus { opacity: .92; box-shadow: 0 6px 18px rgba(37, 99, 235, .3); color: #fff; }
.eszamla-btn.button-loading { color: transparent !important; cursor: default; position: relative; }
.eszamla-btn.button-loading:before {
    animation: eszamla-spinner 1s linear infinite;
    border: 3px solid;
    border-color: #fff #fff transparent;
    border-radius: 50%;
    content: "";
    height: 18px;
    width: 18px;
    left: 50%;
    top: 50%;
    margin-left: -9px;
    margin-top: -9px;
    position: absolute;
}
@keyframes eszamla-spinner {
    0% { transform: rotate(0deg); }
    to { transform: rotate(1turn); }
}

/* --- Súgó felugró ablak (a meroallas modal stílusában) --- */
.eszamla-help-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, .55);
}
.eszamla-help-overlay.is-open { display: flex; }
.eszamla-help-modal {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: eszamla-modal-in .2s ease;
}
@keyframes eszamla-modal-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.eszamla-help-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #eef2f7;
}
.eszamla-help-modal-title { margin: 0; font-size: 18px; font-weight: 700; color: #1f2a44; }
.eszamla-help-close { background: none; border: 0; font-size: 26px; line-height: 1; color: #9ca3af; cursor: pointer; }
.eszamla-help-close:hover { color: #1f2a44; }
.eszamla-help-modal-body { padding: 20px 22px; overflow: auto; text-align: center; }
.eszamla-help-image { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid #eef2f7; }
