:root {
  --indigo: #4f46e5;
  --emerald: #10b981;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.88);
  --radius: 12px;
  --shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
* {
  box-sizing: border-box;
}
body {
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.containers{
  padding: 150px 0 100px;
}
.header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.logo1 {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--text));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow);
}
.header h2{
  font-size: 20px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}
.lead {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
  font-weight: 400;
}
.uploader {
  position: relative;
  margin-top: 18px;
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.dropzone {
  border: 2px dashed rgba(79, 70, 229, 0.12);
  border-radius: 10px;
  padding: 60px 18px;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
  background: linear-gradient(
    180deg,
    rgba(79, 70, 229, 0.02),
    rgba(12, 12, 68, 0.02)
  );
}
.dropzone.dragover {
  background: rgba(79, 70, 229, 0.03);
  border-color: rgba(79, 70, 229, 0.4);
}
.dropzone p {
  margin: 6px 0;
  color: var(--muted);
}
#browseBtn{
  font-size:12px;
  padding:6px 8px;
}
.controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.btn1 {
  background: var(--indigo);
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.12);
}
.btn1.secondary1 {
  background: transparent;
  color: var(--indigo);
  border: 1px solid rgba(79, 70, 229, 0.12);
  box-shadow: none;
}
.btn1.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px dashed rgba(0, 0, 0, 0.06);
}
.controls .btn1, #defaultBtn{
  font-size: 14px;
  padding: 6px 14px;
}
.preview-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.card {
  background: var(--glass);
  border-radius: 10px;
  padding: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  min-height: 160px;
  justify-content: flex-start;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.12);
  cursor: pointer;
}
.thumb {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 6px;
}
.page-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-btn {
  background: transparent;
  border: 0;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
}
.icon-btn.delete {
  color: #ef4444;
  font-size: 12px;
}
.page-actions label{

}
.drag-handle {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0.6;
  cursor: grab;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
.progress {
  height: 8px;
  background: #e6e9ef;
  border-radius: 999px;
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--indigo), var(--emerald));
}
.footer1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 12px;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--indigo);
  animation: spin 0.9s linear infinite;
}

/* Common slider style */
input[type="range"] {
  -webkit-appearance: none; 
  width: 200px;
  height: 8px;
  border-radius: none;
  background: #e6e9ef; /* track background */
  outline: none;
  transition: background 0.15s ease;
  vertical-align: middle;
  cursor: pointer;
}

input[type="range"]:hover {
  background: #d1d5db;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -5px;
  border-radius: 50%;
  background: #4F46E5;  
  border: 1px solid #fff;  
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}  

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* Firefox thumb */
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4F46E5;
  border: 2px solid #10B981;
  cursor: pointer;
}

/* IE / Edge thumb */
input[type="range"]::-ms-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4F46E5;
  border: 2px solid #10B981;
  cursor: pointer;
}

/* Optional: show colored filled track for Webkit */
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #4F46E5 0%, #1f2937 100%);
}

/* Add some spacing for the value display */
.enhance-settings label span {
  display: inline-block;
  width: 30px;
  text-align: center;
  font-weight: 600;
  margin-right: 6px;
}
.enhance-settings{
  margin: 50px 0 30px 0;  
}
.enhance-settings div{
  display: flex;
  justify-content: space-between;  
}

#clearBtn{
  margin-left: 8px;
}
.scanix-header{
  padding: 100px 0 0;
  text-align: center;
}

