.map-responsive {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
}

.map-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

#activeAssignedBoatsContent {
  margin-top: 0px;
}

/* 
.input-group .form-control, .input-group-addon, .input-group-btn {
  display: block;
} */

.pageTitle {
  background-color: #fff;
  color: #000;
}

.fileUploadWrapper {
  padding: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}

fieldset {
  margin-top: 20px;
}

fieldset, legend {
  /* background-color: #333; */
  /* color: #fff; */
  border-radius: 8px;
  padding: 8px;
  padding-top: 8px;
  border: 1px #555 solid;
  padding-bottom: 0px;
}

legend {
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #222;
  border: 1px #333 solid;
}

.imagePreviewWrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 15px;
  margin-top: 15px;
}

.imagePreviewWrapper button {
  padding: 5px !important;
  margin-top: 3px !important;
  right: 5px !important;
  font-size: 0.8rem !important;
  background-color: rgba(255, 0, 0, .5) !important;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.imagePreviewWrapper button:hover {
  background-color: rgba(255, 0, 0, 1) !important;
}

.remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.previewItem {
  position: relative;
  display: inline-block;
  /* margin: 5px; */
}

.previewItem img {
  max-width: 150px;
  max-height: 150px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  object-fit: cover;
}

.form-group {
  margin-bottom: 10px;
}

/* ===========================
   Custom Contact Form Styles
   Modern, clean, and responsive
=========================== */

.custom-contact-form {
  --form-bg: #ffffff;
  --form-border: #dfe3e6;
  --form-shadow: rgba(0, 0, 0, 0.04);
  --form-accent: #0073aa;
  --form-accent-hover: #005f8d;
  --form-radius: 10px;

  /* max-width: 520px; */
  margin: 2rem auto;
  padding: 2rem 2rem 1.5rem;
  background-color: var(--form-bg);
  border: 1px solid var(--form-border);
  border-radius: var(--form-radius);
  box-shadow: 0 8px 20px var(--form-shadow);
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  color: #333;
  transition: box-shadow 0.3s ease;
}

.custom-contact-form:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.custom-contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #222;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.custom-contact-form input,
.custom-contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  background-color: #fafafa;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, background-color 0.25s ease,box-shadow 0.25s ease;
  box-sizing: border-box;
}

.custom-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
  outline: none;
  border-color: var(--form-accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.custom-contact-form input[type="file"] {
  background: #fff;
  border: 1px dashed var(--form-border);
  padding: 0.75rem;
  cursor: pointer;
  color: #444;
  font-size: 0.9rem;
}

.custom-contact-form input[type="file"]:hover {
  border-color: var(--form-accent);
  background: #f5faff;
}

.custom-contact-form button {
  display: inline-block;
  background-color: var(--form-accent);
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.custom-contact-form button:hover {
  background-color: var(--form-accent-hover);
  transform: translateY(-1px);
}

.custom-contact-form button:active {
  transform: translateY(0);
}

/* Placeholder text */
.custom-contact-form ::placeholder {
  color: #999;
  opacity: 1;
}

/* Subtle divider between fields */
.custom-contact-form p {
  margin-bottom: 1.25rem;
}

/* File input label alignment */
.custom-contact-form input[type="file"]::-webkit-file-upload-button {
  display: none;
}

.custom-contact-form input[type="file"]::before {
  content: "Choose File";
  display: inline-block;
  background: var(--form-accent);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  margin-right: 0.6rem;
  cursor: pointer;
  font-weight: 600;
}

.custom-contact-form input[type="file"]:hover::before {
  background: var(--form-accent-hover);
}

.custom-contact-form input[type="file"]:not(:focus)::before {
  box-shadow: none;
}

/* Responsive behavior */
@media (max-width: 600px) {
  .custom-contact-form {
    padding: 1.5rem;
  }

  .custom-contact-form button {
    width: 100%;
  }
}

.custom-contact-form button:not(:disabled):hover {
    background-color: #005f8a;
}

.custom-contact-form button:disabled {
    background-color: #a0c4db; /* lighter/desaturated blue */
    color: #ffffff;
    cursor: not-allowed;
    transition: opacity 0.3s ease;
}


/* Progress bar */
.progress-container {
  width: 100%;
  height: 8px;
  background: #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
}
.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--form-accent, #0073aa);
  transition: width 0.2s ease;
}

/* Status / spinner */
.status-text {
  margin-top: 0.8rem;
  font-weight: 500;
  color: #444;
}
.status-text.loading::after {
  content: " …";
  animation: dots 1s steps(3, end) infinite;
}
@keyframes dots {
  0%, 20% { color: transparent; }
  40% { color: currentColor; }
  60% { color: currentColor; }
  80%, 100% { color: transparent; }
}
