body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
}

.form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  background-color: #ffe6e6;
}

.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.container {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.decoration-bar {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  height: 0.8rem;
  width: 100%;
  margin: 0 auto 2rem;
  border-radius: 10px;
}

.form__input {
  display: none;
}

.form__input:checked + .form-check-label .form__label-check {
  display: block;
}

.button--transparent {
  background-color: transparent;
  color: #006ec8;
  text-transform: none;
}

.form__tab {
  display: none;
}

.form__tab.active {
  display: block;
}

.form-check-label {
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  border: 2px solid transparent;
  padding: 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-check-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.form__input:checked + .form-check-label {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
}

/* Form control styling */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  background-color: white;
}

.form-control:read-only {
  background-color: #e9ecef;
  color: #6c757d;
}

/* Button styling */
.btn {
  border-radius: 10px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-danger {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Required field asterisk styling */
.text-danger {
  color: #dc3545 !important;
  font-weight: bold;
}

/* Label styling */
label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

/* Remove duplicate form-control styles - keeping the enhanced version above */

.form__label-check {
  display: none;
  margin-top: 10px;
}
.form-control-flat {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  box-shadow: none;
  padding: 12px 15px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.form-control-flat:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  background-color: white;
}
.card-flat {
  border: 1px solid #ced4da; /* Light grey border */
  border-radius: 0; /* Flat design: no border radius */
  box-shadow: none; /* Remove default shadow */
}
.card-img-overlay-flat {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover .card-img-overlay-flat {
  opacity: 1;
}
.upload-btn-flat {
  background-color: #ffffff;
  color: #333333;
  border: none;
  padding: 10px 20px;
  border-radius: 0; /* Flat design: no border radius */
  box-shadow: none; /* Remove shadow */
  transition: background-color 0.3s ease;
}
.upload-btn-flat:hover {
  background-color: #f0f0f0;
}
#stateOfDeployment,
#areaCommand {
  width: 100%;
  max-width: 300px; /* Set a max width if needed */
}

.btn-flat {
  background-color: #007bff; /* Change to your desired color */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 0; /* Flat design: no border radius */
  box-shadow: none; /* Remove shadow */
  transition: background-color 0.3s ease;
}
.btn-flat:hover {
  background-color: #0056b3; /* Darker shade for hover effect */
}
.btn-flat:focus,
.btn-flat:active {
  background-color: #004085; /* Even darker shade for focus/active */
  box-shadow: none; /* Remove default Bootstrap focus shadow */
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

#overlay {
  position: fixed;
  top: 0;
  z-index: 5000;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}

.select2-container--default .select2-selection--single {
  border: none;
  border-radius: 0;
  background-color: #f8f9fa;
  padding: 10px 10px 40px 10px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #495057;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}

@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}
