.container-t {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.header-t {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6366f1;
}

.form-section {
    padding: 25px;
}

.campaign-info {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f3f4f6;
}

.report-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

.report-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

.report-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.campaign-image-2 {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.campaign-details h3 {
    font-size: 0.95rem;
    color: #1f2937;
    margin-bottom: 5px;
    font-weight: 600;
}

.personal-info-title h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 30px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: white;
    appearance: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #4b5563;
    cursor: pointer;
}

.campaign-organizer {
    font-size: 0.85rem;
    color: #6b7280;
}

.amount-section {
    margin: 1.5rem 0 2rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.9rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 1rem;
}

.amount-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.amount-btn:hover {
    border-color: #6366f1;
}

.amount-btn.active {
    border-color: #6366f1;
    background: #eef2ff;
    color: #6366f1;
}

.amount-btn-highlight {
    border-color: #6366f1 !important;
    background: #6366f1 !important;
    color: white !important;
}

.amount-btn-highlight .amount-value {
    color: white;
}

.amount-btn-highlight:hover {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
}

.amount-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
}

.amount-currency {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    margin-top: 4px;
}

.custom-amount-wrapper {
    position: relative;
}

.custom-amount {
    width: 100%;
    padding: 14px 70px 14px 16px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    background: white;
}

.custom-amount:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.amount-suffix {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    font-weight: 600;
    color: #4b5563;
    pointer-events: none;
}

.tip-title-section h5 {
    font-size: 12px;
    color: #352f2a;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 10px;
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.flag-select {
    padding-left: 48px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 28px 20px;
    background-position: 10px center;
    appearance: none;
}

.select-wrapper select {
    width: 100%;
    padding-left: 55px;
    height: 46px;
}

.select-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    position: absolute;
    left: 12px;
    pointer-events: none;
}

.phone-input {
    flex: 1;
    padding-left: 8px;
}

.info-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.5;
}

.tip-section {
    background: #fef3c7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.tip-icon {
    font-size: 1.2rem;
}

.tip-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #92400e;
}

.tip-options {
    display: flex;
    gap: 8px;
}

