#complaint-wrapper {
    margin: 40px auto 100px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    max-width: 920px;
    width: 100%;
}

#complaint-wrapper .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    /* height: 130px; */
    max-width: 920px;
    width: 100%;
    margin-bottom: 40px;
}

#complaint-wrapper .top img {
    width: 76px;
    height: 79px;
    margin-right: 30px;
}

#complaint-wrapper .top .cloud {
    background-color: #EAEEF2;
    padding: 8px 24px 8px 14px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 140%;
}

#complaint-wrapper .card {
    max-width: 628px;
    width: 100%;
    padding: 36px 24px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: -1px 0 0 0 rgba(0, 0, 0, 0.05), 5px 5px 10px rgba(0, 0, 0, 0.07);
}

.align-center {
    align-items: center;
}

#complaint-wrapper .card .title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 32px;
}

#complaint-wrapper .card .text {
    margin-top: -32px;
    margin-bottom: 32px;
}

#complaint-wrapper .card form {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

#complaint-wrapper .card .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

#complaint-wrapper .card .row .text-field {
    display: flex;
    flex-basis: calc(50% - 8px);
}

#complaint-wrapper .card .row input {
    height: 56px;
    background-color: #F5F6F7;
    border: solid 1px #E8E9EB;
    color: #bbb0cb;
    opacity: 0.8;
    font-size: 16px;
    width: 100%;
    padding-left: 48px;
    border-radius: 4px;
}

#complaint-wrapper .card .row .text-field {
    position: relative;
}

#complaint-wrapper .card .row .text-field.phone-wrapper::before {
    content: '';
    color: #bdbdbd;
    position: absolute;
    display: flex;
    align-items: center;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.8' fill-rule='evenodd' clip-rule='evenodd' d='M7 1L17 1.01C18.1 1.01 19 1.9 19 3V21C19 22.1 18.1 23 17 23H7C5.9 23 5 22.1 5 21V3C5 1.9 5.9 1 7 1ZM7 19H17V5H7V19Z' fill='%23BBC0CB'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

#complaint-wrapper .card .row .text-field.email-wrapper::before {
    content: '';
    color: #bdbdbd;
    position: absolute;
    display: flex;
    align-items: center;
    left: 5px;
    top: calc(50% - 2px);
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.8' fill-rule='evenodd' clip-rule='evenodd' d='M6.53341 7.5H21.4667C22.4934 7.5 23.3334 8.34 23.3334 9.36667V20.5667C23.3334 21.5933 22.4934 22.4333 21.4667 22.4333H6.53341C5.50675 22.4333 4.66675 21.5933 4.66675 20.5667L4.67608 9.36667C4.67608 8.34 5.50675 7.5 6.53341 7.5ZM14.0001 15.9L21.4667 11.2333V9.36667L14.0001 14.0333L6.53341 9.36667V11.2333L14.0001 15.9Z' fill='%239FA5B7'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

#complaint-wrapper .card textarea {
    border: 1px solid #bbc0cb;
    border-radius: 4px;
    resize: none;
    height: 120px;
    overflow-y: auto;
    padding: 12px;
}

#complaint-wrapper .card textarea:placeholder {
    color: #bbc0cb;
    opacity: 1;
}

#complaint-wrapper .card textarea::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #bbc0cb;
}

#complaint-wrapper .card textarea::-moz-placeholder {
    /* Firefox 19+ */
    color: #bbc0cb;
    opacity: 1;
}

#complaint-wrapper .card textarea:-ms-input-placeholder {
    /* IE 10+ */
    color: #bbc0cb;
}

#complaint-wrapper .card textarea:-moz-placeholder {
    /* Firefox 18- */
    color: #bbc0cb;
    opacity: 1;
}

#complaint-wrapper .card textarea.is-invalid {
    border: 2px solid red;
    background-color: #fee9e8;
}

#complaint-wrapper .card .btn:disabled {
    background-color: #EAEEF2;
    color: #999da8;
}

#complaint-wrapper .card .btn {
    width: 220px;
    height: 48px;
    border-radius: 28px;
    background-color: #FF6622;
    text-align: center;
    margin: 0 auto;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

#complaint-wrapper .card .btn-url {
    width: 220px;
    /* height: 48px; */
    border-radius: 28px;
    background-color: #FF6622;
    text-align: center;
    margin: 0 auto;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    padding: 14px;
    text-decoration: none;
}

/*** drop files area ***/
.drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drop-area.is-invalid {
    border-color: red;
    background-color: #fee9e8;
}

.drop-area.highlight {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.drop-area p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #555;
}

.drop-area #browse-link {
    color: #ff9e49;
    text-decoration: none;
}

.drop-area #browse-link:hover {
    text-decoration: underline;
}

.drop-area #file-error,
#mobile-file-error {
    color: red;
    margin-top: 10px;
    font-size: 14px;
    font-family: Mulish;
}

.file-list {
    /* margin-top: 15px; */
    text-align: left;
}

.file-list .file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 14px;
}

.file-list .file-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.file-list .file-item .remove-file {
    color: red;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
}

.mobile-file-upload-block {
    display: none;
}

/*** mobile ***/
@media (max-width: 920px) {
    #complaint-wrapper {
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
        align-items: center;
    }

    #complaint-wrapper .card {
        padding: 24px 16px;
    }

    #complaint-wrapper .top {
        margin-bottom: 0;
    }

    .file-upload-block {
        display: none;
    }

    .mobile-file-upload-block {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 7px;
    }

    .uploaded-files-title {
        color: #747983;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 10px;
        margin-top: 6px;
    }

    .file-list {
        width: 100%;
        text-align: left;
    }

    .mobile-file-upload-block #mobile-browse-link {
        background-color: #9fa5b7;
        color: #ffffff;
        text-decoration: none;
        padding: 14px 0;
        width: 100%;
        text-align: center;
        position: relative;
    }

    .mobile-file-upload-block #mobile-browse-link::before {
        content: '';
        display: inline-block;
        width: 30px;
        height: 21px;
        background-image: url('/img/site/cloud-data-upload-icon.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        position: absolute;
        top: 14px;
        left: calc(50% - 85px);
    }

    .mobile-file-upload-block #mobile-drop-area {
        border: none;
        /* width: calc(100vw - 30px); */
        width: 100%;
        max-width: -moz-available;
        padding: 0;
    }
}

@media (max-width: 706px) {
    #complaint-wrapper .card {
        width: calc(100vw - 30px);
        max-width: -moz-available;
    }
}

@media (max-width: 500px) {
    #complaint-wrapper .card .row {
        flex-direction: column;
        align-items: normal;
    }
}

#spinner-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}
#spinner-overlay.visible {
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
  color: #ffffff;
  font-size: 45px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  transform: translateZ(0);
  animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
}

@keyframes mltShdSpin {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em,
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, 
    -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, 
    -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
     -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, 
     -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
     -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, 
     -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 
    0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

@keyframes round {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(360deg) }
}
 