

.sql-container{
  max-width:1300px;
  margin:auto;
  padding:20px;
}

/* HEADER */

.sql-header{
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  padding:45px 20px;
  border-radius:18px;
  text-align:center;
  color:#fff;
  margin-bottom:25px;
}

.sql-header h1{
  font-size:45px;
  margin-bottom:10px;
  color:#fff;
}

.sql-header p{
  font-size:17px;
  opacity:.95;
}

/* GRID */

.sql-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

/* CARD */

.sql-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #ddd;
}

.card-head{
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  padding:16px 20px;
  color:#fff;
  font-weight:700;
  font-size:18px;
}

.card-body{
  padding:20px;
}

.small-text{
  font-size:14px;
  color:#666;
  margin-bottom:14px;
}

textarea{
  width:100%;
  min-height:350px;
  resize:vertical;
  border:1px solid #f3c6cf !important;
  border-radius:12px !important;
  padding:18px;
  font-size:14px;
  outline:none;
  font-family:monospace;
  line-height:1.6;
}

textarea:focus{
  border-color:#d20d87;
}

/* BUTTONS */

.btn-wrap{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

button{
  border:none;
  cursor:pointer;
  padding:13px 22px;
  border-radius: 111px 35px !important;;
  color:#fff;
  font-weight:700;
  font-size:14px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
}

button::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:50%;
  height:100%;
  background:rgba(255,255,255,.3);
  transform:skewX(-25deg);
}

button:hover::after{
  animation:shine .8s;
}

@keyframes shine{
  100%{
    left:150%;
  }
}

/* STATUS */

.status-text{
  font-size:15px;
  margin-bottom:20px;
  font-weight:600;
}

/* STATS */

.stats-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  margin-bottom:22px;
}

.stat-box{
  background:#f7f7f7;
  border-radius:14px;
  padding:18px;
  text-align:center;
}

.stat-box h4{
  font-size:14px;
  color:#555;
  margin-bottom:12px;
}

.stat-box span{
  font-size:34px;
  font-weight:700;
  color: #ff93a9;
}

/* RESULT BOX */

.result-box{
  border:1px solid #ddd;
  border-radius:14px;
  margin-bottom:16px;
  overflow:hidden;
}

.result-title{
  background:#fafafa;
  padding:14px 16px;
  font-weight:700;
  color:#222;
}

.result-content{
  padding:16px;
  font-size:14px;
  line-height:1.7;
  color:#444;
}

.result-content code{
  display:block;
  margin-top:10px;
  background:#f4f4f4;
  padding:12px;
  border-radius:10px;
  overflow:auto;
  font-family:monospace;
  color:#000;
}

/* COLORS */

.valid{
  color:#10b981;
}

.invalid{
  color:#ef4444;
}

.warning{
  color:#f59e0b;
}

/* RESPONSIVE */

@media(max-width:900px){

  .sql-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:600px){

  .sql-header h1{
    font-size:32px;
  }

  textarea{
    min-height:250px;
  }

  .stats-grid{
    grid-template-columns:1fr;
  }

  button{
    width:100%;
  }

}