/* line 5, /root/smiledesk/app/assets/stylesheets/patients.scss */
.form-section {
  border: 1px solid #d3d3d3;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 5px;
}

/* line 12, /root/smiledesk/app/assets/stylesheets/patients.scss */
.form-section-heading {
  background-color: #0878a6;
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* line 20, /root/smiledesk/app/assets/stylesheets/patients.scss */
.table-borderless th,
.table-borderless td {
  background-color: transparent;
  color: gray;
}

/* line 26, /root/smiledesk/app/assets/stylesheets/patients.scss */
.teeth {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px;
}

/* line 33, /root/smiledesk/app/assets/stylesheets/patients.scss */
.tooth {
  position: relative;
  margin: 10px;
}

/* line 37, /root/smiledesk/app/assets/stylesheets/patients.scss */
.tooth img, .impacted-tooth, .not-moved-tooth img {
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

/* line 43, /root/smiledesk/app/assets/stylesheets/patients.scss */
.tooth-img.selected, .impacted-tooth-img.selected, .not-moved-tooth-img.selected {
  filter: none;
  filter: sepia(3) hue-rotate(100deg) saturate(3) brightness(0.85);
}

/* line 48, /root/smiledesk/app/assets/stylesheets/patients.scss */
.tooth input, .impacted-tooth, .not-moved-tooth input {
  display: none;
}

/* line 54, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat {
  width: 100%;
  border-collapse: collapse;
  background-color: #ccc;
  border-radius: 11px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -2px -2px 10px rgba(0, 0, 0, 0.2), 2px -2px 10px rgba(0, 0, 0, 0.2), -2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* line 62, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat td,
.whatsapp-chat th {
  padding: 20px 15px 0 15px;
}

/* line 67, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 10px;
  display: inline-block;
  position: relative;
  word-wrap: break-word;
  word-break: break-word;
}

/* line 78, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .outgoing .message {
  background-color: #007bff;
  color: #fff;
  float: right;
  margin-left: auto;
  margin-bottom: 10px;
}

/* line 86, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .incoming .message {
  background-color: #f1f1f1;
  color: #000;
  float: left;
  margin-right: auto;
  margin-bottom: 10px;
}

/* line 94, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .message .meta {
  font-size: 0.75em;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 5px;
}

/* line 100, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .outgoing .message .meta {
  color: rgba(255, 255, 255, 0.7);
}

/* line 104, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .message .meta .author {
  margin-right: 10px;
  float: left;
}

/* line 109, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .message .meta .time {
  margin-left: 10px;
  float: right;
}

/* line 114, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .message:before {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 0;
  height: 0;
  border-style: solid;
}

/* line 123, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .outgoing .message:before {
  right: 12px;
  border-width: 8px 8px 0 0;
  border-color: #007bff transparent transparent transparent;
}

/* line 129, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .incoming .message:before {
  left: 12px;
  border-width: 8px 0 0 8px;
  border-color: #f1f1f1 transparent transparent transparent;
}

/* line 135, /root/smiledesk/app/assets/stylesheets/patients.scss */
.whatsapp-chat .internal-note {
  background-color: black !important;
  color: white !important;
}

/* line 142, /root/smiledesk/app/assets/stylesheets/patients.scss */
form .form-group {
  margin-bottom: 1rem;
}

/* line 146, /root/smiledesk/app/assets/stylesheets/patients.scss */
#new_note_form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* line 153, /root/smiledesk/app/assets/stylesheets/patients.scss */
#new_note_form .form-label {
  font-weight: bold;
}

/* line 157, /root/smiledesk/app/assets/stylesheets/patients.scss */
#new_note_form .form-control {
  border-radius: 5px;
  border: 1px solid #ced4da;
}

/* line 162, /root/smiledesk/app/assets/stylesheets/patients.scss */
#new_note_form .btn {
  border-radius: 5px;
}

/* line 168, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file_row {
  display: flex;
  width: 100%;
  margin: 10px 0;
}

/* line 174, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-upload-input {
  display: none;
}

/* line 178, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-upload-label {
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 10px 20px;
  border: 2px solid #007bff;
  border-radius: 4px;
  background-color: #e0f7ff;
  color: #007bff;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s, border-color 0.3s;
}

/* line 193, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-upload-label:hover {
  background-color: #d0eaff;
  border-color: #0056b3;
}

/* line 198, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-upload-label::before {
  content: '\f093';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
  display: inline-block;
}

/* line 206, /root/smiledesk/app/assets/stylesheets/patients.scss */
.selected-images-container {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

/* line 212, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-wrapper {
  position: relative;
  margin: 5px;
  width: 100px;
  /* Adjust width for consistency */
  height: 100px;
  /* Adjust height for consistency */
  border: 2px solid #007bff;
  border-radius: 4px;
  background-color: #f9f9f9;
  /* Background color for non-image files */
  text-align: center;
  line-height: 100px;
  /* Center text vertically */
}

