@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
*,
ul {
  margin: 0;
  padding: 0;
}
a,
a:hover {
  text-decoration: none;
}
body {
  font-size: 14px;
  font-family: "Inter", sans-serif;
  background: #fff;
}
.logo {
  font-size: 30px;
  font-weight: 800;
}
main {
  display: grid;
  grid-template-columns: auto 1fr;
}
header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .search,
.card-header .search {
  position: relative;
}
.card-header .search i,
header .search i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
header .search input {
  border-radius: 50px;
  width: 500px;
  padding: 10px 20px;
  border: 1px solid #ddd;
  transition: 0.5s;
}
header input:focus {
  border: 1px solid #444;
  outline: none;
}
header i.fa-user-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #097de9;
  font-size: 20px;
  color: white;
  border-radius: 50%;
}
.content {
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #ddd;
  background: #f6f6f6;
  height: 90vh;
  overflow: scroll;
  width: 99%;
}
.bg-content {
  background: #f6f6f6;
}
.fr-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, black 6px, transparent 6px) 0 0,
    linear-gradient(to right, black 6px, transparent 6px) 0 100%,
    linear-gradient(to left, black 6px, transparent 6px) 100% 0,
    linear-gradient(to left, black 6px, transparent 6px) 100% 100%,
    linear-gradient(to bottom, black 6px, transparent 6px) 0 0,
    linear-gradient(to bottom, black 6px, transparent 6px) 100% 0,
    linear-gradient(to top, black 6px, transparent 6px) 0 100%,
    linear-gradient(to top, black 6px, transparent 6px) 100% 100%;

  background-repeat: no-repeat;
  background-size: 40px 40px;
  border-radius: 5px;
}
.fr-card video {
  border-radius: 3px;
}
.fr-card {
  position: relative;
  display: inline-block;
  padding: 20px;
}
.content::-webkit-scrollbar {
  display: none;
}
nav {
  padding: 10px 15px;
}
nav ul {
  list-style-type: none;
  border-bottom: 1px dashed #a6a6a6;
  padding: 5px 0;
  margin-bottom: 10px;
}
nav ul:last-child {
  border-bottom: 0;
  padding: 0;
  margin-bottom: 0;
}

nav ul li {
  margin-bottom: 5px;
  position: relative;
}
nav ul li a {
  display: flex;
  color: #9e9e9e;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  width: 100%;
  font-weight: 600;
}
nav ul li a i.fab,
nav ul li a i.far {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 18px;
}
nav ul li a img {
  width: 40px;
  padding: 10px;
  border-radius: 8px;
}
nav ul li a.active:hover,
nav ul li a.active {
  background: #097de9;
  color: white;
}
nav ul li a:hover {
  background: #f2f2f2;
}
nav ul li a span {
  display: none;
}
.sidebar {
  transition: 0.5s;
  animation: animateThis 1s ease-in;
  height: 90vh;
  overflow-y: scroll;
}
.sidebar::-webkit-scrollbar {
  display: none;
}
div.sidebar {
  width: 70px;
  transition: width 0.1s;
}

div.sidebar:hover {
  width: 200px;
}

div.sidebar:hover span {
  display: block;
}

.card-custom {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
}
.breadcrumbs {
  list-style-type: none;
  display: flex;
  gap: 25px;
}
.breadcrumbs li {
  position: relative;
}
.breadcrumbs li {
  color: #444;
}
.breadcrumbs li::after {
  content: "\f324";
  font-family: "Font Awesome 5 Pro";
  position: absolute;
  right: -17px;
  font-size: 11px;
  top: 2px;
}
.breadcrumbs li:last-child::after {
  display: none;
}
.circle-media {
  display: flex;
}
.circle {
  display: block;
  border-radius: 50%;
  margin: 1px;
}
.circle-sm {
  width: 15px;
  height: 15px;
}
table {
  position: relative;
  width: 100%;
}

