
/*tools start*/

.tools_section{
    padding: 28px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
@media screen and (min-width:768px){
    .tools_section{
        padding: 64px;
    }
}

.tools_wrapper{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
@media screen and (min-width:768px){
    .tools_wrapper{
        padding: 24px;
        gap: 24px;
    }
}

.textarea {
    width: 100%;
    border: 2px dashed var(--btn-bgcolor);
    border-radius: 12px;
    box-shadow: 0 4px 7px #09404a33;
    height: 200px;
    padding: 10px;
    font-size: 14px;
}
.textarea:focus-visible {
    outline: none;
}
@media screen and (min-width:768px){
    .textarea {
        height: 250px;
        font-size: 16px;
        padding: 10px 16px;
    }    
}

.btn_group{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
@media screen and (min-width:768px){
    .btn_group{
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }   
}
.btn_group button:first-child {
    grid-column: span 2;
}
.btn_group button {
    min-width: max-content;
    transition: all 0.3s ease;
}

#btn_download.loading {
  background:#047857;
  cursor:not-allowed;
  opacity:0.8;
}

#btn_download.loading::after {
  content:"";
  width:14px;
  height:14px;
  margin-left:8px;
  border:2px solid #fff;
  border-top:2px solid transparent;
  border-radius:50%;
  display:inline-block;
  animation:spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform:rotate(360deg); }
}
