body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
  padding: 0;
}

.header {
  background-color: #003259;
  color: white;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
}

.logo img {
  width: 120px;
  height: auto;
  margin-left: 10px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-email {
  font-size: 14px;
}

.header-exit {
  font-size: 14px;
  cursor: pointer;
  color: #e0ffff;
  text-decoration: none;
}

.header-exit:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
}

.visa-info {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 30px;
  background-color: rgba(70, 130, 180, 0.3);
  /* Прозрачный фон с цветом #4682B4 */
  padding: 10px;
  border-radius: 5px;
}

.payment-info {
  margin-bottom: 30px;
}

.applicant-info {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.applicant-details {
  flex: 1;
}

.photo-upload {
  width: 200px;
  height: 200px;

  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.photo-upload input[type="file"] {
  display: none;
}

.photo-upload:hover {
  border-color: #999;
}

.photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.status-table tr {
  border: 1px solid #ddd;
  padding: 8px;
  transition: background-color 0.3s, transform 0.3s;
}

.status-table tr:hover {
  background-color: #f0f0f0;
  transform: scale(1.02);
}

.status-table td {
  padding: 12px;
  border: 1px solid #ddd;
}

.status-icon {
  color: #4caf50;
  font-size: 18px;
}

.status-icon.red {
  color: #f44336;
}

.footer {
  margin-top: 30px;
  padding: 20px;
  background-color: #003366;
  color: white;
  font-size: 12px;
}

.footer-top {
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  flex: 1;
  list-style: none;
  padding: 0;
}

.footer-right {
  text-align: right;
}

.footer-certification {
  margin-top: 10px;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.certification-badge {
  width: 80px;
  height: 80px;
  background-color: #003366;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  text-align: center;
}

.additional-info {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.additional-info ul {
  list-style-type: none;
  padding: 0;
}

.additional-info li {
  margin-bottom: 5px;
}

.logo {
  height: 50px;
  background-color: #003259;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.footer-image {
  width: 200px;
  height: 200px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  margin-left: 20px;
}

a {
  color: #e0ffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.highlighted-row {
  background-color: rgba(178, 34, 34, 0.3);
  /* Прозрачный фон с цветом #B22222 */
}

.highlighted-row-green {
  background-color: rgba(152, 251, 152, 0.3);
  /* Прозрачный фон с цветом #98FB98 */
}

.visa-info-highlight {
  background-color: rgba(70, 130, 180, 0.3);
  /* Прозрачный фон с цветом #4682B4 */
}

.status-table .biometric-done {
  background-color: rgba(152, 251, 152, 0.3);
  /* Прозрачный фон с цветом #98FB98 */
}

.status-table .application-transferred {
  background-color: rgba(178, 34, 34, 0.3);
  /* Прозрачный фон с цветом #B22222 */
}

.underline {
  text-decoration: underline;
}

#photoPreview {
  width: 200px;

  object-fit: contain;
}

.section-border {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.section-border:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: #4caf50;
}

.bank-replenishment {
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* Цвет рамки */
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  background-color: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  /* Фоновый цвет */
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.bank-replenishment:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: #ff0000;
}

.bank-replenishment h3 {
  color: black;
  /* Цвет заголовка */
  margin-top: 0;
}

.bank-replenishment p {
  margin: 10px 0;
}

body {
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.login-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 300px;
}

.login-form h2 {
  margin-top: 0;
  color: #003259;
  text-align: center;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-form button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #003259;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form button:hover {
  background-color: #004080;
}

.login-container {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 400px;
  align-self: center;
  display: block;
}

.login-container h1 {
  margin: 0 0 1rem 0;
  font-size: 24px;
  color: #333;
}

.login-container p {
  margin: 0 0 1rem 0;
  color: #666;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.captcha-container {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.sign-in-button {
  width: 100%;
  padding: 0.75rem;
  background-color: #1023d1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.sign-in-button:hover {
  background-color: #1023d1;
}

.footer-links {
  margin-top: 1rem;
  text-align: center;
}

.footer-links a {
  color: #464a4e;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.top-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  min-width: 20%;
  max-width: 165px;
}

.w100 {
  width: 100%;
}
.time-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 165px;
}

.time-trigger {
  padding: 10px;

  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  font-size: 14px;
  min-height: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 4px;
}

.time-popup {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: white;
  border: 1px solid #ccc;
  padding: 12px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.time-option {
  background-color: #e3f2fd;
  border-radius: 20px;
  padding: 6px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  user-select: none;
}

.time-option.selected {
  background-color: #42a5f5;
  color: white;
  font-weight: bold;
}

.selected-pill {
  background-color: #90caf9;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 13px;
}

.time-selected {
  font-size: 0.9em;
  margin-top: 10px;
  max-width: 600px;
}

#multiDatePicker ::placeholder {
  color: black;
}
.lock-button {
  background-color: rgb(192, 0, 0);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
}
.lock-button img {
  width: 24px;
  height: 24px;
}

.locked {
  background-color: rgb(192, 0, 0);
}

.unlocked {
  background-color: rgb(0, 192, 0);
}
.submit-date {
  width: 100%;
  display: none;
  color: white;
  font-size: 14px;
  justify-content: center;
  font-style: bold;
  align-items: center;
  cursor: pointer;
  background-color: rgb(2, 120, 216);
  border-radius: 4px;
  height: 40px;
}

.thx-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.thx-popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.thx-popup-content {
  background-color: #fff;
  padding: 40px 60px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  font-size: 24px;

  color: #333;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  max-width: 90%;
}

/* Scale up when visible */
.thx-popup-overlay.show .thx-popup-content {
  transform: scale(1);
}

.thx-popup-content img {
  width: 60px;
  height: 60px;
}
.thx-popup-content a {
  align-self: center;
}
.popup-text {
  font-size: 18px;
}

.popup-close {
  position: absolute;
  top: 24px;
  right: 16px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-close img {
  width: 24px;
  height: 24px;
}

.file-button {
  height: 40px;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: #004080;
  border-radius: 4px;
  cursor: pointer;
  max-width: 200px;
  transition: transform 0.3s ease;
  color: white;
  font-size: 18px;
}
.file-button img {
  width: 24px;
  height: 24px;
}

.file-button:hover {
  transform: scale(0.98);
}

.invoice {
  /* opacity: 0.6; */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70vw;
  overflow: scroll;
  height: 80vh;
  overflow-x: hidden;
  padding-right: 20px;
}
.invoice-header {
  align-self: flex-end;
  font-size: 24px;
  margin-bottom: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.invoice-subheader {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 32px;
}

.invoice-header-img {
  display: flex;
  gap: 30px;
  
}


.invoice-subheader img {
  width: 30vw;
  height: auto;
  object-fit: contain;
}

.invoice p {
  font-size: 14px;
}

.invoice-number {
  align-self: flex-end;
}

.invoice-org {
  width: 300px;
  font-size: 16px;
  height: 100%;
  line-height: 30px;
  font-family: Arial, Helvetica, sans-serif;
  border: none;
  resize: none;
}

.double-line {
  height:1px;
  border-top: 1px solid black;
  width: 100%;
  
}
.double-line {
  margin-top: 2px;
}

.invoice-top {
  display: flex;
  
  width: 100%;
  margin-top: 32px;
}
.invoice-top-left {
  flex:1;
  display: flex;
  gap: 30px;
  
}
.invoice-top-left p {
  width: fit-content;
  margin: 0;
  white-space: nowrap;
  font-size: 14px;
}

.invoice-top-left-double {
  display: flex;
  gap: 8px;
  width: 100%;
}

.invoice-top-left-double textarea {
  flex: 1;
  font-size: 16px;
  line-height: 30px;
  height: 70px;
  font-family: Arial, Helvetica, sans-serif;
  resize: none;
  border: none;
  
  padding: 0;
}

.invoice-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  width: 50%;
  gap: 16px;
}

.invoice-top-right p {
  margin: 0;
}

.invoice-top-right-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  width: 100%;
}

.invoice-top-right-row p:first-child {
  
  font-size: 14px;
  width: 100%;
  text-align: right;
}
.invoice-top-right-row  p:last-child {
  
  width: 30%;
  text-align: left;

}

.invoice-top-right-row {
  font-size: 12px;
}

.invoice-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  
}

.invoice-list-header {
  height: 30px;
  width: 99%;
  background-color:#f2f2f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  
  border: 1px solid black;
  border-right: none;
  gap: 1%;
}

.invoice-list-header-item {
  color: black;
  font-size: 14px;
  
  display: flex;
  align-items: center;
  width: 22%;
  font-weight: bold;
  border-right: 1px solid black;
  height: 100%;
}

.invoice-list-header-item-first {
  width: 34%;
  
  padding-left: 8px;
  justify-content: flex-start;
  border-right: 1px solid black;
  height: 100%;
  
}

.invoice-list-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 30px;
  gap: 1%;
  
  border-bottom: 1px solid black;
  
}

