.table .detail td {
  padding: 0.1rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

*:focus {
  outline: none;
}

/* list-group checkbox 調整__START */

.list-group-item .checkbox label:after,
.list-group-item .radio label:after {
  content: "";
  display: table;
  clear: both;
}

.list-group-item .checkbox .cr,
.list-group-item .radio .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  border-radius: 0.25em;
  width: 1.4em;
  height: 1.4em;
  float: left;
  margin-right: 0.5em;
}

.list-group-item .radio .cr {
  border-radius: 50%;
}

.list-group-item .checkbox .cr .cr-icon,
.list-group-item .radio .cr .cr-icon {
  position: absolute;
  font-size: 0.8em;
  line-height: 0;
  top: 50%;
  left: 20%;
}

.list-group-item .radio .cr .cr-icon {
  margin-left: 0.04em;
}

.list-group-item .checkbox label input[type="checkbox"],
.list-group-item .radio label input[type="radio"] {
  display: none;
}

.list-group-item .checkbox label input[type="checkbox"] + .cr > .cr-icon,
.list-group-item .radio label input[type="radio"] + .cr > .cr-icon {
  transform: scale(3) rotateZ(-20deg);
  opacity: 0;
  transition: all 0.3s ease-in;
}

.list-group-item
  .checkbox
  label
  input[type="checkbox"]:checked
  + .cr
  > .cr-icon,
.list-group-item .radio label input[type="radio"]:checked + .cr > .cr-icon {
  transform: scale(1) rotateZ(0deg);
  opacity: 1;
}

.list-group-item .checkbox label input[type="checkbox"]:disabled + .cr,
.list-group-item .radio label input[type="radio"]:disabled + .cr {
  opacity: 0.5;
}

.list-group-item .checkbox label {
  font-size: 1em;
  padding-left: 0px;
}
/* <span className="checkbox" >
                <label style={{ fontSize: '1em', paddingLeft: '0px' }}> */

.list-group-item .checkbox {
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
}
/* list-group checkbox 調整__END */

/* 調整標題高度 */
.content-header {
  padding: 10px 0.5rem;
}

/* for checkbox 調整 */
.checkbox-padding-left-15 {
  padding-left: 15px;
}

/* for checkbox invalid 調整 */
.form-control-checkbox {
  height: auto;
  border: none;
  display: flex;
}

/* for checkbox invalid 調整 */
.form-control-checkbox.is-invalid {
  border: 1px solid #ced4da;
  border-color: #dc3545;
}

/* for file invalid 調整 */
.form-control-file.is-invalid {
  border: 1px solid #ced4da;
  border-color: #dc3545;
}

/* for input invalid feedback */
.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.table-hover .img-preview-hover {
  position: relative;
}

.table-hover .img-preview-board {
  position: absolute;
  top: 0.25rem;
  right: 100px;
  width: 300px;
  height: 200px;
  background-color: white;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  padding: 0.25rem;
  z-index: 2;
}

.table-hover .img-preview-board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-col {
  display: flex;
  flex-direction: row;
}
.award-col img {
  width: 40px;
  height: 40px;
  max-width: 50px;
  object-fit: cover;
}
.award-col p {
  margin-left: 1rem;
}

.flex {
  display: flex;
}

.pb-2 {
  padding: 4rem;
}

.mt-2 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 1.5rem;
}

.items-start {
  align-items: flex-start;
}

.whitespace-nowrap {
  white-space: nowrap;
}

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

.w-full {
  width: 100%;
}
.w-max-8 {
  max-width: 2rem;
}

.rounded {
  border-radius: 0.25rem;
}

.h-full {
  height: 100%;
}

.h-24 {
  height: 6rem;
}

.h-36 {
  height: 9rem;
}

.h-48 {
  height: 12rem;
}

.h-64 {
  height: 16rem;
}

