.step-text {
    margin-top: 0.3rem !important;
    margin-left: 20px !important;
}

.gridarea__img img {
    min-width: 100% !important;
    max-height: 200px !important;
    min-height: 200px !important;
}

.gridarea__heading {
    min-height: 100px !important;
}

/* css paiement success et failed */

.card-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 24px 20px;
}

/* Tablette */
@media (min-width: 768px) {
    .card-container {
        padding: 60px 50px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .card-container {
        padding: 100px 90px;
    }
}

.check-icon {
    width: 56px;
    height: 56px;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.check-icons {
    width: 56px;
    height: 56px;
    background-color: white;
    /* Fond blanc */
    border: 3px solid #ef4444;
    /* Bordure rouge */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.check-icons svg {
    width: 32px;
    height: 32px;
    stroke: #ef4444;
    /* Croix rouge */
    stroke-width: 3;
    fill: none;
}

.check-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 3;
    fill: none;
}

.main-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

.subtitle strong {
    color: #1a1a1a;
}

.btn-ok {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 14px;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.btn-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.link-autres {
    color: #7c3aed;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-bottom: 40px;
}

.link-autres:hover {
    text-decoration: underline;
}

.divider {
    height: 1px;
    background-color: #e5e5e5;
    margin: 40px 0 32px;
}

.section-title {
    font-size: 15px;
    color: #7c3aed;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
}

.section-main {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 16px;
}

.section-description {
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn-create-account {
    background: white;
    color: #1a1a1a;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-create-accounts {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-create-account:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-create-accounts:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}


/* Overlay du preloader */
.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Conteneur du preloader */
.payment-loader {
    background: white;
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Spinner personnalisé */
.custom-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
}

.spinner-circle {
    width: 100%;
    height: 100%;
    border: 5px solid #e9ecef;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    color: #4f46e5;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Texte */
.payment-loader h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.payment-loader p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Points de chargement animés */
.loading-dots {
    display: inline-block;
}

.loading-dots span {
    animation: blink 1.4s infinite;
    animation-fill-mode: both;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}



/* ========================================
   NOTIFICATIONS DESKTOP
======================================== */
.headerarea__notification {
    display: inline-block;
    margin-right: 15px;
}

.notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    background: #e9ecef;
    color: #007bff;
    transform: scale(1.05);
}

.notification-bell i {
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Dropdown */
.notification-dropdown {
    width: 360px !important;
    max-height: 420px;
    border-radius: 8px;
    margin-top: 10px !important;
}

.notification-dropdown .dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.notification-dropdown .dropdown-header strong {
    font-size: 16px;
    color: #333;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 15px 20px !important;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s ease;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f3ff;
    border-radius: 50%;
}

.notification-icon i {
    font-size: 18px;
    color: #007bff;
}

.notification-content {
    flex: 1;
}

.notification-message {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: #6c757d;
}

.notification-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.notification-empty i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 10px;
}

.notification-empty p {
    margin: 0;
    font-size: 14px;
}

.notification-footer {
    padding: 12px 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    background: #f8f9fa;
}

.btn-view-all {
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.btn-view-all:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ========================================
   NOTIFICATIONS MOBILE
======================================== */
.mobile-notification {
    display: inline-block;
    margin-right: 15px;
}

.notification-bell-mobile {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
}

.notification-bell-mobile i {
    font-size: 18px;
}

.notification-badge-mobile {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc3545;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
}

/* Offcanvas Mobile */
.offcanvas {
    width: 320px !important;
}

.notification-mobile-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.notification-mobile-list {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.notification-mobile-item {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: inherit;
}

.notification-mobile-item:active {
    background: #f8f9fa;
}

.notification-mobile-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    background: white;
}

.btn-view-all-mobile {
    display: block;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-view-all-mobile:hover {
    background: #0056b3;
    color: white;
}

/* Scrollbar personnalisé */
.notification-list::-webkit-scrollbar,
.notification-mobile-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-thumb,
.notification-mobile-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover,
.notification-mobile-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .headerarea__notification {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-notification {
        display: none !important;
    }
}

/* modal de partage */




/* details cagnottes modal  */

/* Bouton fermer */
.donations-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.donations-close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.donations-close-btn svg {
    display: block;
}

/* Ajustement du titre */
.donations-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.donations-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.donations-modal-overlay.active {
    display: flex;
    opacity: 1;
    align-items: flex-end;
    justify-content: center;
}

.donations-modal-container {
    background: white;
    width: 100%;
    max-width: 500px;
    max-height: 70vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Barre de handle */
.modal-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 12px auto 8px;
    flex-shrink: 0;
}

/* Header */
.donations-modal-header {
    padding: 0 20px 16px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.donations-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.donations-count {
    color: #7c3aed;
    font-weight: 600;
}

/* Filtres */
.donations-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 14px;
    border-radius: 16px;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active {
    background: #ede9fe;
    color: #7c3aed;
}

/* Body scrollable */
.donations-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px 0;
    min-height: 200px;
}

/* Item donation */
.donation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f9fafb;
}

.donation-item:last-child {
    border-bottom: none;
}

.donation-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.donation-avatar svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
}

.donation-info {
    flex: 1;
    min-width: 0;
}

.donation-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.donation-amount {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
}

.donation-time {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state svg {
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.empty-subtitle {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0;
}

/* Footer fixe */
.donations-modal-footer {
    padding: 12px 20px 20px;
    background: white;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.btn-soutenir {
    display: block;
    width: 100%;
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-soutenir:hover {
    background: #6d28d9;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Scrollbar */
.donations-modal-body::-webkit-scrollbar {
    width: 3px;
}

.donations-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.donations-modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* Responsive */
@media (min-width: 768px) {
    .donations-modal-container {
        border-radius: 20px;
        max-height: 600px;
        margin: auto;
    }

    .donations-modal-overlay.active {
        align-items: center;
    }
}