.invoice-list-item-value {
  width: 22%;
  border-right: 1px solid black;
  height: 100%;
  display: flex;
  align-items: center;
  
}

.invoice-list-item-value input {
  text-align: center;
}

.invoice-list-item input {
  width: 100%;
}
.invoice-list-item-value-first {
  width: 34%;
  padding-left: 8px;
  height: 100%;
  border-right: 1px solid black;
  border-left: 1px solid black;
  justify-content: flex-start;
}
.invoice-list-item-value-first input {

  text-align: left;
}
.invoice-list-item-value-first input {
  width: 100%;
}

.invoice-list-item-delete {
  display: flex;
  justify-content: center;
  align-items: center;
  color: red;
  cursor: pointer;
  font-size: 14px;
  width: 10%;
}

.invoice-list-content {
  width: calc(99% + 1px);
  display: flex;
  flex-direction: column;
  
  justify-content: center;
  
}
.invoice-list-button {
  cursor: pointer;
  height: 36px;
  padding: 0px 16px;
  border-radius: 4px;
  border: 1px solid #4caf50;
  color: #4caf50;
  display: flex;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.invoice-details-wrapper {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  margin-top: 16px;
}

.invoice-details {
  display: none;
  flex-direction: column;
  width: 60%;
}
.invoice-details p {
  font-size: 13px;
  width: fit-content;
  margin: 0;
  margin-bottom: 8px;
}

.invoice-details-textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  border: none;
  resize: none;
  height: fit-content;
  line-height: 20px;
}