.tip-btn {
    flex: 1;
    padding: 8px;
    border: 2px solid #fbbf24;
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tip-btn:hover {
    background: #fef3c7;
}

.tip-btn.active {
    background: #fbbf24;
    color: white;
}

.payment-section {
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method:hover {
    border-color: #6366f1;
}

.payment-method.active {
    border-color: #6366f1;
    background: #eef2ff;
}

.payment-method input[type="radio"] {
    width: 18px;
    height: 18px;
}

.payment-icon {
    width: 24px;
    height: 24px;
}

.payment-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

.card-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-top: 10px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.card-info.show {
    max-height: 500px;
    opacity: 1;
}

.payment-subtitle-label {
    color: #111;
    font-weight: 600;
    margin-bottom: 40px;
}

.payment-subtitle-dark {
    color: #222;
    font-weight: 600;
    font-size: 15px;
    margin: 4px 0;
}

.consent-text {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

.consent-text a {
    color: #1f2937;
    text-decoration: underline;
}

.don-summary {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
    color: #374151;
}

.summary-item.total {
    font-weight: 600;
    border-top: 1px solid #d1d5db;
    margin-top: 10px;
    padding-top: 10px;
}

.submit-btn {
    width: 100%;
    padding: 13px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 5px;
}

.submit-btn:hover {
    background: #4f46e5;
}

.success-message {
    background: #d1fae5;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-icon {
    color: #059669;
    font-size: 1.2rem;
}

.success-text {
    font-size: 0.85rem;
    color: #065f46;
    line-height: 1.5;
}

.qq-slider-wrapper {
    position: relative;
    width: 100%;
    padding-top: 28px;
}

.qq-percentage-label {
    position: absolute;
    top: 0;
    left: 10%;
    transform: translateX(-50%);
    background: #ede9fe;
    color: #5b21b6;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.qq-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, #6d5cff 0%, #6d5cff 10%, #d1d5db 10%, #d1d5db 100%);
    outline: none;
}

.qq-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #6d5cff;
    border-radius: 50%;
    cursor: pointer;
}

.qq-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #6d5cff;
    border-radius: 50%;
    cursor: pointer;
}

.text-soute {
    color: #6d5cff;
}

/* ────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────── */

@media (max-width: 768px) {
    .campaign-image-2 {
        display: none !important;
    }

    .campaign-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .campaign-details h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .campaign-organizer {
        font-size: 0.8rem;
    }

    .container-t {
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        max-width: 100%;
    }

    .form-section {
        padding: 15px;
    }

    .amount-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .amount-btn {
        padding: 12px 6px;
    }

    .amount-value {
        font-size: 1rem;
    }

    .amount-currency {
        font-size: 0.7rem;
    }

    .custom-amount {
        font-size: 1.15rem;
        padding: 14px 60px 14px 14px;
    }

    .amount-suffix {
        font-size: 1rem;
        right: 16px;
    }

    .qq-tip-prompt {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }

    .qq-tip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .d-flex.justify-content-center.gap-3.mb-4.flex-wrap {
        gap: 8px !important;
        justify-content: space-between !important;
    }

    .btn.btn-outline-primary,
    .btn.btn-primary {
        flex: 1;
        min-width: 45%;
        padding: 8px 12px !important;
        font-size: 0.85rem;
    }

    .qq-slider-wrapper {
        padding-top: 35px;
    }

    .qq-percentage-label {
        font-size: 12px;
        padding: 3px 6px;
    }

    .row.g-4,
    .row.g-4.mt-3 {
        display: flex;
        flex-direction: column;
        gap: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .col-md-6,
    .col-md-12 {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .form-input {
        padding: 10px;
        font-size: 0.85rem;
    }

    .select-wrapper {
        margin-bottom: 15px;
    }

    .checkbox-group label {
        font-size: 0.8rem;
    }

    .don-summary {
        padding: 12px;
    }

    .summary-item {
        font-size: 0.85rem;
        padding: 4px 0;
    }

    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
        border-radius: 25px;
    }

    .success-message {
        padding: 12px;
        gap: 8px;
    }

    .success-text {
        font-size: 0.8rem;
    }

    .consent-text {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 10px;
    }

    .report-btn {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding: 12px;
    }

    .campaigns-header-title {
        display: none;
    }
}


    @media (max-width: 576px) {
    .campaign-detail-header .d-flex {
        align-items: stretch !important;
    }
}

/* ==============================
   AMOUNT – MOBILE PERFECT UI
================================ */
@media (max-width: 480px) {

    /* Grille des montants */
    .amount-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .amount-btn {
        padding: 10px 6px;
        border-radius: 10px;
    }

    .amount-value {
        font-size: 1rem;
        font-weight: 700;
    }

    .amount-currency {
        font-size: 0.7rem;
        margin-top: 2px;
    }


    .amount-btn[data-value="10000"] .amount-value {
        font-size: 1.1rem;
    }

    /* Input montant */
    .custom-amount {
        margin-top: 10px;
        font-size: 1.25rem;
        padding: 16px;
        text-align: left;
        font-weight: 700;
    }

    .amount-suffix {
        font-size: 0.9rem;
        right: 14px;
    }
}

@media (min-width: 769px) {
    .campaign-image-2 {
        display: block;
    }

    .campaign-info {
        display: flex;
        gap: 15px;
        align-items: center;
    }


}



/* Masquer le menu fixe sur desktop */
.mobile-bottom-nav {
    display: none;
}


/* Mobile uniquement */
@media (max-width: 767px) {

    /* Masquer le menu sidebar classique */
    #dashboardSidebar {
        display: none !important;
    }

    .dashboardarea__wraper {
        display: none !important;
    }

    /* Menu fixe en bas */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ddd;
        justify-content: space-around;
        padding: 0.5rem 0;
        z-index: 1030;
        /* au-dessus du contenu */
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #555;
        font-size: 12px;
        text-decoration: none;
    }

    .mobile-bottom-nav a svg {
        width: 24px;
        height: 24px;
    }

    .mobile-bottom-nav a span {
        display: none;
        /* cacher le texte */
    }

    .mobile-bottom-nav a.active {
        color: #0d6efd;
        /* couleur active */
    }



    /* Mobile uniquement */
    @media (max-width: 575.98px) {
        .container-fluid.full__width__padding {
            /* padding-left: 0 !important;
            padding-right: 0 !important; */
            padding-left: 13px !important;
        padding-right: 13px !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
        }
    }

}