.scanix-header h1{
  background: linear-gradient(90deg, #1f2937, #4F46E5);  
  -webkit-background-clip: text;  
  -webkit-text-fill-color: transparent;  
  background-clip: text;
  color: transparent; 
  font-size: 5rem;  
  line-height: 6rem;
  font-weight: bold;   
}
.scanix-header p{
  color: var(--muted);
  margin-bottom: 50px;
}
.scanix-header .btn{
  background: linear-gradient(90deg, #1f2937, #4F46E5);  
  font-family: "Manrope", sans-serif;
  padding: 14px 40px;
  font-weight: 600;
  border: none;
  border-radius: 3px;
}

.scanix-how{
  padding: 200px 0 ;
}

.scanix-how h2{
  text-align: center;
  font-size: 52px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 100px;
}
.scanix-how .scanix-card{
  border: 2px dashed rgba(79, 70, 229, 0.12);
  border-radius: 10px;
  text-align: center;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(79, 70, 229, 0.05),
    rgba(8, 8, 53, 0.05)
  );
}
.scanix-how .scanix-card h3{
  font-size: 100px;
  font-weight: 700;
  -webkit-text-stroke: 2px #1f2937;
  color: transparent;
}

.scanix-why{
  padding: 50px 0 100px;
}
.scanix-why h2,
.scanix-ben h2{
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
}
.scanix-why ul li{
  line-height: 36px;
}
.scanix-why .col-md-5{
  text-align: right;
}
.scanix-why .col-md-7,
.scanix-ben .col-md-7{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scanix-why img, 
.scanix-ben img{
  height: 550px;
  width: 100%;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.12);
  border: 2px solid rgba(0, 0, 0, 0.09);
}
.scanix-ben{
  padding: 100px 0 200px;
}
.scanix-ben p{
  color: var(--muted);
  text-align: justify;
}
.scanix-ben .col-md-7{
  padding-left: 150px;
}
.uploader-blur {
  filter: blur(5px);
  pointer-events: none;
}
.overlay-login {
  position: absolute;
  pointer-events: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-weight: 700;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* responsive tweaks */
@media (max-width: 640px) {
  .controls {
    flex-direction: column;
    align-items: stretch;
  }
  .header {
    gap: 10px;
  }
  #clearBtn{
    margin-left: 0px;
  }
}
@media (max-width: 400px) {
  .logo1{
    width: 80px;
  }
}
@media (max-width: 992px) {
  input[type="range"] {
    width: 150px;
  }
  .scanix-header h1{
    font-size: 3rem;
    line-height: 4rem;
  }
  .scanix-header p{
    margin-bottom: 30px;
  }
  .overlay-login{
    width: 95%;
    text-align: center;
  }
}
@media (max-width: 991px) {
  .containers {
    padding: 50px 0 100px;
  }
}
@media (max-width: 769px) {
  .enhance-settings div{
    flex-direction: column;
  }
  .enhance-settings div label{
    margin-bottom: 10px;
  }
  #defaultBtn{
    width: 30%;
  }
  input[type="range"] {
    width: 100% !important; 
  }
  .scanix-how .scanix-card{
    margin-bottom: 20px;
  }
  .ben1{
    flex-direction: column-reverse;
  }

}
@media (max-width: 570px) {
  .logo1{
    width: 60px;
  }
  .card .drag-handle.small{
    font-size: 20px;
  }
  .scanix-how h2, .scanix-why h2, .scanix-ben h2{
    font-size: 34px;
  }
  .scanix-how h2{
    margin-bottom: 50px;
  }
  .scanix-why h2, .scanix-ben h2{
    margin-bottom: 20px;
  }
  .scanix-why li{
    font-size: 14px;
  }
  .scanix-how .col-md-3{
    padding: 0 40px;
  }
  .scanix-how .scanix-card{
    margin-bottom: 20px;
  }
  .scanix-why ul{
    margin-bottom: 50px;
  }
  .scanix-ben .col-md-7{
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
  .scanix-ben {
    padding: 50px 0 100px;
  }
  .scanix-ben p{
    font-size: 14px;
    margin-bottom: 50px;
  }
  .scanix-header {
    padding: 50px 0 0;
  }
  .scanix-how{
    padding: 100px 0;
  }

}
@media (max-width: 475px) {
  .logo1{
    width: 70px;
  }
  .scanix-header h1 {
    font-size: 2.2rem;
    line-height: 3rem;
  }
  .scanix-header p{
    font-size: 14px;
  }
  .scanix-header .btn{
    padding: 12px 30px;
    font-size: 14px;
  }
  .scanix-how{
    padding: 100px 0;
  }
  .overlay-login{
    font-size: 22px;
  }
}
@media (max-width: 409px){
  .scanix-header h1 {
    font-size: 1.8rem;
    line-height: 3rem;
  }
}