.items-center {
  align-items: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.right-border {
  border-right: 1px solid rgb(221, 221, 221);
}

.text-red {
  color: rgb(255, 0, 0);
}

.border-1 {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgba(209, 213, 219, var(--tw-border-opacity));
}

.border-blue-300:hover {
  --tw-border-opacity: 1;
  border-color: rgba(147, 197, 253, var(--tw-border-opacity));
}

.border-dashed {
  border-style: dashed;
}

.border-dotted {
  border-style: dotted;
}

.table-entry-border {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.entry-button-modal-dialog {
  max-width: 1000px;
}

.entry-button-list {
  min-height: 200rem;
}

.entry-button-modal {
  display: block;
  position: fixed;
  top: 50px;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  max-height: 900px;
}

.entry-button-modal-header {
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #f8fafa;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.entry-button-modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
  max-height: 700px;
  overflow: auto;
}

.entry-button-modal-footer {
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #f8fafa;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}

.btn-light-border {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-red {
  background-color: red;
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.entry-button-upload-border {
  display: flex;
  width: 12rem;
  height: 12rem;
  border-radius: 0.25rem;
  align-items: center;
  justify-content: center;
  margin-left: 1.5rem !important;
  border-style: dashed;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgba(209, 213, 219, var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
}

.entry-button-upload-border:hover {
  --tw-border-opacity: 1;
  border-color: rgba(147, 197, 253, var(--tw-border-opacity));
}

.entry-button-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.entry-button-remove-game:hover {
  --tw-border-opacity: 1;
  color: rgba(59, 130, 246, var(--tw-border-opacity));
}

.modal-slide-down {
  animation-name: slide-down;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes slide-down {
  0% {
    transform: translateY(-30%);
  }
  100% {
    transform: translateY(0);
  }
}

.custom-is-invalid {
  border: 1px solid #dc3545;
  border-radius: 3px;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.entry-button-operator {
  --tw-border-opacity: 1;
  color: rgba(59, 130, 246, var(--tw-border-opacity));
}

.entry-button-operator-popup {
  position: absolute;
  top: 2rem;
  width: 74px;
  margin: 0 auto;
  text-align: center;
  z-index: 999;
  font-size: 14px;
}

.entry-button-operator-popup:after {
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.2);
}

.entry-button-operator-popup:before {
  content: "";
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.2);
  background: #fff;
  position: absolute;
  z-index: 998;
}

.entry-button-operator-popup.arrow-top:before {
  left: calc(50% - 6px);
  top: -3px;
}

.entry-button-operator-popup.arrow-hidden:before {
  animation-name: hideHeight;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes hideHeight {
  from {
    display: block;
    opacity: 1;
  }
  to {
    display: none;
    opacity: 0;
  }
}

.expand-height-animation {
  animation-name: expandHeight;
  animation-duration: 0.25s;
  animation-fill-mode: forwards;
  height: 0;
  overflow: hidden;
}

@keyframes expandHeight {
  from {
    height: 0;
    padding-top: 0;
  }
  to {
    height: 160px;
    padding-top: 0.5rem;
  }
}

.fold-height-animation {
  animation-name: foldHeight;
  animation-duration: 0.25s;
  animation-fill-mode: forwards;
  height: 160px;
  overflow: hidden;
}

@keyframes foldHeight {
  from {
    height: 160px;
    padding-top: 0.5rem;
  }
  to {
    height: 0;
    padding-top: 0;
  }
}

.entry-button-operator-popup-wrapper {
  width: 100%;
  border-radius: 4px;
  background: #fff;
  position: relative;
  z-index: 998;
}

.entry-button-operator-popup-content {
  padding: 0.5rem;
  margin-bottom: 0rem;
  --tw-border-opacity: 1;
  color: rgba(55, 65, 81, var(--tw-border-opacity));
}

.entry-button-operator-popup-content:hover {
  --tw-border-opacity: 1;
  background-color: rgba(229, 231, 235, var(--tw-border-opacity));
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.min-w-40 {
  min-width: 10rem;
}

.active-hover {
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.w-0 {
  width: 0;
}

.invisible {
  visibility: hidden;
}

.content-card {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd; /* Light grey border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff; /* Keeping the white background */
  transition: box-shadow 0.3s ease;
}

.right-4 {
  right: 1rem;
}

.inline-block {
  display: flex;
}

.w-80 {
  width: 20rem;
}

.w-160 {
  width: 40rem;
}

.pointer-events-none {
  pointer-events: none;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.invalid-feedback2 {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 80%;
  color: #dc3545;
}

.invalid-feedback3 {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 80%;
  color: #fd7e14;
}

.flex-1 {
  flex: 1;
}

.clock {
  color: rgba(0, 0, 0, 0.65) !important;
  font-size: 15px;
  font-weight: 600;
}

.remove-table-css {
  border: none !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.remove-td-css {
  padding: 0 5px 0 0 !important;
  border: none !important;
  margin: 0 !important;
  background: transparent !important;
}

.input-group-text-behind {
  border-radius: 0 0.25rem 0.25rem 0 !important;
}
