body {
    background: radial-gradient(circle at top left, rgba(217, 119, 6, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(31, 111, 95, 0.12), transparent 26%),
        #232121;
    color: #f5f5f5;
    font-family: "Segoe UI", sans-serif;
    min-height: 100vh;
    padding-top: 90px;
}

.page-hero {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    margin-bottom: 2rem;
}

.section-card,
.product-card,
.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.section-card {
    padding: 1.6rem;
    margin-bottom: 1.75rem;
}

.btn-custom {
    /* background: linear-gradient(135deg, #2e5e7b 0%, #1f3744 100%); */
    background: linear-gradient(135deg, #124335 0%, #1f6a55 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.3rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-custom:hover {
    background: linear-gradient(135deg, #1f4d5f 0%, #163343 100%);
    transform: translateY(-1px);
    color: #fff;
}

/* Primary button enhancements (gradient CTA) */
.btn-custom,
.btn-primary {
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.6);
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.btn-custom:hover,
.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.btn-custom:focus,
.btn-primary:focus {
    box-shadow: 0 0 0 4px rgba(46, 94, 123, 0.18);
    outline: none;
}

/* Secondary translucent button for dark UI */
.btn-secoundaire {
    /* background: linear-gradient(135deg, rgba(36, 68, 74, 0.95) 0%, #1f3744 100%); */
    background: linear-gradient(135deg, #1a332c 0%, #154437 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    border-radius: 999px;
    padding: 0.65rem 1.2rem;
}

.btn-secoundaire:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.12) 100%);
}

.btn-secoundaire:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
    outline: none;
}

.btn-annuler {
    background: rgb(184, 27, 27);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ensure icons inside buttons inherit text color */
.btn .bi {
    color: inherit;
}

/* Override Bootstrap dark variants inside the market UI to match our theme */
.market-shell .btn-dark,
.market-shell .btn-outline-dark {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.market-shell .btn-outline-dark {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Small circular outline controls (arrows) — keep transparent but white icon */
.market-shell .btn-outline-dark.rounded-circle {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
}

.page-badge {
    background: rgba(36, 68, 74, 0.95);
    color: #f8fafc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

.product-card {
    padding: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.25);
}

.btn-view {
    flex: 1;
    color: #fff;
    /* background: linear-gradient(135deg, #2e5e7b 0%, #1f3744 100%); */
    background: linear-gradient(135deg, #124335 0%, #1f6a55 100%);
    border: none;
}

.btn-brand,
.btn-soft,
.btn-outline-soft {
    border-radius: 999px;
    padding: .92rem 1.3rem;
    font-weight: 800;
}

.btn-brand {
    color: #fff;
    border: none;
    /* background: linear-gradient(135deg, #2e5e7b 0%, #1f3744 100%); */
    background: linear-gradient(135deg, #124335 0%, #1f6a55 100%);
    box-shadow: 0 14px 28px rgba(154, 52, 18, 0.2);
}

.btn-brand:hover {
    color: #fff;
}

.modal-input {
    background: rgba(255, 255, 255, 0.06);
    color: #eef2ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.modal-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.modal-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.ck-editor__editable {
    min-height: 250px;
    background: #212529 !important;
    color: #f8f9fa !important;
    border-color: #495057 !important;
}

.ck-toolbar {
    background: #343a40 !important;
    border-color: #495057 !important;
}

.ck-button,
.ck-icon {
    color: #f8f9fa !important;
}

.modal-title {
    color: white;
}

/* .input-dark,
.form-control,
.form-select.input-dark {
    background: rgba(255, 255, 255, 0.06);
    color: #eef2ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
} */

 .custom-select:focus {
    color: rgba(255, 255, 255, 0.5);
}

/* .form-select.input-dark option {
    background: rgba(255, 255, 255, 0.06);
    color: #eef2ff;
}  */

.input-dark::placeholder {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 16px;
    border: 1px solid rgba(20, 40, 29, 0.12);
    color: white;
    padding: .9rem 1rem;
    min-height: 54px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
}

textarea.form-control {
    min-height: 120px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: rgba(31, 111, 95, 0.4);
    box-shadow: 0 0 0 4px rgba(31, 111, 95, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: white;
}

.custom-select {
   background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.custom-select option {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
