.haccpro-consult-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(24, 47, 39, 0.55);
    backdrop-filter: blur(2px);
}

.haccpro-consult-overlay[hidden] {
    display: none !important;
}

.haccpro-consult-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 32px 28px 28px;
    border-radius: 16px;
    background: #ffffff;
    color: #182f27;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e7eb;
}

.haccpro-consult-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #f9fafb;
    color: #182f27;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.haccpro-consult-close:hover {
    background: #ecebe4;
    border-color: #d1d5db;
}

.haccpro-consult-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b6a66;
}

.haccpro-consult-title {
    margin: 0 0 8px;
    padding-right: 36px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
    color: #182f27;
}

.haccpro-consult-subtitle {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #6b6a66;
}

.haccpro-consult-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.haccpro-consult-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.haccpro-consult-label {
    font-size: 14px;
    font-weight: 500;
    color: #182f27;
}

.haccpro-consult-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #182f27;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.haccpro-consult-field input::placeholder {
    color: #9ca3af;
}

.haccpro-consult-field input:focus {
    border-color: #b2d45b;
    box-shadow: 0 0 0 3px rgba(178, 212, 91, 0.25);
}

.haccpro-consult-hint {
    margin: 0;
    font-size: 13px;
    color: #6b6a66;
}

.haccpro-consult-submit {
    margin-top: 4px;
    width: 100%;
    padding: 14px 24px;
    border: 1px solid #002b22;
    border-radius: 50px;
    background: #c5e96b;
    color: #182f27;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.haccpro-consult-submit:hover:not(:disabled) {
    background: #b2d45b;
}

.haccpro-consult-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.haccpro-consult-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
}

.haccpro-consult-alert[hidden] {
    display: none !important;
}

.haccpro-consult-alert-success {
    background: #ecfccb;
    color: #365314;
    border: 1px solid #bef264;
}

.haccpro-consult-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

body.haccpro-consult-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .haccpro-consult-modal {
        padding: 28px 20px 22px;
    }

    .haccpro-consult-title {
        font-size: 22px;
    }
}
