@charset "UTF-8";

/* Main Form Styling */
form {
  max-width: 1050px;
  margin: auto;
  background: #FDF6EC;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-left: 3px solid rgb(0, 139, 139);
}

form h2 {
  text-align: center;
  color: rgb(0, 139, 139);
  margin-bottom: 10px;
}

form hr {
  margin-bottom: 25px;
  border: none;
  height: 1px;
  background-color: rgb(0, 139, 139);
}

/* Input Group */
.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.input-group label {
  width: 180px;
  font-weight: bold;
  color: rgb(0, 139, 139);
  margin-right: 10px;
}

.input-group input[type="number"],
.input-group input[type="date"],
.input-group input[type="text"],
.input-group textarea {
  flex: 1;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-right: 10px;
  transition: 0.3s;
}

.input-group textarea {
  resize: vertical;
  min-height: 38px;
  font-family: inherit;
  line-height: 1.3;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: rgb(0, 139, 139);
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
  outline: none;
}

/* Buttons */
.input-group button,
.input-group.date-range button {
  padding: 10px 16px;
  background-color: rgb(0, 139, 139);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.input-group button:hover,
.input-group.date-range button:hover {
  background-color: #357ABD;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 16px rgba(53, 122, 189, 0.3);
}

/* Alert Box */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border-radius: 12px;
  background: #e0f7fa;
  color:  rgb(0, 139, 139); 
   
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 6px 12px rgba(44, 125, 247, 0.25);
  animation: fadeIn 0.9s ease forwards;
  user-select: none;
  overflow: hidden;
  line-height: 1.1;
  min-height: 32px;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.alert-icon {
  font-size: 16px;
  flex-shrink: 0;
  color: #ffd166;
  animation: pulse 0.5s infinite ease-in-out;
}

.alert strong {
  color: red;
  font-size: 14px;
  margin-right: 4px;
}

/* Compact Date Range */
.input-group.date-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.input-group.date-range label {
  font-weight: bold;
  color: rgb(0, 139, 139);
  white-space: nowrap;
  margin-right: 5px;
  font-size: 14px;
}

.input-group.date-range input[type="date"] {
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-width: 160px;
}

/* ==============================
   🌐 Responsive Design
   Covers: Mobile, Tablets, Laptops, Desktops, Ultra-Wide Screens
=================================*/

/* Small Mobile (up to 375px) */
@media (max-width: 375px) {
  form {
    padding: 12px;
  }

  form h2 {
    font-size: 16px;
  }

  .input-group label {
    font-size: 13px;
  }

  .input-group input,
  .input-group textarea {
    font-size: 13px;
    padding: 8px;
  }

  .input-group button {
    font-size: 13px;
    padding: 8px 10px;
    width: 100%;
  }

  .alert {
    font-size: 12px;
    padding: 4px 10px;
  }
}

/* Standard Mobile (up to 480px) */
@media (max-width: 480px) {
  form {
    padding: 15px;
  }

  form h2 {
    font-size: 18px;
  }

  .input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .input-group label {
    width: 100%;
    font-size: 14px;
    margin-bottom: 5px;
  }

  .input-group input,
  .input-group textarea {
    width: 100%;
    font-size: 14px;
    padding: 8px 10px;
    margin-right: 0;
  }

  .input-group button {
    font-size: 14px;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .input-group.date-range {
    flex-direction: column;
    gap: 8px;
  }

  .input-group.date-range input[type="date"],
  .input-group.date-range button {
    width: 100%;
  }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
  form {
    padding: 20px;
  }

  .input-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .input-group label {
    width: 100%;
    margin-bottom: 6px;
    font-size: 15px;
  }

  .input-group input,
  .input-group textarea {
    width: 100%;
    margin-right: 0;
  }

  .input-group button {
    width: 100%;
    margin-top: 10px;
  }

  .input-group.date-range {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .input-group.date-range input[type="date"],
  .input-group.date-range button {
    width: 100%;
  }
}

/* Laptops & Medium Screens (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  form {
    padding: 30px;
  }

  .input-group label {
    font-size: 16px;
  }

  .input-group input,
  .input-group textarea {
    font-size: 15px;
  }

  .input-group button {
    font-size: 15px;
    padding: 10px 16px;
  }
}

/* Desktops (1025px to 1399px) */
@media (min-width: 1025px) and (max-width: 1399px) {
  form {
    max-width: 900px;
  }
}

/* Ultra-Wide Screens (1400px and above) */
@media screen and (min-width: 1400px) {
  form {
    max-width: 70%;
  }

  .input-group input,
  .input-group textarea {
    font-size: 16px;
  }

  .input-group button {
    font-size: 16px;
    padding: 12px 20px;
  }
}


.latest-bps-link {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgb(0, 139, 139);
  color: white;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  border-radius: 20px;
  margin-left: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 139, 139, 0.3);
}

.latest-bps-link:hover {
  background-color: white;
  color: rgb(0, 139, 139);
  border: 1px solid rgb(0, 139, 139);
  box-shadow: 0 5px 10px rgba(0, 139, 139, 0.4);
  transform: scale(1.03);
}


.latest-bps-text {
  color: rgb(0, 139, 139);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif; /* Optional: modern look */
}



