/* Brevo Form Custom Styling */
.brevo-form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brevo-form-wrapper .sib-form {
    width: 100%;
    max-width: 800px;
    background: transparent !important;
    padding: 0 !important;
}


/* Hide default Brevo container styling */
.brevo-form-wrapper #sib-container.brevo-form-custom {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hide image block */
.brevo-form-wrapper .sib-image-form-block {
    display: none !important;
}

/* Form blocks container */
.brevo-form-wrapper #sib-container.brevo-form-custom>form {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.brevo-form-wrapper #sib-container.brevo-form-custom>form> div{
    padding: 0 !important;
}

/* Input field styling */
.brevo-form-wrapper #sib-container.brevo-form-custom .sib-input {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    padding: 0 !important;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .form__entry {
    padding: 0 !important;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .form__label-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .entry__label {
    display: none !important;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .entry__field {
    width: 100%;
    background: transparent;
    border: 0;
    margin-top: 0;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .entry__field input {
    width: 100%;
    min-height: 51px;
    padding: 14px 20px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid #FFFFFF59;
    color: #ffffff;
    font-size: 16px;
    font-family: var(--font-text);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .entry__field input::placeholder {
    color: #FFFFFF !important;
    text-align: left;
    font-family: var(--font-text);
}

.brevo-form-wrapper #sib-container.brevo-form-custom .entry__field input:focus {
    border-color: rgba(192, 204, 218, 1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(192, 204, 218, 0.2);
}

.brevo-form-wrapper #sib-container.brevo-form-custom .entry__field input:hover {
    border-color: rgba(192, 204, 218, 1);
}

/* Hide specification text */
.brevo-form-wrapper #sib-container.brevo-form-custom .entry__specification {
    display: none !important;
}

/* Button styling */
.brevo-form-wrapper #sib-container.brevo-form-custom .sib-form-block:last-child {
    padding: 0 !important;
    flex-shrink: 0;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .sib-form-block__button {
    padding: 14px 24px !important;
    border-radius: 50px !important;
    background-color: #ffffff !important;
    color: var(--color-sub) !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: var(--font-text) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .sib-form-block__button:hover {
    background-color: #f5f5f5 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brevo-form-wrapper #sib-container.brevo-form-custom .sib-form-block__button:active {
    transform: translateY(0);
}

/* Hide loader icon by default */
.brevo-form-wrapper #sib-container.brevo-form-custom .sib-hide-loader-icon {
    display: none;
}

.brevo-form-wrapper #sib-container.brevo-form-custom .sib-form-block__button.loading .sib-hide-loader-icon {
    display: inline-block;
}

/* Error and success messages */
.brevo-form-wrapper .sib-form-message-panel {
    margin: 0 auto 20px;
    display: none;
}

.brevo-form-wrapper .sib-form-message-panel.show {
    display: block;
}

.sib-form .entry__error{
    padding: 5px 10px;
    font-size: 14px;
}

/* Responsive design */
@media screen and (max-width: 767px) {
    .brevo-form-wrapper #sib-container.brevo-form-custom {
        flex-direction: column;
    }

    .brevo-form-wrapper #sib-container.brevo-form-custom>form {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .brevo-form-wrapper #sib-container.brevo-form-custom>form> div{
        width: 100%;
    }

    .brevo-form-wrapper #sib-container.brevo-form-custom .sib-input {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .brevo-form-wrapper #sib-container.brevo-form-custom .sib-form-block__button {
        width: 100%;
        min-width: auto;
    }
    
}