.innovix-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.innovix-modal-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

.innovix-modal-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: default;
}

.innovix-modal-backdrop.is-active .innovix-modal-card {
    transform: scale(1);
}

.innovix-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.innovix-modal-icon.success {
    background: #dcfee7;
    color: #16a34a;
}

.innovix-modal-icon.error {
    background: #ffeeef;
    color: #dc2626;
}

.innovix-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.innovix-modal-body {
    font-size: 15px;
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.6;
}

.innovix-modal-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.innovix-modal-btn:hover {
    background: #1e293b;
}

/* Target inputs inside a container marked with error */
.form-input-container.has-error input,
.form-input-container.has-error select,
.form-input-container.has-error textarea {
    border: 1px solid #dc2626 !important;
    background-color: #ffeeef !important;
}

.field-error-hint {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    font-family: sans-serif;
    text-align: left;
}
/* Fix for the Enquiry Type dropdown wrapper */
.contact-select-wrap {
    position: relative;         
    display: inline-block;      
    width: 100%;                 
}

/* Forces the select field to stay neat and strips default browser arrows */
.form-field-select {
    width: 100%;
    -webkit-appearance: none;    
    -moz-appearance: none;       
    appearance: none;            
    padding-right: 40px;      
}

