.simple-button {
  background: linear-gradient(45deg, rgb(236, 236, 236) 0%, rgb(255, 255, 255) 100%) !important;
  height: 55px !important;
  font-weight: 600 !important;
  box-shadow: 0 11px 14px 1px rgba(5, 124, 175, .1);
  border-radius: 6px !important;
  text-transform: none;
  color: rgb(0, 0, 0);
  border: 1px solid transparent;
  /* margin-bottom: 15px; */
  transition: all .2s ease-in-out;
}

.simple-button:hover {
  transform: scale(1.05);
}

.form-control {
  /* height: auto !important; */
  background: #fff !important;
  color: #000000 !important;
  font-size: 16px;
  border-radius: 5px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: 1px solid #e6e6e6;
}

.tendance-mini-card {
  position: relative;
  height: 100%;
  /* min-height: 250px; */
  border: none;
  box-shadow: 0 11px 14px 1px rgba(5, 124, 175, .1);
  background-color: white;
  transition: all .2s ease-in-out;
  margin-bottom: 20px;
  text-transform: none;
  font-size: 16px !important;
  background: 0 0;
  color: #343d48;
  font-weight: 500;
  padding-left: 10px;
  padding-top: 10px;
  padding-right: 10px;
  border: 1px solid #e6e6e6;
  transition: all .2s ease-in-out;
  height: 50px;
}

.tendance-mini-card:hover {
  transform: scale(1.05);
  border: 1px solid #d7480c;
  color: #d7480c;
}

.tendance-erudit-95 {
  max-width: 95%;
}

input {
  background: #fff;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.form-control {
  margin-bottom: 25px;
  box-shadow: 0 1px 12px 1px rgba(5, 124, 175, .1) !important;
  border: 2px solid #dddddd;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/**********************************
** Page compte, création de page
**
********/
.img-editable:hover {
  outline: 2px dotted rgb(243, 134, 9) !important;
  cursor: pointer;
}

.editable,
.img-editable {
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
}

.editable:hover {
  outline: 2px dotted rgb(7, 202, 137) !important;
  cursor: pointer;
}

#inputYoutubeLink,
#page-youtube-edition label {
  font-size: 12px;
}

#page-element-edition,
#page-youtube-edition {
  width: 100%;
}

.edition-wrapper {
  top: 110px;
}

#page-img-edition {
  width: 100%;
  min-height: 200px !important;
}

#page-template-list {
  width: 280px;
  min-height: 300px;
  color: white;
  background-color: #464646;
}


#page-element-edition textarea {
  min-height: 200px !important;
  width: 95%;
  width: -moz-available !important;
  background-color: red;
  font-family: monospace;
}

#page-element-edition {
  /* position: fixed; */
  top: 50%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  z-index: 9999;
  /* width: 90% !important; */
}

#img-edition-display img {
  height: 150px !important;
}

#page-template-list button {
  color: white;
}

/* .element-wrapper {
  margin-left: -220px;
} */

/* @media screen and (max-width: 1111px) {
  .element-parent-wrapper {
    margin-top: 100px;
  }
} */

/* @media screen and (min-width: 1350px) {
  #page-element-edition {
    width: 350px;
  }
} */

@media screen and (min-width: 1600px) {
  #page-elements {
    width: 100% !important;
  }
}

@media screen and (max-width:900px) {
  #collapse-option-items {
    font-size: 13px !important;
  }
}

#collapse-option-items {
  font-size: 14px !important;
  font-weight: 300 !important;
}

.option-description {
  position: absolute;
  right: 1rem;
  top: 40%;
  color: #6693aa;
}

@media screen and (max-width:400px) {
  .option-description {
    top: 33%;
    font-size: 22px;
  }
}

input.input-element {
  padding: 5px;
  outline: none;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
}

input.input-element:focus {
  border: 1px solid #94a7d4;
  box-shadow:
    2.3px 1.2px 3.6px -45px rgba(0, 0, 0, 0.022),
    6.3px 3.3px 10px -45px rgba(0, 0, 0, 0.033),
    15.1px 7.8px 24.1px -45px rgba(0, 0, 0, 0.044),
    50px 26px 80px -45px rgba(0, 0, 0, 0.07);
}