table thead tr th {
  background: #e7e7e7;
  padding: 12px;
  font-weight: 500;
  border-bottom: 1px solid #ddd;
}
table tbody tr td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}
table tbody tr:last-child td {
  border-bottom: none;
}
.initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 5px;
  color: white;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}
.badg {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
}
.badg-danger {
  background: #ffd8d7;
  font-size: 12px;
  color: #e3110a;
  font-weight: 600;
}
.badg-success {
  background: #97ffb0;
  font-size: 12px;
  color: #046c1d;
  font-weight: 700;
}
.list-none {
  list-style-type: none;
}
.form-item label {
  font-weight: 500;
}
.form-item {
  position: relative;
  margin-bottom: 10px;
}
.form-item select,
.form-item input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  transition: 0.5s;
}
.form-item textarea {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  transition: 0.5s;
}
.form-item textarea:hover,
.form-item input:hover,
.form-item input:hover {
  border: 1px solid #444;
  outline: none;
}

.button-group {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border-radius: 5px;
  list-style-type: none;
  margin: 10px 0;
  border: 1px solid #ddd;
}
.button-group button {
  border: none;
  outline: none;
  padding: 8px 20px;
  background: #fff;
}
.button-group li {
  border-right: 1px solid #ddd;
}
.button-group li:last-child {
  border-right: none;
}
.button-group button:hover,
.button-group li.active button {
  background: #f0f0f0;
}
.tab-content {
  display: none;
}
.rp {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  color: #b6b6b6;
}

.btn-outline-main {
  border: 1px solid #097de9;
  color: #097de9;
  transition: 0.5s;
}
.btn-outline-main:hover {
  background: #097de9;
  color: white;
}
.modal-custom {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  z-index: 999;
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}
.modal-custom-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  width: 24rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.modal-custom-body {
  padding: 1rem 1.5rem;
  max-height: 85vh;
  overflow-y: scroll;
}
.close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  background-color: lightgray;
}
.close-button:hover {
  background-color: darkgray;
}
.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
.modal-custom-header {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  font-weight: 500;
}
.file-manager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  list-style-type: none;
  gap: 5px;
}
.file-manager img {
  width: 145px;
  height: 100px;
  margin-bottom: 5px;
  object-fit: cover;
}
.file-manager li input {
  display: none;
}
.file-manager li input:checked + label {
  border: 1px solid #a9a9a9;
  background: #d1e2fe;
}
.file-manager li label {
  border: 1px dashed #868686;
  background: #eeeeee;
  padding: 10px;
  border-radius: 4px;
}
.file-manager li {
  margin: 10px;
}

@media only screen and (max-width: 768px) {
  .fr-card::before {
    content: "";
    position: absolute;
    left: ;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, black 6px, transparent 6px) 0 0,
      linear-gradient(to right, black 6px, transparent 6px) 0 100%,
      linear-gradient(to left, black 6px, transparent 6px) 100% 0,
      linear-gradient(to left, black 6px, transparent 6px) 100% 100%,
      linear-gradient(to bottom, black 6px, transparent 6px) 0 0,
      linear-gradient(to bottom, black 6px, transparent 6px) 100% 0,
      linear-gradient(to top, black 6px, transparent 6px) 0 100%,
      linear-gradient(to top, black 6px, transparent 6px) 100% 100%;

    background-repeat: no-repeat;
    background-size: 40px 40px;
    border-radius: 5px;
  }
  .fr-card {
    padding: 10px;
  }
  .fr-card video {
    width: 100%;
  }
  .modal-custom-content {
    width: 95% !important;
  }
  .button-group button {
    border: none;
    outline: none;
    padding: 5px 10px;
    background: #f2f2f2;
    font-size: 12px;
  }
  .sidebar {
    display: none;
  }
  header img {
    width: 70px;
  }
  header .search {
    width: 50%;
  }
  header .search input {
    width: 100%;
    padding: 5px 20px;
  }
  header i.fa-user-circle {
    width: 35px;
    height: 35px;
  }
}

