/* @tailwind base;
@tailwind components;
@tailwind utilities;*/

/* Importation de la police Roboto locale */
@font-face {
  font-family: "Source Sans Pro";
  src: url("/assets/fonts/ss.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("/assets/fonts/ss_bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
body {
  margin: 0;
  padding: 0;
  background: #fff;
  
}

.figue-title {
    font-size: 1.06rem;
    font-weight: 700;
    color: #eb6004;
    margin-bottom: 1rem;
}
.figue-title2 {
    font-size: 1.06rem;
    font-weight: 700;
    color: #1f04eb;
    margin-bottom: 1rem;
}

.figue-title3 {
    font-size: 1.06rem;
    font-weight: 700;
    color: #eb6004;
    margin-bottom: 1rem;
}
form {
  margin: 0;
  padding: 0;
}

/* Styles CSS */
body,
p,
a,
input,
select,
textarea,
button {
  font-family: "Source Sans Pro", sans-serif !important;
  box-sizing: border-box !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Sans Pro", sans-serif !important;
}

input[type="radio"].custom-radio {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 2px solid #ff8000;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 0.5em;
  transition: border-color 0.2s;
}

input[type="radio"].custom-radio:checked {
  border-color: #ff8000;
  background: #fff;
}

input[type="radio"].custom-radio:checked::after {
  content: "";
  display: block;
  width: 0.5em;
  height: 0.5em;
  background: #ff8000;
  border-radius: 50%;
  position: absolute;
  top: 0.25em;
  left: 0.25em;
}




button,
input[type="file"] {
  cursor: pointer !important;
}

.hiddenn {
  display: none !important;
}

/* .listingsContainer img{
  width: 500px;
  height: 500px;
} */

#paymentModal {
  background-color: transparent;
}

input,
textarea {
  border: 1px solid #ccc;
  outline: none !important;
  padding: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#imageContainer:not([data-image-published="true"]) #pubDesktop,
#imageContainer:not([data-image-published="true"]) #pubMobile {
  display: none;
}

.shadow-text {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.listing .flex {
  flex-grow: 1; /* Permet au contenu de prendre tout l'espace disponible */
}

.listing .mt-auto {
  margin-top: auto; /* Positionne le bouton en bas */
}

#pubImage {
  height: 224px !important;
  object-fit: cover !important;
}

.pubImage {
  width: 848px !important;
  height: 224px !important;
}
.gridImage {
  width: 267px !important;
  height: 434px !important;
}

#pubImageMobile {
  width: 267px !important;
  height: 434px !important;
}

@media (max-width: 767px) {
  .pubImage {
    height: 434px !important;
    width: 100% !important;
  }
  #pubImageMobile {
    height: 434px !important;
    width: 100% !important;
  }
  .gridImage {
    height: 434px !important;
    width: 100% !important;
  }
}

a {
  text-decoration: none !important;
}

.block {
  display: block !important;
}
.none {
  display: none !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

/* ===========================================
   Common Button Styles
   =========================================== */
.custom-btn {
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.custom-btn-orange {
  background: #ff8000;
  color: #fff;
}

.custom-btn-orange:hover {
  background: #e66a00;
}

.custom-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.custom-btn-secondary:hover {
  background: #e5e7eb;
}

.custom-btn-blue {
  background: #3b82f6;
  color: #fff;
}

.custom-btn-blue:hover {
  background: #2563eb;
}

.custom-btn-red {
  background: #dc2626;
  color: #fff;
}

.custom-btn-red:hover {
  background: #b91c1c;
}

.custom-btn-green {
  background: #10b981;
  color: #fff;
}

.custom-btn-green:hover {
  background: #059669;
}

.custom-btn:disabled,
.custom-btn.custom-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===========================================
   Common Alert Styles
   =========================================== */
.custom-alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.custom-alert-success {
  background: #d1fae5;
  color: #065f46;
}

.custom-alert-error {
  background: #fee2e2;
  color: #b91c1c;
}

.custom-alert-warning {
  background: #fef3c7;
  color: #92400e;
}

.custom-alert-info {
  background: #dbeafe;
  color: #1e40af;
}

/* ===========================================
   Common Form Styles
   =========================================== */
.custom-input,
.custom-textarea,
.custom-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.custom-input:focus,
.custom-textarea:focus,
.custom-select:focus {
  outline: none;
  border-color: #ff8000;
  box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.1);
}

.custom-textarea {
  min-height: 8rem;
  resize: vertical;
}

.custom-label {
  display: block;
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* ===========================================
   Common Utility Classes
   =========================================== */
.custom-mb {
  margin-bottom: 1rem;
}

.custom-mt {
  margin-top: 1rem;
}

.custom-capitalize {
  text-transform: capitalize;
}