th, td {
  text-align: center;
  vertical-align: middle !important;
}

.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.close:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.row {
  margin-bottom: 20px;
}

.modal-body .row:last-child {
  margin-bottom: 0;
}

.col-md-6 {
  display: flex;
  align-items: center;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font-size: 16px;
  transition: border-color 0.3s;
  outline: none;
}

textarea:hover,
textarea:focus {
  border-color: #007bff;
}

select {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  transition: border-color 0.3s;
  outline: none;
}

select:hover,
select:focus {
  border-color: #007bff;
}
/* swal2-popup swal2-modal swal2-icon-error swal2-show */
.swal-dark-mode .swal2-popup {
  background: #23272b;
  color: #fff;
}

body.dark-mode {
  background-color: #212529;
}

body.table-dark select {
  background-color: #333;
  color: #fff;
  border-color: #666;
}

.dark-mode-btn {
  cursor: pointer;
  background: none;
  border: none;
  outline: none !important;
}

.dark-mode .modal-content {
  background-color: #343a40;
  color: #ffffff;
}

.dark-mode .modal-body textarea {
  background-color: #343a40;
  color: #ffffff;
}

.dark-mode .modal-header,
.dark-mode .modal-footer {
  background-color: #23272b;
  border-color: #343a40;
  color: #ffffff;
}

.dark-mode .close {
  text-shadow: none;
  color: #fff;
  opacity: 1 !important;
}

.fa-sun {
  color: #ffeb3b;
  border: none;
  outline: none !important;
}

.fa-moon {
  color: #d3d3d3;
  border: none;
  outline: none !important;
}

body.dark-mode .dropdown-menu {
  background-color: #333;
}

body.dark-mode .dropdown-menu .dropdown-item {
  color: #fff !important;
}

body.dark-mode .dropdown-menu .dropdown-item:hover {
  color: #000 !important;
}

body.dark-mode .dropdown-menu .dropdown-item:active {
  background-color: #f8f9fa !important;
}

.action-header {
  position: relative;
  text-align: center;
}

.action-dropdown {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
}

.dropdown-toggle::after {
  display:none
}

.special-td {
  justify-content: center;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.table_textarea {
  width: 50%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  font-size: 14px;
  line-height: 1.4;
  margin-right: 10px;
  transition: border-color 0.3s;
  outline: none;
}

body.dark-mode .table_textarea {
    background-color: #333;
    color: #fff;
  }