.invoice-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 30%;
  gap: 16px;
}

.invoice-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 14px;
  padding-bottom: 4px;
  margin-right: 1%;
  border-bottom: 1px solid black
}
.invoice-total-row p {
  margin: 0;
}
.invoice-total-row p:nth-child(1){
  font-weight: bold;
}
.tax {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tax-input {
  width: 70px;
  text-align: center;
}

.clear-tax {
  height: 30px;
  width: 30px;
  background-color: #003366;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
}

.invoice-amount-input {
  padding-left: 8px;
  width: 80px;
}

.invoice-total-add-button {
  color: #4caf50;
  cursor: pointer;
  font-weight: bold;
  margin: 12px 0px;
}
.invoice-terms-textarea {
  align-self: flex-start;
  resize: none;
  width: 60%;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  border: none;
  line-height: 20px;
}

.invoice-terms {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-top: 40px;
}

.invoice-terms p {
  margin-bottom: 4px;
  font-size: 13px;
}

.invoice-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.invoice-checkbox input {
  height: 20px;
  width: 20px;
}

@media (max-width: 768px) {
  .applicant-info {
    flex-direction: column-reverse;
  }

  .visa-info {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
  }

  .login-container {
    width: 90%;
  }

  .section-border {
    width: 82vw;
  }
  .visa-info {
    gap: 20px;
  }
  /* .invoice-list-header-item {
    width: 16%;
  }
  .invoice-list-header-item-first {
    width: 44.45%;
  }
  .invoice-list-item-value {
    width: 17.9%;
  }
  .invoice-list-item-value-first {
    width: 45.3%;
  } */
  .thx-popup-content {
    max-width: 95%;
    padding: 40px 20px;
  }
  .invoice {
    width: 90vw;
  }
  .invoice-subheader img {
    left: 5px;
  }
}

.chat-wrapper {
  position: fixed;
  bottom: 20px;
  right: 40px;
  display: none;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
}

.chat {
  height: 500px;
  width: 400px;
  border-radius: 8px;
  background-color: #f8f8f8;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background-color: #003366;
  color: white;
  border-radius: 8px 8px 0px 0px;
  height: 60px;
}

.chat-header-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-header-left-image {
  height: 50px;
  width: 50px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  position: relative;
}

.chat-header-left-image img {
  height: 35px;
  width: 35px;
}

.chat-header-left-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-header-left-text-title {
}

.chat-header-left-text-status {
  font-size: 14px;
  color: #4caf50;
}

.chat-header-right {
  cursor: pointer;
  height: 40px;
  width: 40px;
  display: flex;

  justify-content: flex-end;
}
.chat-header-right img {
  height: 24px;
  width: 24px;
}

.chat-header-left-image-status {
  position: absolute;
  bottom: 5px;
  right: -2px;
  border-radius: 40px;
  width: 14px;
  height: 14px;
  background-color: #4caf50;
}

.chat-button {
  height: 70px;
  width: 70px;
  border-radius: 80px;
  background-color: #004080;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.chat-button:hover {
  transform: scale(0.98);
}

.chat-button img {
  height: 45px;
  width: 45px;
}

.chat-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px;
  position: relative;
  gap: 12px;
}