/*****************
*
* Vertical navbar
*
*****************/
#vertical-navbar button {
  font-size: 15px !important;
  margin-bottom: 13px !important;
  border-radius: 5px;
  height: auto;
  padding: 12px 9px 0px 10px;
}

#vertical-navbar svg {
  height: 25px;
  width: 20px;
  padding: 0;
  left: 10px;
  position: relative;
}

/* * * * * * * * * */
.form-control-page {
  /* height: auto !important; */
  font-size: 15px;
  color: #252525 !important;
  padding: 7px;
}

.container-formBien {
  border: 1px solid rgb(225, 225, 225);
  border-radius: 5px;
}

#ici {
  transform: translateY(-21px);
}

#ici span {
  background-color: #f8f9fa;
  padding: 0 10px;
}

#simpleBTN,
#updateBTN {
  height: 44px !important;
}

#simpleBTN:hover,
#updateBTN:hover {
  transform: scale(1.01);
}

label[for="page-img-input"]:hover {
  cursor: pointer;
  color: #165cff;
  text-decoration: underline;
}

.btn-arrow-deplacer:hover {
  cursor: pointer;
  background-color: #bfe1ff;
  color: #000000;
}

.btn-arrow-deplacer {
  color: rgb(36, 36, 36);
}

.deplacer-txt {
  font-size: 15px;
}

#btn-add-template {
  color: rgb(231, 83, 83);
  font-size: 28px;
}

#btn-add-template:hover {
  color: rgb(216, 47, 47);
}

/* Style des boutons */
.buttonAccount {
  display: block;
  width: 150px;
  height: 50px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* Style de la barre de navigation */
.navbarAccount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 200px;
  height: 100%;
  background-color: #343a40;
  color: white;
}

.right {
  float: right;
}


.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .1),
    4px 4px 5px 0px rgba(0, 0, 0, .1);
  outline: none;
  margin: 10px;
}

.btn-6 {
  background: rgb(247, 150, 192);
  background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  line-height: 42px;
  padding: 0;
  border: none;
}

.btn-6 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.btn-6:before,
.btn-6:after {
  position: absolute;
  content: "";
  height: 0%;
  width: 1px;
  box-shadow:
    -1px -1px 20px 0px rgba(255, 255, 255, 1),
    -4px -4px 5px 0px rgba(255, 255, 255, 1),
    7px 7px 20px 0px rgba(0, 0, 0, .4),
    4px 4px 5px 0px rgba(0, 0, 0, .3);
}

.btn-6:before {
  right: 0;
  top: 0;
  transition: all 500ms ease;
}

.btn-6:after {
  left: 0;
  bottom: 0;
  transition: all 500ms ease;
}

.btn-6:hover {
  background: transparent;
  color: #76aef1;
  box-shadow: none;
}

.btn-6:hover:before {
  transition: all 500ms ease;
  height: 100%;
}

.btn-6:hover:after {
  transition: all 500ms ease;
  height: 100%;
}

.btn-6 span:before,
.btn-6 span:after {
  position: absolute;
  content: "";
  box-shadow:
    -1px -1px 20px 0px rgba(255, 255, 255, 1),
    -4px -4px 5px 0px rgba(255, 255, 255, 1),
    7px 7px 20px 0px rgba(0, 0, 0, .4),
    4px 4px 5px 0px rgba(0, 0, 0, .3);
}

.btn-6 span:before {
  left: 0;
  top: 0;
  width: 0%;
  height: .5px;
  transition: all 500ms ease;
}

.btn-6 span:after {
  right: 0;
  bottom: 0;
  width: 0%;
  height: .5px;
  transition: all 500ms ease;
}

.btn-6 span:hover:before {
  width: 100%;
}

.btn-6 span:hover:after {
  width: 100%;
}

.btn-6-active {
  background: transparent;
  color: #76aef1;
  box-shadow: none;
  box-shadow:
    -1px -1px 20px 0px rgba(255, 255, 255, 1),
    -4px -4px 5px 0px rgba(255, 255, 255, 1),
    7px 7px 20px 0px rgba(0, 0, 0, .4),
    4px 4px 5px 0px rgba(0, 0, 0, .3);
}

.tox-statusbar__branding {
  visibility: hidden;
}

.tox-notifications-container {
  visibility: hidden;
}

