#container-gestion {
  width: 100vw;
  height: 100vh;
  display: flex;
  overflow-x: hidden;
}
#container-gestion input[type=text],
#container-gestion input[type=email],
#container-gestion textarea {
  min-width: 400px;
}
#container-gestion .main {
  padding: 24px;
  box-sizing: border-box;
  width: calc(100vw - 50px);
  height: 100%;
}
#container-gestion .main h1.title {
  font-size: 32px;
  margin: 0 0 24px 0;
}
#container-gestion .main .head-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 24px 0;
}
#container-gestion .main .head-wrapper h1.title {
  font-size: 32px;
  margin: 0 !important;
}
#container-gestion .main .head-wrapper .btn {
  width: auto;
}
#container-gestion .main .head-wrapper .btn img {
  width: 18px;
  margin-left: 8px;
  position: relative;
  top: 3px;
}
#container-gestion .main .list-wrapper {
  height: calc(100vh - 127px);
  overflow-y: scroll;
  padding-right: 12px;
}
#container-gestion .main .list-wrapper .line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #f1f1f1;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: 0.25s ease;
}
#container-gestion .main .list-wrapper .line .data {
  display: flex;
}
#container-gestion .main .list-wrapper .line .data .text {
  margin-right: 24px;
}
#container-gestion .main .list-wrapper .line .data .text.bold {
  font-weight: 500;
}
#container-gestion .main .list-wrapper .line .data .text.light {
  font-weight: 300;
}
#container-gestion .main .list-wrapper .line .data .text.red {
  background-color: #e71b4e;
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
}
#container-gestion .main .list-wrapper .line .data .text.green {
  background-color: #2ecc71;
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
}
#container-gestion .main .list-wrapper .line:hover {
  background: #eee;
}

table {
  border-collapse: collapse;
  border: 1px solid #5269f0;
  font-size: 16px;
}

thead,
tfoot {
  background-color: #5269f0;
  color: #fff;
}

th,
td {
  border: 1px solid #5269f0;
  padding: 8px 12px;
}

tr.row:hover {
  background: #efecff;
}

#gestion-menu-filler {
  height: 100%;
  width: 50px;
  padding: 12px 0;
  box-sizing: border-box;
}

#gestion-menu {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  height: 100%;
  background: #5269f0;
  display: flex;
  flex-direction: column;
  width: 50px;
  overflow: hidden;
  color: #fff;
  padding: 12px 0;
  box-sizing: border-box;
  transition: 0.5s ease;
}
#gestion-menu .tab {
  display: inline-block;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
}
#gestion-menu .tab .tab-inner {
  box-sizing: border-box;
  padding: 12px;
  display: flex;
  justify-content: center;
  color: #fff;
  white-space: nowrap;
}
#gestion-menu .tab .tab-inner .text {
  display: none;
}
#gestion-menu .tab .tab-inner img {
  height: 20px;
  position: relative;
  top: 3px;
}
#gestion-menu .tab .logo-right-tab img {
  margin-left: 8px;
  height: 18px;
  position: relative;
  top: 3px;
}
#gestion-menu .tab:hover {
  background: #8a9cff;
}
#gestion-menu .separator {
  margin: 12px 0;
  height: 1px;
  background: #8a9cff;
}

#gestion-menu:hover {
  width: 250px;
}
#gestion-menu:hover .tab {
  text-align: left;
}
#gestion-menu:hover .tab .tab-inner {
  padding: 12px 24px;
  justify-content: start;
}
#gestion-menu:hover .tab .tab-inner .text {
  display: block;
}
#gestion-menu:hover .tab .tab-inner img {
  margin-right: 8px;
}

