
/* =========================================
   SELF DRIVE PAGE
========================================= */
.selfdrive-page {
  font-family: 'Poppins', sans-serif;
  background: #faf9ff;
  color: #171329;
}


/* HEADER */

.selfdrive-header {
  padding: 100px 0 85px;
  text-align: center;
  background: radial-gradient( circle at 50% 0%, rgba(108,43,217,.14), transparent 45% ), linear-gradient( 135deg, #ffffff, #f5f0ff );
}


.selfdrive-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 30px;
  color: #6c2bd9;
  background: #eee7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}


.selfdrive-header h1 {
  margin: 22px 0 15px;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
}


  .selfdrive-header h1 span {
    display: block;
    background: linear-gradient( 90deg, #6c2bd9, #a855f7, #d8b4ff );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }


.selfdrive-header p {
  max-width: 650px;
  margin: auto;
  color: #667085;
  line-height: 1.8;
  font-size: 15px;
}


/* SECTION */

.selfdrive-section {
  padding: 70px 0 100px;
}


/* CARD */

.selfdrive-card {
  position: relative;
  margin-bottom: 30px;
  padding: 35px;
  background: rgba(255,255,255,.95);
  border: 1px solid #eeeafa;
  border-radius: 25px;
  box-shadow: 0 15px 45px rgba(37,20,80,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}


  .selfdrive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(108,43,217,.10);
  }


/* HEADING */

.card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}


.heading-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 16px;
  color: white;
  font-size: 21px;
  background: linear-gradient( 135deg, #6c2bd9, #a855f7 );
  box-shadow: 0 10px 25px rgba(108,43,217,.22);
}


.card-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}


.card-heading p {
  margin: 4px 0 0;
  color: #8b90a0;
  font-size: 12px;
}


/* FORM */

.selfdrive-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #30284a;
}


.premium-input {
  min-height: 52px;
  border-radius: 13px;
  border: 1px solid #e5e0ef;
  background: #fcfbff;
  padding: 12px 15px;
  font-size: 13px;
  box-shadow: none;
  transition: border .3s ease, box-shadow .3s ease;
}


textarea.premium-input {
  min-height: 130px;
  resize: vertical;
}


.premium-input:focus {
  border-color: #8b5cf6;
  background: white;
  box-shadow: 0 0 0 4px rgba(108,43,217,.08);
}


/* UPLOAD */

.upload-box {
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed #cfc2ec;
  border-radius: 16px;
  background: #faf8ff;
  color: #6c2bd9;
  cursor: pointer;
  overflow: hidden;
  transition: .3s ease;
}


  .upload-box:hover {
    border-color: #6c2bd9;
    background: #f4efff;
  }


  .upload-box i {
    font-size: 28px;
  }


  .upload-box span {
    font-size: 12px;
    font-weight: 600;
  }


  .upload-box input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }


.selfdrive-card small {
  display: block;
  margin-top: 7px;
  color: #9296a5;
  font-size: 10px;
}


/* ISSUE */

.issue-card {
  border-color: #f0e6ff;
}


.issue-icon {
  background: linear-gradient( 135deg, #e879f9, #6c2bd9 );
}


/* CONFIRMATION */

.confirmation-box {
  padding: 20px 25px;
  margin-bottom: 30px;
  border-radius: 17px;
  background: #f3edff;
  border: 1px solid #e4d8ff;
}


.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #51486b;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
}


  .check-label input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: #6c2bd9;
  }


/* SUBMIT */

.submit-area {
  text-align: center;
}


.selfdrive-submit {
  border: none;
  padding: 16px 30px;
  border-radius: 15px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient( 135deg, #6c2bd9, #a855f7 );
  box-shadow: 0 15px 35px rgba(108,43,217,.25);
  transition: all .35s ease;
  cursor: pointer;
}


  .selfdrive-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(108,43,217,.35);
  }


  .selfdrive-submit i {
    margin-right: 8px;
  }


.submit-area p {
  margin-top: 15px;
  color: #9296a5;
  font-size: 11px;
}


  .submit-area p i {
    color: #6c2bd9;
    margin-right: 4px;
  }


/* MOBILE */

@media(max-width:576px) {

  .selfdrive-header {
    padding: 70px 20px;
  }

  .selfdrive-section {
    padding: 45px 15px 70px;
  }

  .selfdrive-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .card-heading h2 {
    font-size: 18px;
  }

  .selfdrive-header h1 {
    font-size: 42px;
  }

  .selfdrive-submit {
    width: 100%;
  }
}


