.ssdwp-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    max-width: 100%;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}
.ssdwp-form input[type="text"] {
    flex: 1;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #13919b30;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
}
.ssdwp-form input[type="text"]:focus {
    border-color: #0073aa;
}

.ssdwp-images-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.06);
    border: 1px solid #ededed;
}
.ssdwp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 2px solid #13B58A;
    padding: 0 0px 12px 0;
}
.toolbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
}
.toolbar-left input[type="checkbox"] {
    margin-right: 5px;
}
.selection-counter {
    font-weight: 600;
    color: #0073aa;
}
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.toolbar-right select {
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.slidesh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.slide-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.slide-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}
.slide-thumb.selected {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    transform: scale(1.02);
}

/*Spinner */
.ssdwp-btn-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    font-weight: 600;
    position: relative;
    min-width: 160px;
    cursor: pointer;
}
.ssdwp-btn-spinner .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.spinner {
    width: 18px;
    height: 18px;
    animation: rotate 1s linear infinite;
}
.spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}
/* Spinner Animations */
@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}
.ssdwp-btn-spinner:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/*Button CSS*/
.button-style1 {
/*   background-color: initial;
  background-image: linear-gradient(#8614f8 0, #760be0 100%); */
  border-radius: 5px;
  border-style: none;
  box-shadow: rgba(245, 244, 247, .25) 0 1px 1px inset;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
/*  height: 60px;*/
/*  line-height: 60px;*/
  margin-left: -4px;
  outline: 0;
  text-align: center;
  transition: all .3s cubic-bezier(.05, .03, .35, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: bottom;
  width: 190px;
}
.button-style1:hover {
  opacity: .7;
}
@media screen and (max-width: 1000px) {
  .button-style1 {
    font-size: 14px;
    width: 150px;
  }
}


@media only screen and (max-width: 600px) {
  .toolbar-right, .ssdwp-form {
    display: block;
  }
  #ssdwp-submit-btn, #generate-file-js{
    width: 100%;
    margin: 15px 0 0 0;
  }
  #file-type, #image-size{
    width: 100%;
    margin-bottom: 8px;   
  }
  .slidesh-grid{
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}