/* line 224, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-wrapper img {
  max-width: 100px;
  max-height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
}

/* line 231, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-wrapper p {
  margin: 0;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* line 241, /root/smiledesk/app/assets/stylesheets/patients.scss */
.remove-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #333;
  /* Match button background color */
  color: #fff;
  /* White color for the cross icon */
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 0;
}

/* line 259, /root/smiledesk/app/assets/stylesheets/patients.scss */
.remove-button:hover {
  background-color: #555;
  /* Darker shade for hover */
}

/* line 266, /root/smiledesk/app/assets/stylesheets/patients.scss */
.attachments-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* line 275, /root/smiledesk/app/assets/stylesheets/patients.scss */
.attachment-section {
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* line 283, /root/smiledesk/app/assets/stylesheets/patients.scss */
.section-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* line 289, /root/smiledesk/app/assets/stylesheets/patients.scss */
.attachment-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* line 298, /root/smiledesk/app/assets/stylesheets/patients.scss */
.attachment-list li {
  display: flex;
  align-items: center;
}

/* line 303, /root/smiledesk/app/assets/stylesheets/patients.scss */
.attachment-link {
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

/* line 309, /root/smiledesk/app/assets/stylesheets/patients.scss */
.attachment-image {
  max-width: 100px;
  max-height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid #ddd;
}

/* line 316, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-wrapper img.non-image-file {
  max-width: 100px;
  /* Adjust width as needed */
  max-height: 100px;
  /* Maintain aspect ratio */
  -o-object-fit: cover;
     object-fit: cover;
  /* Ensure the image covers the specified dimensions */
  display: block;
  border: 1px solid #ddd;
  /* Add border similar to .attachment-image */
  margin: 0 auto;
  /* Center image horizontally */
}

/* line 325, /root/smiledesk/app/assets/stylesheets/patients.scss */
.file-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* line 331, /root/smiledesk/app/assets/stylesheets/patients.scss */
.remove-button {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  /* Add some spacing between the image and the button */
}

/* line 338, /root/smiledesk/app/assets/stylesheets/patients.scss */
.blurred {
  filter: blur(5px);
}

/* line 342, /root/smiledesk/app/assets/stylesheets/patients.scss */
.styled-link {
  display: inline-block;
  color: #ffffff;
  /* Text color white */
  background-color: #d3d3d3;
  /* Light grey background color */
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  width: 100%;
  transition: background-color 0.3s, box-shadow 0.3s;
  margin-bottom: 3px;
}

/* line 355, /root/smiledesk/app/assets/stylesheets/patients.scss */
.styled-link:hover {
  background-color: #a9a9a9;
  /* Darker grey background color on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* line 360, /root/smiledesk/app/assets/stylesheets/patients.scss */
.styled-link:active {
  background-color: #808080;
  /* Even darker grey background color on active/click */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Popup Form */
/* line 370, /root/smiledesk/app/assets/stylesheets/patients.scss */
.bg_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

/* line 380, /root/smiledesk/app/assets/stylesheets/patients.scss */
.popup-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  width: 400px;
  max-width: 90%;
}

/* line 394, /root/smiledesk/app/assets/stylesheets/patients.scss */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* line 401, /root/smiledesk/app/assets/stylesheets/patients.scss */
.close-popup {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* line 408, /root/smiledesk/app/assets/stylesheets/patients.scss */
.close-popup:hover {
  color: #dc3545;
}

/* line 412, /root/smiledesk/app/assets/stylesheets/patients.scss */
.form-group {
  margin-bottom: 20px;
}

/* line 416, /root/smiledesk/app/assets/stylesheets/patients.scss */
.form-control {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* line 424, /root/smiledesk/app/assets/stylesheets/patients.scss */
.form-actions {
  display: flex;
  justify-content: space-between;
}

/* line 430, /root/smiledesk/app/assets/stylesheets/patients.scss */
.text-gray {
  color: #808080;
  font-weight: bold;
}