.list-images {
  margin-top: 10px;
  display: flex;
  gap: 4px;
  list-style-type: none;
  flex-wrap: wrap;
}
.list-images li {
  position: relative;
  margin-bottom: 10px;
}
.list-images li i {
  position: absolute;
  left: 5px;
  top: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: red;
  color: white;
}
.list-images img {
  width: 100px;
  height: 100px;
  border-radius: 3px;
  object-fit: cover;
}

.dropzone-box {
  border-radius: 1em;
  padding: 2rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
}

.dropzone-box h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dropzone-area {
  padding: 1rem;
  position: relative;
  margin-top: 1rem;
  min-height: 16rem;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 2px dashed #444;
  border-radius: 0.5rem;
  color: #444;
  cursor: pointer;
}

.dropzone-area [type="file"] {
  cursor: pointer;
  position: absolute;
  opacity: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.dropzone-area .file-upload-icon svg {
  height: 5rem;
  width: 5rem;
  margin-bottom: 0.5rem;
  stroke: #444;
}

.dropzone--over {
  border-style: solid;
  background-color: #444;
}

.dropzone-actions {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #444;
  gap: 1rem;
  flex-wrap: wrap;
}

.dropzone-actions button {
  flex-grow: 1;
  min-height: 3rem;
  font-size: 14px;
}

.dropzone-actions button:hover {
  text-decoration: underline;
}

.dropzone-actions button[type="reset"] {
  background-color: transparent;
  border: 1px solid #444;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: #444;
  cursor: pointer;
}

.dropzone-actions button[type="submit"] {
  background-color: #444;
  border: 1px solid #444;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: #fff;
  cursor: pointer;
}
.notif-bottom {
  left: 50%;
  transform: translateX(-50%);
  bottom: -100%;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09);
  z-index: 999;
  position: fixed;
  background: #fff;
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 10px;
}
.notif-bottom.show {
  bottom: 10px;
  transition: 0.5s;
}
.notif-bottom button {
  border: none;
  background: #ff2f28;
  padding: 5px 10px;
  border-radius: 5px;
  color: white;
}
.select-custom ul {
  list-style-type: none;
  border: 1px solid #b1b1b1;
  border-radius: 4px;
}
.select-custom li {
  position: relative;
  padding: 5px 10px;
}
.select-custom li ul {
  position: absolute;
  top: -100px;
  left: 0;
  background: #fff;
  width: 100%;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09);
  border-radius: 4px;
  display: none;
}
.select-custom li ul li {
  padding: 0;
}
.select-custom li ul li a {
  display: block;
  font-size: 14px;
  color: #444;
  padding: 6px 10px;
}
.select-custom li:hover ul {
  display: block;
}
.select-custom li ul li a:hover {
  background: #f1f1f1;
}
.output-img {
  display: none;
  width: 200px;
}
.output {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  display: none;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
  position: relative;
}
canvas {
  display: none;
  width: 100% !important;
  border-radius: 5px;
}
/* CSS */
.button-9 {
  appearance: button;
  backface-visibility: hidden;
  background-color: #405cf5;
  border-radius: 6px;
  border-width: 0;
  box-shadow: rgba(50, 50, 93, 0.1) 0 0 0 1px inset,
    rgba(50, 50, 93, 0.1) 0 2px 5px 0, rgba(0, 0, 0, 0.07) 0 1px 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue",
    Ubuntu, sans-serif;
  font-size: 100%;
  height: 44px;
  line-height: 1.15;
  margin: 12px 0 0;
  outline: none;
  overflow: hidden;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-transform: none;
  transform: translateZ(0);
  transition: all 0.2s, box-shadow 0.08s ease-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-9:disabled {
  cursor: default;
}

.button-9:focus {
  box-shadow: rgba(50, 50, 93, 0.1) 0 0 0 1px inset,
    rgba(50, 50, 93, 0.2) 0 6px 15px 0, rgba(0, 0, 0, 0.1) 0 2px 2px 0,
    rgba(50, 151, 211, 0.3) 0 0 0 4px;
}