form .field {
  margin-bottom: 16px;
}
form .field .img-container {
  position: relative;
}
form .field .img-container img.icon {
  cursor: pointer;
  margin-left: 8px;
  width: 20px;
  position: relative;
  top: 3px;
  opacity: 0.6;
  transition: 0.25s ease;
}
form .field .img-container img.info {
  border: 2px solid #eee;
  position: absolute;
  border-radius: 8px;
  display: none;
  margin-top: 8px;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
}
form .field .img-container:hover img.info {
  display: block;
}
form .field .img-container:hover img.icon {
  opacity: 1;
}
form .field .field-wrapper {
  display: flex;
  justify-content: space-between;
}
form .field .field-wrapper .left,
form .field .field-wrapper .right {
  width: calc(50% - 12px);
}
form .field .field-wrapper #preview {
  margin-top: 12px;
  background: #eee;
  border-radius: 8px;
  padding: 12px 24px;
  box-sizing: border-box;
  font-size: 16px;
}
form .field .field-wrapper #preview a {
  color: #5269f0;
}
form .field .field-wrapper #preview h1 {
  font-size: 28px;
  margin: 16px 0 16px 0;
}
form .field .field-wrapper #preview img {
  width: 100%;
  min-width: 100px;
  max-width: 500px;
  margin: 16px 0;
}
form button img {
  margin-left: 8px;
  height: 16px;
  position: relative;
  top: 3px;
}

.actions {
  display: flex;
}

.action {
  background: #8a9cff;
  padding: 8px;
  margin-left: 12px;
  width: 22px;
  height: 22px;
  text-align: center;
  border-radius: 50%;
  transition: 0.25s ease;
}
.action img {
  width: 18px;
  position: relative;
  top: 1px;
}

.action:hover {
  background: #5269f0;
}

.gestion-table .row.pending {
  background: #ddd;
}
.gestion-table .row.pending:hover {
  background: #d0d0d0;
}

#dropfile {
  width: 300px;
  height: 50px;
  border: 3px dashed #bbbbbb;
  line-height: 50px;
  text-align: center;
  border-radius: 8px;
}

.images-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: row;
}
.images-wrapper .image-container {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  margin-right: 12px;
  margin-bottom: 12px;
  position: relative;
  background-size: cover;
  background-position: center;
  border: 4px #eee solid;
  box-sizing: border-box;
  cursor: pointer;
  transition: 0.25s ease;
}
.images-wrapper .image-container .delete-image {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 6px;
  border-radius: 18px;
  z-index: 10;
  cursor: pointer;
  transition: 0.25s ease;
}
.images-wrapper .image-container .delete-image img {
  position: relative;
  top: 2px;
}
.images-wrapper .image-container .delete-image:hover {
  background: rgba(0, 0, 0, 0.5);
}
.images-wrapper .image-container:hover {
  border: 4px #5269f0 solid;
}
.images-wrapper .image-container:hover .delete-image {
  display: block;
}
.images-wrapper .image-container:active {
  border: 4px #2ecc71 solid;
  transform: scale(1.05);
}

select.blue {
  color: #fff;
  background: rgba(255, 255, 255, 0.25);
  border: none;
}

select.blue option {
  color: #000;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 12px 0 20px 0;
}

.filters-bar input,
.filters-bar select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  min-width: 100px;
  max-width: 220px;
}

.filters-bar .btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  justify-content: center;
}

.badge.ok {
  background: #d7f5dd;
  color: #145a1f;
}

.badge.require_renewal {
  background: #ffe6c7;
  color: #7a3e00;
}

.badge.waiting_payment {
  background: #f0f0f0;
  color: #444;
}

.badge.pay0 {
  background: #f0f0f0;
  color: #444;
}

.badge.pay1 {
  background: #d7f5dd;
  color: #145a1f;
}

.cell-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.muted {
  color: #666;
  font-size: 13px;
}

.nowrap {
  white-space: nowrap;
}

.action.primary {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(82, 105, 240, 0.1);
}

.action.primary:hover {
  background: rgba(82, 105, 240, 0.18);
}

#btn-export {
  background: #2e4aec;
  font-size: 16px;
  font-weight: 500;
}