:root{
  --primary:#967136;
  --primary-dark:#7a5a28;
  --bg:#f0ebf8;
  --card:#fff;
  --text:#202124;
  --muted:#5f6368;
  --border:#dadce0;
  --danger:#d93025;
}

*{box-sizing:border-box}

body{
  background:var(--bg);
  margin:0;
  padding:0;
  color:var(--text);
  font-family:"Noto Sans Gujarati","Open Sans",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.5;
}

.rao-student-doc-shortcode{
  padding:20px 12px;
}

.rao-student-doc-shortcode .container{
  max-width:640px;
  margin:0 auto 12px auto;
  background:var(--card);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}

.rao-student-doc-shortcode .main-card{
  border-top:10px solid var(--primary);
}

.rao-student-doc-shortcode .header-image-container{
  width:100%;
  height:180px;
  background-image:url("https://iltrajkot.org/wp-content/uploads/2026/05/Science_Google_Form_Header.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  background-color:#fff;
}

.rao-student-doc-shortcode .header-image-bg{
  background-image:url("https://iltrajkot.org/wp-content/uploads/2026/05/Science_Google_Form_Header.png");
}

.rao-student-doc-shortcode .header-content{
  padding:24px;
}

.rao-student-doc-shortcode .main-title{
  font-size:28px;
  margin:0 0 10px 0;
  font-weight:700;
}

.rao-student-doc-shortcode .sub-title{
  font-size:18px;
  margin:0 0 15px 0;
  font-weight:600;
  opacity:.9;
}

.rao-student-doc-shortcode .divider{
  border:0;
  border-top:1px solid var(--border);
  margin:15px 0;
}

.rao-student-doc-shortcode .event-description p,
.rao-student-doc-shortcode .important-note p{
  margin:8px 0;
  font-size:14px;
  color:#444;
}

.rao-student-doc-shortcode .important-note{
  background:#fff8e1;
  padding:10px;
  border-left:4px solid var(--primary);
  border-radius:6px;
  margin-top:15px;
}

.rao-student-doc-shortcode .form-container{
  padding:24px;
  position:relative;
}

#rao-student-doc-message{
  padding:12px 14px;
  border-radius:8px;
  margin-bottom:12px;
  font-weight:600;
  text-align:center;
}

#rao-student-doc-message.success{
  background:#e8fff0;
  border:1px solid #bdf2cc;
  color:#0e5a26;
}

#rao-student-doc-message.error{
  background:#fff0f0;
  border:1px solid #f1b5b5;
  color:#8a1f1f;
}

#raoStudentDocLoader.loader{
  border:4px solid #f3f3f3;
  border-top:4px solid var(--primary);
  border-radius:50%;
  width:30px;
  height:30px;
  animation:raoStudentDocSpin 1s linear infinite;
  margin:12px auto 18px;
}

@keyframes raoStudentDocSpin{
  0%{transform:rotate(0)}
  100%{transform:rotate(360deg)}
}

.rao-form-overlay{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(255,255,255,.85);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  z-index:100;
  border-radius:8px;
}

.rao-form-overlay .overlay-spinner{
  border:5px solid #f3f3f3;
  border-top:5px solid var(--primary);
  border-radius:50%;
  width:50px;
  height:50px;
  animation:raoStudentDocSpin 1s linear infinite;
}

.rao-form-overlay .overlay-text{
  margin-top:16px;
  font-size:16px;
  font-weight:600;
  color:var(--primary-dark);
}

.rao-student-doc-shortcode .form-group{
  margin-bottom:18px;
  background:#fff;
  padding:15px;
  border:1px solid var(--border);
  border-radius:8px;
  transition:box-shadow .2s,border-left-color .2s;
}

.rao-student-doc-shortcode .form-group:focus-within{
  border-left:5px solid var(--primary);
  box-shadow:0 2px 6px rgba(0,0,0,.1);
}

.rao-student-doc-shortcode label{
  display:block;
  font-size:15px;
  font-weight:600;
  margin-bottom:10px;
  color:var(--text);
}

.rao-student-doc-shortcode .required{
  color:var(--danger);
  margin-left:4px;
}

.rao-student-doc-shortcode input[type="text"],
.rao-student-doc-shortcode input[type="tel"],
.rao-student-doc-shortcode input[type="email"],
.rao-student-doc-shortcode input[type="date"],
.rao-student-doc-shortcode select,
.rao-student-doc-shortcode textarea{
  width:100%;
  padding:8px 0;
  border:none;
  border-bottom:1px solid var(--border);
  font-size:15px;
  outline:none;
  background:transparent;
  font-family:inherit;
}

.rao-student-doc-shortcode textarea{
  resize:vertical;
  min-height:92px;
}

.rao-student-doc-shortcode input[type="text"]:focus,
.rao-student-doc-shortcode input[type="tel"]:focus,
.rao-student-doc-shortcode input[type="email"]:focus,
.rao-student-doc-shortcode input[type="date"]:focus,
.rao-student-doc-shortcode select:focus,
.rao-student-doc-shortcode textarea:focus{
  border-bottom:2px solid var(--primary);
}

.rao-student-doc-shortcode input[type="file"]{
  width:100%;
}

.rao-student-doc-shortcode small{
  display:block;
  margin-top:8px;
  font-size:12px;
  color:#666;
}

.rao-student-doc-shortcode .form-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:20px;
  gap:10px;
}

#raoStudentDocSubmitBtn{
  padding:10px 24px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:4px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.5px;
  transition:background .2s;
}

#raoStudentDocSubmitBtn:hover{background:var(--primary-dark)}
#raoStudentDocSubmitBtn:disabled{background:#ccc;cursor:not-allowed}

#raoStudentDocClearBtn.clear-btn{
  background:none;
  border:none;
  color:var(--primary);
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  padding:10px;
}

.rao-student-doc-shortcode .privacy-note{
  font-size:12px;
  color:#70757a;
  text-align:center;
  margin-top:18px;
}

.is-hidden{display:none !important}

@media (max-width:520px){
  .rao-student-doc-shortcode .header-image-container{
    height:220px;
    background-size:contain;
  }
}

@media (max-width:480px){
  .rao-student-doc-shortcode .container{border-radius:0}
  .rao-student-doc-shortcode .header-content{padding:16px}
  .rao-student-doc-shortcode .form-container{padding:16px}
  .rao-student-doc-shortcode .main-title{font-size:22px}
  .rao-student-doc-shortcode .sub-title{font-size:16px}
  .rao-student-doc-shortcode .form-actions{align-items:flex-start}
}
