:root {
  --logo-primary-color-rgb: 147, 204, 1; 
  --logo-primary-color: rgb(147, 204, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');


.row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.row .col-lg-2,
.row .col-lg-8 {
  display: flex;
  align-items: center;
}

.row .col-lg-8 .btn-group {
  margin: 0 5px;
}

@media (max-width: 991px) {
  .row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .row .col-lg-2,
  .row .col-lg-8 {
    margin-bottom: 10px;
  }
}

body, html {
  background-color: #ffffff !important;
}

#div_mainContainer {
  background-color: #ffffff !important;
  position: relative;
  top: -10px;
  padding: 15px;
}

#wrap {
  background-color: #ffffff !important;
}

.container-fluid {
  background-color: #ffffff !important;
}


.form-control {
  border-radius: 8px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  box-shadow: none;
  transition: all 0.2s ease;
  font-size: 14px;
}

.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.form-control:focus {
  border-color: var(--logo-primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--logo-primary-color-rgb), 0.25);
}

.modern-select, .modern-input {
  font-family: 'Raleway', sans-serif;
}

.row .col-lg-2:nth-child(2) {
  max-width: 200px;
}

.input-group {
  display: flex;
  width: 100%;
}

.input-group .form-control {
  border-radius: 8px 0 0 8px;
  width: calc(100% - 40px);
}

.input-group-btn {
  display: flex;
}

.input-group-btn .btn {
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
}

.input-group-btn .btn-sm i.fas {
  font-size: 14px;
}

.modern-btn {
  background-color: var(--logo-primary-color) !important;
  border-color: var(--logo-primary-color) !important;
}

.btn-group {
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.btn-group .btn {
  border-radius: 8px;
  margin: 0 2px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.btn-primary, .btn-default.btn-primary {
  background-color: var(--logo-primary-color) !important;
  border-color: var(--logo-primary-color) !important;
  color: white !important;
  box-shadow: 0 3px 6px rgba(var(--logo-primary-color-rgb), 0.2);
}

.btn-primary:hover, .btn-default.btn-primary:hover {
  background-color: rgba(var(--logo-primary-color-rgb), 0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(var(--logo-primary-color-rgb), 0.4);
}


legend {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 25px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: none !important;
  width: 100%;
  color: #444 !important;
  position: relative;
}

legend::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(135deg, rgba(var(--logo-primary-color-rgb), 0.85) 0%, rgba(var(--logo-primary-color-rgb), 0.65) 100%);
  z-index: 1;
}

legend i {
  color: var(--logo-primary-color);
  margin-right: 10px;
}


.pluginContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  background-color: #ffffff;
}


.market {
  background-color: #ffffff !important;
  height: 250px !important;
  margin-bottom: 15px !important;
  padding: 10px !important;
  border-radius: 12px !important;
  width: 170px !important;
  margin-left: 0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.01);
  position: relative;
  cursor: pointer !important;
}

.market *, .market *::before, .market *::after {
  cursor: pointer;
}

.market:hover {
  background-color: #ffffff !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(var(--logo-primary-color-rgb), 0.2);
}


.market div[style*="position : absolute; right : 0;top:0"] {
  width: 58px;
  height: 58px;
  right: 0;
  top: 0;
  z-index: 1;
}


.market center {
  margin-top: 5px;
  padding: 0;
}

.market img.lazy {
  transition: transform 0.3s ease;
  border-radius: 8px;
  height: 90px;
  width: 80px;
}

.market:hover img.lazy {
  transform: scale(1.08);
}

/* Style pour le nom du plugin */
.plugin-name {
  font-size: 1.1em;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: #333;
  margin-top: 10px;
  margin-bottom: 5px;
  word-break: break-all;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
}


.plugin-author {
  font-size: 0.7em;
  color: #999999;
  font-family: 'Raleway', sans-serif;
  position: absolute;
  bottom: 35px;
  right: 12px;
}

.par-text {
  font-size: 0.8em;
}


.plugin-rating {
  font-size: 0.7em;
  position: absolute;
  bottom: 15px;
  left: 10px;
  line-height: 1;
  letter-spacing: 1px;
}

.plugin-rating .fas.fa-star,
.market i.fas.fa-star {
  color: var(--logo-primary-color);
}

.plugin-rating .far.fa-star,
.market i.far.fa-star {
  color: #a0a0a0;
  text-shadow: 0 0 1px rgba(0,0,0,0.3);
}


.plugin-price {
  font-size: 0.8em;
  color: var(--logo-primary-color) !important;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  position: absolute;
  bottom: 15px;
  right: 12px;
}

.price-strikethrough {
  text-decoration: line-through !important;
  opacity: 0.7;
  font-size: 0.9em;
  margin-right: 3px;
}


@media (max-width: 767px) {
  .market {
    width: calc(50% - 15px) !important;
    margin-left: 0 !important;
  }
  
  .pluginContainer {
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .market {
    width: 100% !important;
  }
}
