.main {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

.body {
  width: 100%; /* Adjust width as needed */
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card {
  background-color: #fdf2f2; /* Light red background for the card */
  border: 1px solid #b30000; /* Dark red border for the card */
}

.card-header {
  background-color: #b30000; /* Dark red header to match the theme */
  color: #fff;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
}

.card-body {
  padding: 20px;
}

.form-label {
  font-weight: bold;
}

.form-control {
  border-radius: 4px;
  border: 1px solid #ffb84d; /* Orange border to match the theme */
}

.btn-primary {
  background-color: #b30000;
  border-color: #b30000;
  color: #fff;
  border-radius: 4px;
}

.btn-primary:hover {
  background-color: #ffb84d;
  border-color: #ffb84d;
  color: #b30000;
}

.title-header {
  font-size: 30px;
  padding-top: 20px;
  font-weight: bold;
  color: #921b1f;
}

@media screen and (max-width: 720px) {
  .main {
    flex-direction: column;
  }
}

.company-home-section {
  border: 1px solid grey;
  border-radius: 10px;
  width: 100%;
  padding: 20px;
  margin-top: 20px;
  background-color: #f9f9f9;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.basic-info-details ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.info-section,
.view-details-section {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  color: #555;
  transition: background-color 0.3s ease; /* Transition for hover effect */
}
.info-section{
  font-size: 18px;

}
.view-details-section{
    font-size: 16px;
}
.info-section:last-child,
.view-details-section:last-child {
  border-bottom: none;
}

.info-section:hover,
.view-details-section:hover {
  background-color: #f0f0f0; /* Light background on hover */
}

.info-field,
.view-details-field {
  font-weight: bold;
  color: #333;
  text-align: left;
  white-space: nowrap;
  position: relative;
}

.info-field {
  width: 200px;
}
.view-details-field {
  width: 40%;
}
.info-field::after,
.view-details-field::after {
  content: ":";
  position: absolute;
  right: 0;
}

.info-value,
.view-details-value {
  flex-grow: 2; /* Increase the space allocated for the value */
  padding-left: 10px;
  color: #666;
  transition: color 0.3s ease; /* Transition for hover effect */
}

.info-section:hover .info-value,
.view-details-section:hover .view-details-value {
  color: #333; /* Darker color on hover */
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .info-field,
  .view-details-field {
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
  }

  .info-value {
    width: 100%;
    text-align: left;
    padding-left: 0;
  }

  .info-section,
  .view-details-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-field::after,
  .view-details-field::after {
    content: ""; /* Removes the colon on small screens */
  }
}

/* JAF SECTION CSS */

.company-home-section {
  border: 1px solid grey;
  border-radius: 10px;
  width: 100%;
  padding: 20px;
  margin-top: 20px;
  background-color: #f9f9f9;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.form-section {
  margin-bottom: 30px;
}

.form-section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #444;
  background-color: #eaeaea;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.form-group {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  margin: 0;
  font-size: 16px;
  color: #555;
  transition: background-color 0.3s ease;
}

.form-group:last-child {
  border-bottom: none;
}

.form-group:hover {
  background-color: #f0f0f0;
}

.form-label {
  font-weight: bold;
  color: #333;
  text-align: left;
  flex-shrink: 0;
  margin-right: 10px;
  position: relative;
}

.form-input {
  padding: 8px;
  color: #666;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  font-size: 14px;
  font-weight: bold;
}
.form-input::placeholder {
  font-weight: lighter;
}

.form-group:hover .form-input {
  border-color: #888;
}

/* Ensure all labels are of the same width */
.form-group {
  display: flex;
}

.form-label {
  flex-basis: 40%;
}

.form-input {
  flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .form-label {
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
    flex-basis: auto;
  }

  .form-input {
    width: 100%;
  }

  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

.submit-button,
.cancel-button {
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 150px;
  text-align: center;
}
.submit-button {
  background-color: #5a5a5a;
}
.cancel-button {
  background-color: #921b1f;
}

.submit-button:hover {
  background-color: #333;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  /* grid-template-columns: repeat(3, auto); */
  align-items: start;
  justify-items: center;
  gap: 20px;
  width: 100%;
}