.chat-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #999;
  text-align: center;
  line-height: 24px;
  display: none;
}

.chat-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  gap: 12px;
  color: white;
  border-radius: 0px 0px 8px 8px;
}
.chat-input textarea {
  flex: 1;
  height: 60px;
  border: none;
  color: black;
  padding: 8px;
  border-radius: 8px;
  resize: none;
  font-family: Arial, Helvetica, sans-serif;
}
.chat-input-button {
  background-color: #003366;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 50px;
  width: 50px;
  border-radius: 100px;
}

.chat-input-button img {
  height: 30px;
  width: 30px;
}

.chat-list-message {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  max-width: 80%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 12px 12px 32px 12px;

  color: white;
  border-radius: 8px;
  width: fit-content;
  position: relative;
}
.chat-list-message p {
  margin: 0;
  font-size: 15px;
}

.chat-list-message-operator {
  background-color: #185f95;
}

.chat-list-message-user {
  background-color: #003366;
  align-self: flex-end;
}

.chat-list-message-date {
  font-size: 10px;
  position: absolute;
  bottom: 8px;
  right: 12px;
  color: #fffcfc;
  align-self: flex-end;
  display: flex;
  text-align: right;
}

.hide {
  display: none;
}

.status {
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  height: 80px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.status-error {
  background-color: #9c04044f;
  border: 1px solid #ff0000;
  color: #ff0000;
}

.status-success {
  background-color: #4caf4f70;
  border: 1px solid #4caf50;
  color: #4caf50;
}

.chat-list-date-separator {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  margin: 20px 0;
  padding: 5px;
  border-bottom: 1px solid #ddd;
}

.chat-list-message {
  display: flex;

  flex-direction: column;
  margin-bottom: 10px;
}

.chat-list-message p {
  margin: 0;
}

button img {
  width: 20px;
  height: 20px;
}

button:hover img {
  opacity: 0.8;
}

.edit-controls {
  display: none;
  align-items: center;
}

.edit-controls input {
  margin-right: 10px;
  padding: 5px;
}

.confirm-edit,
.cancel-edit {
  padding: 5px;
  cursor: pointer;
  background-color: #28a745;
  color: white;
  border: none;
}

.cancel-edit {
  background-color: #dc3545;
}

.edit-input {
  width: 100%;
  margin-bottom: 8px;
  height: 100px;
}
.edit-btn,
.delete-btn {
  padding: 0px;
}

#selectedImagePreview {
  max-width: 50px;
  max-height: 100px;
  margin-right: 10px;
}

#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#imageModalContent {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#modalImage {
  max-width: 80%;
  max-height: 80%;
}

#closeModalButton {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  height: 30px;
  width: 30px;
  z-index: 1001;
}

#closeModalButton img {
  width: 100%;
  height: 100%;
}

.add-image-button img {
  height: 32px;
  width: 32px;
  cursor: pointer;
}

#imagePreviewContainer {
  display: none;
}

#deleteImageButton {
  border:none;
  background-color: transparent;
  cursor: pointer;
}