#popup-overlay,
#popup-overlay-matching{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / .5);
    z-index: 1000;
    overflow-y: scroll;
    cursor: pointer;
}
#popup{
    display: none;
    width: 100%;
    max-width: 570px;
    border-radius: 20px;
    position: fixed;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    overflow: auto;
    z-index: 1001;
  max-height: 80vh;
    overflow: auto;
      padding: 40px;
  background: #fff;
  
}
#popup-matching{
  display: none;
    width: 100%;
    max-width: 342px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: auto;
    z-index: 1001;
      height: 90%;
    overflow: auto;
}
#popup.show,
#popup-matching.show{
    animation: slideUp 0.5s ease-out forwards;
}
#popup.hide,#popup-matching.hide{animation:slideDown 0.5s ease-in forwards;}
#close-popup,
#close-popup-matching{
    border-radius: 50%;
    border: none;
   width: 32px;
    height: 32px;
    margin-bottom: 10px;
    float: right;
    background-color: #E7F1F9;
    position: relative;
}
#close-popup::after,
#close-popup-matching::after{
    content: "✕";
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    color: black;
}
.generated-form .input-row{
  width: 100%;
}
.generated-form .input-row input, 
.generated-form .input-row select{
  border:1px solid #ddd;
}
.input-row-newsletter-title p{
  text-align: center;
    font-weight: 500;
    line-height: 100%;
}
.generated-form .js-upload-file{
    background: #F8F8F8;
    border: 1px solid #ddd;
    
}
.generated-form .js-upload-file.upload,
.generated-form .js-upload-file.uploading{
  min-height: 71px;
}
.input-row.error input,
.input-row.error select
{
  border:1px solid red;
}
@keyframes slideUp {
	from {
		transform: translate(-50%, 100%);
		opacity: 0;
	}

	to {
		transform: translate(-50%, -50%);
		opacity: 1;
	}
}

@keyframes slideDown {
	from {
		transform: translate(-50%, -50%);
		opacity: 1;
	}

	to {
		transform: translate(-50%, 100%);
		opacity: 0;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}
/* FORM */
.input-row-newsletter-title{
  width: 100%;
    font-size: 24px;
    max-width: 300px;
    margin: 0 auto;
    padding-top: 50px;
    color: #1075BE;
}
.input-row-newsletter-title p{
  line-height: 28px;
}
.input-row-Consent .checkbox-label{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
/* .checkbox-label input[type=checkbox]{
      width: 38px;
    height: 25px;
    margin-right: 10px;
      appearance: auto;
} */
.checkbox-label span p{
  font-size: 13px;
  line-height: 20px;
}
.input-row select::after{
  background: #fff0 url('https://res.cloudinary.com/smartdreamers/image/upload/v1780908573/media_library/633/29862/997_997_Frame%2816%29_ff72dd2bf129129d564e53474b6a39a3_91d98fa2786957547884eb557968285f.svg') repeat scroll 0% 0%;
    content: "";
    height: 1rem;
    right: 20px;
    position: absolute;
    width: 1rem;
    top: 33%;
}
.text-label span,
.select-label span,
.uploader-label span{
  font-size: 13px;
}
.input-row input,
.input-row select{
  font-size: 13px;
  color: #949CAB;
  padding: 12px 12px;
}
.input-row-Resume .js-upload-file{
  border: 1px dashed #DDDDDD!important;
  justify-content: center;
    align-items: center;
}
.js-upload-file .upload-file-label{
  border-right: 0px!important;
  font-size: 13px;
  margin-top:10px;
}
.generated-form .input-row-email .text-label{
  display: block;
}
.js-upload-file.upload .uploaded-file-wrapper{
  display: none!important;
}
.input-row select {
  background-size: 13px;
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: center;
    background-image: url('https://res.cloudinary.com/smartdreamers/image/upload/v1780908573/media_library/633/29862/997_997_Frame%2816%29_ff72dd2bf129129d564e53474b6a39a3_91d98fa2786957547884eb557968285f.svg');
}
.js-upload-file.uploaded .uploaded-file-wrapper{
    display: flex !important;
    /* margin-top: 10px; */
    gap: 10px;
    align-items: center;
    /* max-width: 380px; */
    width: 100%;
  min-height: 45px;
  justify-content: space-between;
}
.js-upload-file.uploading .uploaded-file-name{
  display: none;
  
}
.js-upload-file.uploaded label{
  display: none;
}
.generated-form .input-row-Resume .upload-file-label:hover {
    background: none;
}
.uploaded-file-name{
  font-size: 13px;
  color: #00A551;
  display: flex;
  align-items: center;
}
.uploaded-file-name::before{
    background: url('https://res.cloudinary.com/smartdreamers/image/upload/v1781006492/media_library/600/29898/997_Frame%2811%29_605bade904ca9d6ebefaac5ac4428e3d.svg');
    filter: invert(1);
    content: '';
    min-width: 20px;
    height: 18px;
    display: block;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-size: 16px;
}
.form-submit-button:hover{
  background: #0560a1;
  color: #fff;
}
.js-remove-file.delete{
  color: transparent;
    background: url('https://res.cloudinary.com/smartdreamers/image/upload/v1781208778/media_library/633/29961/997_delete-black_10bb413842caa584159e652bd17db9ee.svg');
    background-repeat: no-repeat;
    background-size: 13px;
    width: 45px;
    height: 15px;
    align-self: center;
}
.input-row input{
  color:black;
}
.generated-form .form-submit-button{
  min-width: 158px;
}
.js-upload-file.uploaded .js-remove-file.delete{
  display: block;
}
.input-row-Consent{
  margin-top:15px;
}
.js-remove-file.delete{
  margin-right: 14px;
}
.generated-form .js-upload-file.upload,
.generated-form .js-upload-file.uploading
/* .upload-file-label */
{
    background: url('https://res.cloudinary.com/smartdreamers/image/upload/v1781187231/media_library/633/29959/997_a89f8c82088423e11a85909d7a2c241f_31a443f2f8a9fe3688ee74e3809050a2.svg');
    background-repeat: no-repeat;
    background-size: 15px;
    background-position-x: center;
    background-position-y: 10px;
    background-color: #F8F8F8;
}
#submit-7ecabb65952f8ffaa47245505a3c2d1d{
  border-radius: 30px !important;
    font-size: 16px;
}
.success-message p:first-child{
      color: #1075BE;
    font-size: 24px;
    font-weight: 500;
}
.checkbox-label a{
  color: black;
}
.success-message p:nth-child(2){
  font-size: 19px;
    line-height: 29px;
    font-weight: 500;
    margin-top: 30px;
}
.success-message p a{
  background: #1075BE;
    color: #fff;
    width: fit-content;
    text-decoration: none;
    border-radius: 30px;
    padding: 50px 17px;
    padding: 17px 50px;
    text-align: center;
    margin: 0 auto;
}
.success-message{
      padding: 40px 0px;
}
/* CHECKBOX */
input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  margin-right: 10px;
  padding: 9px;
}

/* Error */
.input-row.error input[type="checkbox"]:not(:checked) {
  border-color: #dc3545;
  appearance: none;
}

/* Checked */
input[type="checkbox"]:checked {
  background-color: #1075be;
  border-color: #1075be;
}
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* FORM --- END */