* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   min-height: 100vh;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 20px;
}

.container {
   background: white;
   border-radius: 20px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
   padding: 30px;
   width: 100%;
   max-width: 350px;
}

h3 {
   color: #a33;
   margin-bottom: 10px;
   text-align: center;
   font-size: 18px;
}

hr {
   margin-top:10px;
}

.form-group {
   margin-top: 10px;
   margin-bottom: 2px;
   display: flex;
   align-items: center;
   gap: 10px;
}
.form-group2 {
   margin-top: 10px;   
   margin-bottom: 5px;
   align-items: center;
   gap: 15px;
}
label {
   color: #555;
   font-weight: 600;
   font-size: 11px;
   min-width: 130px;
   white-space: nowrap;
}


input[type="text"],
input[type="tel"],
select {
   flex: 1;
   padding: 3px 4px;
   border: 2px solid #e0e0e0;
   border-radius: 8px;
   font-size: 10px;
   transition: all 0.3s;
   width: 100px;
}

input[type="date"],
select {
   /* Remove or comment out: flex: 1; */
   padding: 3px 4px;
   border: 2px solid #e0e0e0;
   border-radius: 8px;
   font-size: 10px;
   transition: all 0.3s;
   width: 100px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus {
   outline: none;
   border-color: #667eea;
   box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.error {
   color: #e74c3c;
   font-size: 10px;
   margin-top: 0px;
   margin-bottom: 10px;
   display: none;
   margin-left: 120px;
}

.checkbox-group {
   display: flex;
   align-items: center;
   margin-top: 20px;
   gap: 15px;
}

.checkbox-group input[type="checkbox"] {
   width: 20px;
   height: 20px;
   cursor: pointer;
}

.checkbox-group label {
   margin: 0;
   cursor: pointer;
   font-weight: 700;
   min-width: auto;
}

.submit-btn {
   width: 100%;
   padding: 15px;
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   color: white;
   border: none;
   border-radius: 10px;
   font-size: 13px;
   font-weight: 600;
   cursor: pointer;
   transition: transform 0.2s, box-shadow 0.2s;
   margin-top: 20px;
}

.submit-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
   transform: translateY(0);
}

.time-group {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 15px;
}

#contactInfo {
   width: 260px;
}
#remarks {
   width: 260px;
}

#PleaseWait {
/*   position: absolute; top: 50px; width:100%; */
   font-size:2em;
   text-align : center;
   display: none;
   color : red;
}

@media (max-width: 600px) {
   .container {
      padding: 10px;
   }

   h3 {
      font-size: 12px;
   }

   .form-group {
/*      flex-direction: column;
      align-items: flex-start;  */
      gap: 8px;
   }

   label {
      min-width: auto;
   }

   input[type="text"],
   input[type="tel"],   
   input[type="date"],
   select {
      width: 100%;
   }

   .error {
      margin-left: 0;
   }

   .checkbox-group {
      margin-left: 0;
   }
   
   #contactInfo {
      width: 180px;
   }
   #remarks {
      width: 180px;
   }   
}

