body {
    background-color: #0E0D06;
    z-index: 1;
    margin: auto;
    max-width:75vw;
    font-family: 'Manrope',sans-serif;
    font-weight: 400;
    color: white;
}

font {
    color: white !important;
    font-family: 'Manrope', sans-serif;
}

.font-jaune {
    color: #DCA54A !important;
    font-family: 'Manrope', sans-serif;
}

/* CARD PRODUIT */

 /* Three columns side by side */
.column {
  float: left;
  width: 33%;
  margin-bottom: 16px;
  padding: 0 8px;
}

/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

/* Add some shadows to create a card effect */
.card {
  background-color:#1b1b1b;
  box-shadow: 0 4px 8px 0 #DCA54A;
  color:white;
  padding: 24px;
  margin-bottom:5px;
}


/* Some left and right padding inside the container */
.container {
  padding: 0 16px;
}

/* Clear floats */
.container::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.card-img {
  max-height: 300px;
}

/* .card-title {
  color:white;

}
 */
.card-desc {
  height: 1.5em;
  font-size: 0.7em;
  overflow: scroll;
  font-size:small;
}

.button-card {
  border: none;
  border-radius: 12px;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #DCA54A;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.button-card:hover {
  background-color: #D09A40;
} 

.button-card a {
  color: white;
  text-decoration: none;
}

/* NAVBAR STYLING */
.navbar {
    background-color: #1b1b1b !important;
    border-bottom: 2px solid #DCA54A;
}

.navbar-brand img {
    filter: brightness(1.1);
}

.navbar-nav .nav-link {
    color: white !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #DCA54A !important;
}

.navbar-nav .nav-link.active {
    color: #DCA54A !important;
    font-weight: 600;
}

.navbar-text {
    color: white !important;
    font-family: 'Manrope', sans-serif;
}

.navbar-toggler {
    border-color: #DCA54A;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23DCA54A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* fin navbar */

.button-admin {
  border: none;
  border-radius: 12px;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #DCA54A;
  text-align: center;
  cursor: pointer;
  margin-bottom:2px;
}

.button-admin a {
  color: white;
  text-decoration: none;
}

/* SVG ICONS STYLING */
.icon-svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: stroke 0.2s ease;
}

.icon-svg:hover {
  stroke: #DCA54A;
}

/* HEADER WITH ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 15px;
}

.header-actions h1 {
  margin: 0;
}

/* FORM STYLING */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
  margin-bottom: 10px;
}

.col {
  flex: 1;
  padding-left: 12px;
  padding-right: 12px;
  min-width: 250px;
}

.form-control {
  background-color: #1b1b1b;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333333;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-control label {
  color: white;
  font-weight: 500;
  margin-bottom: 4px;
}

.form-control input,
.form-control textarea,
.form-control select {
  background-color: #282828;
  color: white;
  border: 1px solid #404040;
  border-radius: 4px;
  padding: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
}

.form-control input:focus,
.form-control textarea:focus,
.form-control select:focus {
  outline: none;
  border-color: #DCA54A;
  box-shadow: 0 0 0 3px rgba(220, 165, 74, 0.1);
}

.form-control small {
  color: #999999;
  font-size: 12px;
  margin-top: 2px;
}

.form-error {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .col {
    flex: 0 0 100%;
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .col {
    padding-left: 0;
    padding-right: 0;
  }
}

.taille-checkboxes #catalogue_taille {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding: 12px !important;
}

.taille-checkboxes .checkbox-group {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-basis: 100px !important;
  min-width: 100px !important;
}

.taille-checkboxes .checkbox-group input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #282828 !important;
  border: 2px solid #404040 !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.taille-checkboxes .checkbox-group input[type="checkbox"]:checked {
  background-color: #DCA54A !important;
  border-color: #DCA54A !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.taille-checkboxes .checkbox-group label {
  color: white !important;
  margin: 0 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  white-space: nowrap !important;
}

/* BADGE STYLING */
.badge {
  background-color: #DCA54A !important;
  color: #0E0D06 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-right: 4px !important;
  display: inline-block !important;
}

/* LOGIN PAGE STYLING */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 40px 20px;
    align-items: start;
    min-height: 100vh;
}

.login-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.login-center {
    grid-column: 2;
}

.login-container .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    background-color: #1b1b1b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.login-container .card h1 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.login-container .card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ddd;
}

.login-container .card input.form-control {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #404040;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    background-color: #282828;
    color: white;
}

.login-container .card input.form-control:focus {
    outline: none;
    border-color: #DCA54A;
    box-shadow: 0 0 5px rgba(220, 165, 74, 0.5);
}

.login-container .btn-lg {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.login-container .btn-primary {
    background-color: #DCA54A;
    color: white;
    border: none;
    font-weight: 600;
}

.login-container .btn-primary:hover {
    background-color: #D09A40;
}

.login-container .alert {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 4px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-center {
        grid-column: 1;
    }
}

