*, *::before, *::after{ /*Not necessary like that*/
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #007BFF;
}
body{
    font-family: 'Bitter', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #282828;
    min-height: 100vh;
    background-repeat: no-repeat;
     /* linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)); */
    /* background-blend-mode: overlay; */
}
.container{
    max-width: 900px;
    background-color: #fff;
    padding: 20px 40px;
    margin: 60px auto;
    border-radius: 8px;
    /* box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5); */
    box-shadow:0 0 20px rgba(0,0,0,0.1);
}
.container .header{
    text-align: center;
    /* color:#0d0843; */
}

.header img{
    width:200px;
    margin-bottom:10px;
}

/* Form starts here */

/* form{
    margin: 2px auto;
    width: 50%;
    background-color: #007BFF;
} */
.form-grouper{
    margin-bottom: 18px;
    /* background-color:#0d0843; */
}

.headline{
    margin-bottom: 15px;
    margin-top: 15px;
    border-left: 5px solid #322A6F;
    color: #97AF56;
    padding: 0px 10px;
    font-size: larger;
    font-family: Arial, Helvetica, sans-serif;
}


.form-grouper label{
    display: block;
    margin-bottom: 7px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 300;
    color:#34343c;
    font-weight: 600;

}

/* label radio button design start */

label.radio-option{
    position: relative;
    border: 1px solid #3b3d41;
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.05s;
    /* background: #f9f9f9; */
    margin-bottom: 10px;
    font-size:15px;
    font-weight: 400;
}

label.radio-option:hover{
    border-color: #007bff;
    outline: 2px solid #231cab70;
    background: #eef6ff;

}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option:has(input[type="radio"]:checked){
  border-color: #140448;
  background: linear-gradient(135deg, #0e1076, #08036f);
  color: #fff;
  box-shadow: 0 4px 10px rgba(7, 2, 37, 0.3);
}

label.tiny{
    display: inline-block;
    margin: 0 15px 0 0;
}

/* End of radio design */

.form-grouper input:not([type="radio"]):not([type="checkbox"]), select, textarea{
    width: 100%;
    padding:10px 16px;
    border:1px solid #b6b2b2;
    border-radius:4px;
    font-size:14px;
    font-weight:400;
    font-family: 'Bitter', Arial, Helvetica, sans-serif;
    transition: 0.1s;
}

.form-grouper textarea{
    height:100px;
    resize: vertical;
}

/* .form-grouper input:focus, .form-grouper select:focus{
    outline: 3px solid #180a966f;
    border-color: #062e73;
} */
.form-grouper input:focus, .form-grouper select:focus{
    outline: 3px solid #abf65792;
    border-color: #97AF56;
}

.form-grouper input:active,  button:active{
    transform: translate(0, 3px);
}

input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #0e1076, #08036f);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

input[type="file"]::file-selector-button:hover {
    opacity: 0.8;
}

label.checboxer{
    cursor: pointer;
    color:#97AF56;
}

button{
    padding:10px 12px;
    font-size:large;
    background-color: #322A6F;
    color: #fff;
    cursor: pointer;
    width: 100%;
    border:2px solid transparent;
    border-radius: 10px;
    transition: 0.15s;
    font-weight: 600;
}

button:hover{
    border-color:#97AF56;
    color:#97AF56;
    background-color: #fff;
}

/* Error Message */
.error {
    border-color: #dc3545 !important;
}
.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
    display: none;
}
/* Confidentiality Box*/
.notice-box{
    background:#f8f9ff;
    border:1px solid #cdd8ff;
    padding:0;
    border-radius:8px;
    margin-bottom:25px;
}

.notice-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 15px;
    cursor:pointer;
    background:#e9eeff;
    border-radius:8px;
    color: #081644;
    font-size:15px;
}

.notice-content{
    display:none;
    padding:15px;
    font-size:14px;
    line-height:1.9;
    text-align: justify;
    animation:fade .3s ease;
}

/* Personal Details box */
.personal_dets{
    display: none;;
}


@keyframes fade{
    from{opacity:0;}
    to{opacity:1;}
}


/* Success Box */

.success-box {
  max-width: 620px;
  margin: 20px auto 30px;
  background: #ffffff;
  border-left: 6px solid #322A6F;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-around;
  gap: 18px;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.08);
  animation: slideFade 0.4s ease;
}

.success-icon {
  font-size: 34px;
  color: #322A6F;
  flex-shrink: 0;
}

.success-content h3 {
  margin: 0;
  font-size: 18px;
  color: #322A6F;
}

.success-content p {
  margin: 6px 0 14px;
  font-size: 14px;
  color: #374151;
}

.ticket-row {
  display: flex;
  align-items: center;
  background: #f0f4fd;
  border: 1px dashed #322A6F;
  padding: 10px 14px;
  border-radius: 10px;
  gap: 2px;
}

.ticket-row span {
  font-weight: 600;
  letter-spacing: 1px;
  color: #322A6F;
  width: 100%;
}

.ticket-row button {
  background: none;
  border: 2px solid #322A6F;
  cursor: pointer;
  color: #322A6F;
  font-size: 16px;
  width: 40px;
}

.ticket-row button:hover {
  color: #15803d;
  border-color: #15803d;
}

.copy-msg {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #15803d;
}

.hidden {
  display: none;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Tooltip */
/* Tooltip container */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 4px;
  cursor: pointer;
}

/* Icon */
.tooltip-icon {
  color: #6b728095;
  font-size: 14px;
}

.tooltip-icon:hover {
  color: #2563eb;
}

/* Tooltip bubble */
.tooltip-text {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  width: 220px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 999;
}

/* Arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
}

/* Show on hover */
.tooltip-wrapper:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}