.dropzone {
  position: relative;
  height: 200px;
  border-radius: 5px;
  border: 2px dashed #ccc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.progress {
  height: 10px;
  border-radius: 5px;
  display: none;
}

.progress-bar {
  height: 100%;
  background-color: #007bff;
}

.message {
  font-size: 18px;
  text-align: center;
}

#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  display: none;
}

#close-button {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}

.form-floating {
  margin-bottom: 0px !important;
  height: 62px;
}

.remove-btn {
  margin-left: 10px;
  cursor: pointer;
}

th[data-column] {
  cursor: pointer;
  position: relative;
}

th[data-column]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: #666 transparent transparent transparent;
  opacity: 0.4;
  transition: opacity 0.3s;
}

th[data-column].ascending::after {
  opacity: 1;
  transform: translateY(-50%) rotate(180deg);
}

th[data-column].descending::after {
  opacity: 1;
}


.btn-sombre {
  border: none;
  background: black;
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.ok {
  display: none;
}

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

.account-layout {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.modern-navbar {
  width: 280px;
  background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
  color: white;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

.nav-header {
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}

.nav-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.nav-avatar i {
  font-size: 40px;
  color: white;
}

.nav-user-info h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
}

.nav-user-info p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

.nav-menu {
  flex: 1;
  padding: 20px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin: 5px 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
}

.nav-item:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  transform: translateX(5px);
  text-decoration: none;
}

.nav-item-active {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.nav-item-active .nav-indicator {
  background: white;
  transform: scale(1);
}

.nav-item-logout {
  margin-top: auto;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.nav-item-logout:hover {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.nav-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.nav-item:hover .nav-icon {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.nav-item-active .nav-icon {
  background: rgba(255,255,255,0.2);
}

.nav-icon i {
  font-size: 18px;
}

.nav-text {
  flex: 1;
  font-weight: 500;
  font-size: 1rem;
}

.nav-indicator {
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: scale(0);
}

.nav-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}

.nav-version {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 300;
}

.nav-version i {
  color: #e74c3c;
  margin-right: 8px;
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.main-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.content-header {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-left: 5px solid #3498db;
}

.content-header h1 {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
}

.content-header h1::before {
  content: '📦';
  margin-right: 15px;
  font-size: 2.5rem;
}

.content-body {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Modern Table Styles */
.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.modern-table thead {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.modern-table th {
  color: white;
  font-weight: 600;
  padding: 20px 15px;
  text-align: left;
  font-size: 1rem;
  border: none;
}

.modern-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f8f9fa;
}

.modern-table tbody tr:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modern-table tbody tr:last-child {
  border-bottom: none;
}

.modern-table td {
  padding: 20px 15px;
  color: #495057;
  border: none;
}

.order-name {
  font-weight: 600;
  color: #2c3e50;
}

.order-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
}

.status-processing {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
}

.status-shipped {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.status-delivered {
  background: linear-gradient(135deg, #d1f2eb, #a8e6cf);
  color: #0f5132;
}

.btn-view-order {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-view-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  color: white;
  text-decoration: none;
}

.btn-view-order::before {
  content: '👁️';
  margin-right: 8px;
  font-size: 1.1rem;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.empty-state i {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #495057;
  margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .account-layout {
    flex-direction: column;
  }
  
  .modern-navbar {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-header {
    padding: 20px;
  }
  
  .nav-avatar {
    width: 60px;
    height: 60px;
  }
  
  .nav-avatar i {
    font-size: 30px;
  }
  
  .nav-menu {
    display: flex;
    overflow-x: auto;
    padding: 15px;
    gap: 10px;
  }
  
  .nav-item {
    min-width: 150px;
    margin: 0;
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
  }
  
  .nav-icon {
    margin: 0 0 8px 0;
  }
  
  .nav-text {
    font-size: 0.8rem;
  }
  
  .nav-footer {
    display: none;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .content-header {
    padding: 20px;
  }
  
  .content-header h1 {
    font-size: 1.5rem;
  }
  
  .content-body {
    padding: 20px;
  }
  
  .modern-table {
    font-size: 0.9rem;
  }
  
  .modern-table th,
  .modern-table td {
    padding: 15px 10px;
  }
}

/* Custom scrollbar */
.main-content::-webkit-scrollbar {
  width: 8px;
}

.main-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}