
.custom-form5-form-style .form-control-custom .form-control {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    color: #1e1e1e;
    font-size: 16px !important;
    padding: 6px 0;
    margin-bottom: 15px;
    box-shadow: none;
    font-weight: 700 !important;
}

.custom-form5-form-style .form-control-custom .form-control::-webkit-input-placeholder {
    color: #1e1e1e;
    font-weight: 600;
}

.custom-form5-form-style .form-control-custom .form-control::-moz-placeholder {
    color: #1e1e1e;
    font-weight: 600;
}

.custom-form5-form-style .form-control-custom .form-control:-ms-input-placeholder {
    color: #1e1e1e;
    font-weight: 600;
}

/* LIGHT FORM */
.custom-form5-form-style .form-control-custom.form-control-custom-form5-light .form-control {
    color: #FFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-light .form-control::-webkit-input-placeholder {
    color: #FFF;
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-light .form-control::-moz-placeholder {
    color: #FFF;
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-light .form-control:-ms-input-placeholder {
    color: #FFF;
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-light .form-control:-moz-placeholder {
    color: #FFF;
}


/*  TERTIARY FORM */
.custom-form5-form-style .form-control-custom.form-control-custom-form5-tertiary .form-control {
    color: var(--tertiary);
    border-bottom: 1px solid var(--tertiary) !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-tertiary .form-control::-webkit-input-placeholder {
    color: var(--tertiary);
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-tertiary .form-control::-moz-placeholder {
    color: var(--tertiary);
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-tertiary .form-control:-ms-input-placeholder {
    color: var(--tertiary);
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.custom-form5-form-style .form-control-custom.form-control-custom-form5-tertiary .form-control:-moz-placeholder {
    color: var(--tertiary);
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}


.checkbox-custom-form5-transparent {
    appearance: none;
    background-color: transparent;
    border: 1px solid #ffffff;
    width: 20px;
    height: 18px;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
}

.checkbox-custom-form5-transparent-tertiary {
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--tertiary);
    width: 20px;
    height: 18px;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
}

.checkbox-custom-form5-transparent:checked {
    background-color: transparent;
}

.checkbox-custom-form5-transparent:checked::before {
    content: '✓'; /* Unicode for check mark */
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-custom-form5-transparent-tertiary:checked::before {
    content: '✓'; /* Unicode for check mark */
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-custom-form5-transparent:focus {
    outline: none; /* Remove default focus outline */
}

.checkbox-custom-form5-transparent-tertiary:focus {
    outline: none; /* Remove default focus outline */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.custom-form5-placeholder::placeholder {
    font-size: 16px !important;
    font-weight: 300 !important;
}

.custom-form5-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.custom-form5-checkbox-label input {
    margin-right: 10px; /* Spacing between checkbox and text */
}

.custom-form5-text-grey {
    color: #9A9A9A !important;
}

.custom-form5-overlay-gradient:before {
    background-color: rgba(255, 255, 255, 0) !important;
    background-image: linear-gradient(to right, #000000 0%, rgba(255, 255, 255, 0) 100%) !important;
}

@media (min-width: 576px) {
    .fw-text-sm-40px {
        font-size: 40px !important;
    }
}
