/* Styles pour les pages utilisateur */

/* ===== PAGE MODIFIER COMPTE ===== */
.modifier-compte {
    padding-top: 80px;
}

.account-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.account-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-tab-btn:hover {
    color: #ff385c;
}

.account-tab-btn.active {
    color: #ff385c;
    border-bottom-color: #ff385c;
}

.account-tab-content {
    position: relative;
}

.account-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.account-tab-pane.active {
    display: block;
}

.form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.5rem;
}

.form-description {
    color: #64748b;
    margin-bottom: 2rem;
}

.account-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff385c;
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.1);
}

.form-group input[readonly] {
    background-color: #f8fafc;
    color: #64748b;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.input-icon:hover {
    color: #ff385c;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background-color: #ff4444;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.875rem;
    color: #64748b;
}

.password-requirements {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
}

.password-requirements h4 {
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 1rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.password-requirements li.valid {
    color: #10b981;
}

.password-requirements li.valid i {
    color: #10b981;
}

/* ===== PAGE MODIFIER PROFIL ===== */
.modifier-profil {
    padding-top: 80px;
}

.profile-photo-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-photo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-photo-preview {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-photo-preview:hover .photo-overlay {
    opacity: 1;
}

.photo-actions {
    display: flex;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.interest-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #ff385c;
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interest-tag:hover {
    background-color: #e31b4a;
}

.interest-tag .remove-interest {
    cursor: pointer;
    font-size: 0.75rem;
}

.interest-tag .remove-interest:hover {
    color: #fecaca;
}

#interest-input {
    border: 2px dashed #cbd5e1;
    background: transparent;
    min-width: 150px;
}

#interest-input:focus {
    border-color: #ff385c;
}

.gallery-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-action-btn:hover {
    background: #ff385c;
    color: white;
}

.gallery-item.empty {
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.add-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
}

.gallery-info {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* ===== PAGE FAVORIS ===== */
.favoris {
    padding-top: 80px;
}

.favorites-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.favorites-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.favorites-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorites-tab-btn:hover {
    color: #ff385c;
}

.favorites-tab-btn.active {
    color: #ff385c;
    border-bottom-color: #ff385c;
}

.tab-count {
    background: #ff385c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.favorites-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.favorites-tab-pane.active {
    display: block;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.favorites-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 20px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    height: 40px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff385c;
    color: white;
    border-color: #ff385c;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.favorite-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.favorite-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.favorite-image {
    position: relative;
    height: 200px;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.favorite-item:hover .favorite-overlay {
    opacity: 1;
}

.favorite-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-action-btn:hover {
    background: #ff385c;
    color: white;
}

.favorite-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff385c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.favorite-content {
    padding: 1.5rem;
}

.favorite-content h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.favorite-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.favorite-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.favorite-rating,
.favorite-distance,
.favorite-date,
.favorite-participants {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
}

.favorite-rating i {
    color: #fbbf24;
}

.favorite-description {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.875rem;
}

/* ===== PAGE ABONNEMENT ===== */
.abonnement {
    padding-top: 80px;
    background: #f7f7f7;
    min-height: 100vh;
}

.page-subtitle {
    text-align: center;
    color: #717171;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.current-subscription {
    background: white;
    color: #222222;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #ebebeb;
}

.subscription-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.subscription-status i {
    font-size: 2rem;
    color: #717171;
}

.status-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #222222;
    font-weight: 600;
}

.status-info p {
    margin: 0.25rem 0 0 0;
    color: #717171;
}

.subscription-features {
    display: flex;
    gap: 1.5rem;
}

.subscription-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #717171;
    font-size: 0.9rem;
}

.subscription-features .feature-item i {
    color: #3b82f6;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #ebebeb;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plan-card.featured {
    border: 2px solid #3b82f6;
    transform: scale(1.02);
}

.plan-card.trial-plan {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
}

.plan-card.premium-plan {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    color: white;
    border: none;
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #3b82f6;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.plan-badge.trial {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.plan-badge.premium {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #222222;
}

.trial-plan .plan-header h3,
.premium-plan .plan-header h3 {
    color: white;
}

.plan-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 600;
    color: #222222;
}

.trial-plan .price-amount,
.premium-plan .price-amount {
    color: white;
}

.price-period {
    font-size: 1rem;
    color: #717171;
    font-weight: 400;
}

.trial-plan .price-period,
.premium-plan .price-period {
    color: rgba(255, 255, 255, 0.8);
}

.plan-savings {
    margin-bottom: 1rem;
}

.savings-badge {
    background: #3b82f6;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.plan-description {
    color: #717171;
    font-size: 0.9rem;
}

.trial-plan .plan-description,
.premium-plan .plan-description {
    color: rgba(255, 255, 255, 0.8);
}

.plan-features {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #222222;
}

.feature-list .feature-item i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.trial-plan .feature-item i,
.premium-plan .feature-item i {
    color: rgba(255, 255, 255, 0.9);
}

.plan-actions {
    text-align: center;
}

.plan-note {
    font-size: 0.8rem;
    color: #717171;
    margin-top: 0.5rem;
}

.trial-plan .plan-note,
.premium-plan .plan-note {
    color: rgba(255, 255, 255, 0.7);
}

/* Boutons améliorés */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-trial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-trial:active {
    transform: translateY(0);
}

.btn-support {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-support:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-payment {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.btn-payment:active {
    transform: translateY(0);
}

.btn-activate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-activate:active {
    transform: translateY(0);
}

.btn-allopass {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 90, 95, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-allopass:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.4);
    color: white;
    text-decoration: none;
}

/* Effet de brillance sur les boutons */
.btn-primary::before,
.btn-trial::before,
.btn-payment::before,
.btn-activate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before,
.btn-trial:hover::before,
.btn-payment:hover::before,
.btn-activate:hover::before {
    left: 100%;
}

/* Suppression des styles de comparaison */
.comparison-section,
.comparison-table,
.comparison-header,
.comparison-row,
.feature-name,
.plan-column,
.plan-value {
    display: none;
}

/* FAQ améliorée */
.faq-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    border: 1px solid #ebebeb;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #222222;
    font-weight: 600;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: #3b82f6;
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #222222;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0 0 1.5rem 0;
    color: #717171;
    line-height: 1.6;
}

/* Support section améliorée */
.support-section {
    background: white;
    color: #222222;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #ebebeb;
}

.support-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #222222;
}

.support-content p {
    margin-bottom: 2rem;
    color: #717171;
    font-size: 1rem;
}

.support-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal amélioré */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #ebebeb;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ebebeb;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #222222;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #717171;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f7f7f7;
    color: #3b82f6;
}

.modal-body {
    padding: 2rem;
}

.selected-plan-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7f7f7;
    border-radius: 8px;
}

.selected-plan-info h4 {
    margin: 0 0 0.5rem 0;
    color: #222222;
    font-size: 1.1rem;
    font-weight: 600;
}

.selected-plan-info p {
    margin: 0 0 1rem 0;
    color: #3b82f6;
    font-size: 1.25rem;
    font-weight: 600;
}

.payment-section h4 {
    margin-bottom: 1.5rem;
    color: #222222;
    font-weight: 600;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #717171;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.125rem;
}

.checkbox-label a {
    color: #3b82f6;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Modal Allopass */
.allopass-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7f7f7;
    border-radius: 8px;
}

.allopass-info h4 {
    margin: 0 0 1rem 0;
    color: #222222;
    font-size: 1.1rem;
    font-weight: 600;
}

.allopass-info p {
    margin: 0 0 1.5rem 0;
    color: #717171;
}

.allopass-links {
    display: flex;
    justify-content: center;
}

.code-section h4 {
    margin-bottom: 1.5rem;
    color: #222222;
    font-weight: 600;
}

.code-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .current-subscription {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .subscription-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .plan-column,
    .plan-value {
        text-align: left;
        padding-left: 1rem;
    }
    
    .support-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-header h3 {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .comparison-section,
    .faq-section {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-photo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .photo-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .favorites-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .favorites-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .current-subscription {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .subscription-features {
        justify-content: center;
    }
    
    .support-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* ===== MODAL DE PROFIL (Classes spécifiques) ===== */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.profile-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.profile-modal-panel {
    position: relative;
    width: 80%;
    max-width: 280px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.profile-modal-overlay.active .profile-modal-panel {
    transform: translateX(0);
}

/* En-tête du profil */
.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid #ebebeb;
}

.profile-modal-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-modal-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #3b82f6;
}

.profile-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-modal-details h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
}

.profile-modal-view-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.profile-modal-view-link:hover {
    color: #2563eb;
}

.profile-modal-close {
    background: none;
    border: none;
    font-size: 1rem;
    color: #717171;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.profile-modal-close:hover {
    background: #f7f7f7;
    color: #3b82f6;
}

/* Badge d'abonnement */
.profile-subscription-badge {
    margin: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 8px;
    color: white;
}

.profile-badge-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.profile-badge-content i {
    font-size: 1.25rem;
    opacity: 0.9;
}

.profile-badge-text h4 {
    margin: 0 0 0.125rem 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-badge-text p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

.profile-btn-upgrade {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.profile-btn-upgrade:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Navigation du profil */
.profile-modal-nav {
    flex: 1;
    padding: 0 1rem;
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #222222;
    text-decoration: none;
    border-bottom: 1px solid #f7f7f7;
    transition: all 0.2s ease;
}

.profile-nav-link:hover {
    color: #3b82f6;
    background: #f7f7f7;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.profile-nav-link i:first-child {
    width: 16px;
    text-align: center;
    color: #717171;
    font-size: 0.875rem;
}

.profile-nav-link span {
    flex: 1;
    font-weight: 500;
    font-size: 0.875rem;
}

.profile-nav-link i:last-child {
    color: #cbd5e1;
    font-size: 0.75rem;
}

/* Paramètres */
.profile-modal-settings {
    padding: 1rem;
    border-top: 1px solid #ebebeb;
}

.profile-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.profile-setting-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-setting-info i {
    width: 16px;
    text-align: center;
    color: #717171;
    font-size: 0.875rem;
}

.profile-setting-info span {
    font-weight: 500;
    color: #222222;
    font-size: 0.875rem;
}

/* Toggle switch spécifique */
.profile-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 20px;
}

.profile-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.profile-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 20px;
}

.profile-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.profile-toggle-switch input:checked + .profile-toggle-slider {
    background-color: #3b82f6;
}

.profile-toggle-switch input:checked + .profile-toggle-slider:before {
    transform: translateX(24px);
}

/* Actions */
.profile-modal-actions {
    padding: 1rem;
    border-top: 1px solid #ebebeb;
}

.profile-btn-logout {
    width: 100%;
    background: #ff5a5f;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.profile-btn-logout:hover {
    background: #ff385c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
}

/* Footer */
.profile-modal-footer {
    padding: 1rem;
    border-top: 1px solid #ebebeb;
    background: #f7f7f7;
    text-align: center;
}

.profile-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.profile-footer-link {
    color: #717171;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.profile-footer-link:hover {
    color: #3b82f6;
}

.profile-social-link {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
}

.profile-x-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #222222;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.profile-x-link:hover {
    color: #3b82f6;
}

.profile-x-link i {
    font-size: 1rem;
}

.profile-copyright {
    text-align: center;
}

.profile-copyright p {
    margin: 0;
    color: #717171;
    font-size: 0.7rem;
}

/* Responsive pour le modal de profil */
@media (max-width: 480px) {
    .profile-modal-panel {
        width: 100%;
        max-width: none;
    }
    
    .profile-modal-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .profile-subscription-badge,
    .profile-modal-nav,
    .profile-modal-settings,
    .profile-modal-actions,
    .profile-modal-footer {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .profile-nav-link:hover {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===== PAGES LOGIN ET REGISTER (Style Airbnb) ===== */
.auth-body {
    min-height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 0;
}

.auth-form-container {
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.auth-logo .spiitz-text {
    font-size: 2rem;
    font-weight: 600;
    color: #222222;
}

.auth-logo .i-blue {
    color: #3b82f6;
    font-size: 2rem;
    font-weight: 600;
}

.auth-logo .i-pink {
    color: #ec4899;
    font-size: 2rem;
    font-weight: 600;
}

.auth-tagline {
    font-size: 1rem;
    color: #717171;
    margin: 0;
    line-height: 1.4;
}

.auth-form-wrapper {
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222222;
    margin: 0 0 0.5rem 0;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: #717171;
    margin: 0;
    line-height: 1.5;
}

/* Barre de progression pour le register */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #dddddd;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    transition: width 0.3s ease;
    width: 16.66%;
}

.progress-text {
    text-align: center;
    font-size: 0.8rem;
    color: #717171;
    font-weight: 500;
}

.auth-form {
    width: 100%;
}

.form-step {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #222222;
    font-size: 0.8rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    display: none;
}

.form-input {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: white;
    box-sizing: border-box;
    color: #222222;
}

.form-input::placeholder {
    color: #717171;
}

.form-input:focus {
    outline: none;
    border-color: #222222;
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.form-input:hover {
    border-color: #222222;
}

.form-input.error {
    border-color: #ff385c;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #717171;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.9rem;
}

.password-toggle:hover {
    color: #222222;
}

/* Radio buttons style Airbnb - Classes spécifiques */
.auth-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-radio-option {
    position: relative;
    display: block;
    padding: 0.875rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.auth-radio-option:hover {
    border-color: #222222;
    background: #f7f7f7;
}

.auth-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.auth-radio-custom {
    position: absolute;
    top: 50%;
    left: 0.875rem;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #dddddd;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
}

.auth-radio-option input[type="radio"]:checked ~ .auth-radio-custom {
    border-color: #ff385c;
    background: #ff385c;
}

.auth-radio-option input[type="radio"]:checked ~ .auth-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.auth-radio-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 2.5rem;
}

.auth-radio-content i {
    font-size: 1.1rem;
    color: #717171;
    width: 16px;
    text-align: center;
}

.auth-radio-content span {
    font-weight: 500;
    color: #222222;
    font-size: 0.9rem;
}

/* Messages d'erreur et de succès style Airbnb */
.auth-message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.auth-message.show {
    transform: translateX(0);
    opacity: 1;
}

.auth-message.success {
    background: #f0f9ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.auth-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-message.warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fed7aa;
}

.auth-message i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.auth-message .message-text {
    flex: 1;
    line-height: 1.4;
}

.auth-message .message-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.auth-message .message-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-body {
        padding: 1rem;
    }
    
    .auth-container {
        max-width: 100%;
    }
    
    .auth-title {
        font-size: 1.25rem;
    }
    
    .step-buttons {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Checkbox style Airbnb - Classes spécifiques */
.auth-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #717171;
}

.auth-form-checkbox {
    display: none !important;
}

.auth-checkmark {
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #dddddd !important;
    border-radius: 4px !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    background: white !important;
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.auth-form-checkbox:checked + .auth-checkmark {
    background: #ff385c !important;
    border-color: #ff385c !important;
}

.auth-form-checkbox:checked + .auth-checkmark::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 0.7rem !important;
    font-weight: bold !important;
}

/* Upload de photo style Airbnb */
.photo-upload-container {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.photo-preview {
    width: 100%;
    height: 350px;
    border: 2px dashed #dddddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.photo-preview:hover {
    border-color: #222222;
    background: #f7f7f7;
}

.photo-preview i {
    font-size: 2rem;
    color: #717171;
    margin-bottom: 0.5rem;
}

.photo-preview span {
    color: #717171;
    font-size: 0.9rem;
    text-align: center;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.photo-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.photo-input:hover + .photo-preview {
    border-color: #222222;
    background: #f7f7f7;
}

/* Form options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: #222222;
    text-decoration: underline;
    font-size: 0.8rem;
    font-weight: 500;
}

.forgot-password:hover {
    color: #717171;
}

/* Boutons style Airbnb */
.auth-button {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-button:hover {
    background: linear-gradient(135deg, #2563eb, #db2777);
    transform: scale(1.02);
}

.auth-button:active {
    transform: scale(1);
}

.auth-button.secondary {
    background: white;
    color: #222222;
    border: 1px solid #dddddd;
}

.auth-button.secondary:hover {
    border-color: #222222;
    background: #f7f7f7;
}

.step-buttons {
    display: flex;
    gap: 1rem;
}

.step-buttons .auth-button {
    flex: 1;
    margin-bottom: 0;
}

/* Divider style Airbnb */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #717171;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dddddd;
}

.auth-divider span {
    padding: 0 1rem;
}

/* Social auth style Airbnb */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: white;
    color: #222222;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.social-button:hover {
    border-color: #222222;
    background: #f7f7f7;
}

.social-button i {
    font-size: 1.1rem;
}

.social-button.google i {
    color: #4285f4;
}

.social-button.facebook i {
    color: #1877f2;
}

/* Footer style Airbnb */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dddddd;
}

.auth-footer p {
    margin: 0;
    color: #717171;
    font-size: 0.8rem;
}

.auth-link {
    color: #222222;
    text-decoration: underline;
    font-weight: 500;
}

.auth-link:hover {
    color: #717171;
}

/* ===== PAGE ANNONCES ===== */
.annonces-main {
    padding-bottom: 100px;
    padding-top: 90px; /* Espace pour la navigation mobile */
    background: #ffffff;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}


/* Suppression du content-wrapper pour les sections de recherche et filtres */
.annonces-main .content-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Search Section - Classes spécifiques pour annonces */
.annonces-search-section {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.annonces-search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
    box-sizing: border-box;
}

.annonces-search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    z-index: 2;
}

.annonces-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #1a1a1a;
}

.annonces-search-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.annonces-search-input::placeholder {
    color: #94a3b8;
}

/* Filters Section - Classes spécifiques pour annonces */
.annonces-filters-section {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.annonces-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.annonces-filters-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.annonces-view-toggle-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.annonces-view-toggle-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f1f5f9;
}

.annonces-filters-container {
    display: flex;
    gap: 0.75rem;
    padding: 0 3rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    box-sizing: border-box;
}

.annonces-filters-container::-webkit-scrollbar {
    display: none;
}

/* Style pour le bouton filtre dans le container */
.annonces-filters-container .modal-filters-btn {
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
}

.annonces-filters-container .modal-filters-btn:hover {
    background: #4f46e5;
}

.annonces-filter-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
}

.annonces-filter-btn:hover,
.annonces-filter-btn.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.annonces-filter-btn i {
    font-size: 11px;
}

.annonces-filter-count {
    display: none;
}

/* Annonces Section */
.annonces-section {
    padding: 1rem;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    max-width: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Annonces Grid */
.annonces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 1rem;
}

.annonces-grid.list-view {
    grid-template-columns: 1fr;
    max-width: 1200px;
    gap: 0.75rem;
    padding: 0 1rem;
}

.annonces-grid .annonce-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.annonces-grid .annonce-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.annonces-grid .annonce-card.list-view {
    display: flex;
    height: auto;
    flex-direction: row;
}

/* Annonce Content */
.annonces-grid .annonce-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.annonces-grid .annonce-card.list-view .annonce-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.annonces-grid .annonce-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.annonces-grid .annonce-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.annonces-grid .annonce-actions {
    display: flex;
    gap: 0.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.annonces-grid .action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f7f7f7;
    color: #717171;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annonces-grid .action-btn:hover {
    background: #ff385c;
    color: white;
    transform: scale(1.1);
}

.annonces-grid .action-btn i.favorited {
    color: #ff385c;
}

.annonces-grid .annonce-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #717171;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.annonces-grid .annonce-location i {
    font-size: 0.7rem;
}

.annonces-grid .annonce-lieu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #3b82f6;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.annonces-grid .annonce-lieu i {
    font-size: 0.7rem;
}

.annonces-grid .annonce-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.annonces-grid .annonce-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.annonces-grid .author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.annonces-grid .author-name {
    font-size: 0.75rem;
    color: #717171;
    font-weight: 500;
}

.annonces-grid .annonce-date {
    font-size: 0.7rem;
    color: #717171;
}

.annonces-grid .annonce-description {
    color: #717171;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.annonces-grid .annonce-card.list-view .annonce-description {
    -webkit-line-clamp: 1;
    margin-bottom: 0.5rem;
}

.annonces-grid .annonce-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.annonces-grid .tag {
    background: #f7f7f7;
    color: #717171;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Footer de l'annonce */
.annonces-grid .annonce-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f7f7f7;
}

.annonces-grid .annonce-footer-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.annonces-grid .annonce-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.annonces-grid .annonce-badge.rencontre {
    background: linear-gradient(135deg, #3b82f6, #ec4899);
}

.annonces-grid .annonce-badge.plan {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.annonces-grid  .annonce-badge.boire {
    background: linear-gradient(135deg, #3b82f6, #020c36);
}

.annonces-grid  .annonce-badge.sortie {
    background: linear-gradient(135deg, #af3a82, #ec4899);
}

.annonces-grid .annonce-badge.peu-importe {
    background: linear-gradient(135deg, #3b82f6, #d11f1f);

}

.annonces-grid .btn-repondre {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.annonces-grid .btn-repondre:hover {
    background: linear-gradient(135deg, #2563eb, #db2777);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.annonces-grid .btn-repondre i {
    font-size: 0.7rem;
}

.annonces-grid .btn-signaler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f7f7f7;
    color: #717171;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.annonces-grid .btn-signaler:hover {
    background: #ff385c;
    color: white;
    transform: scale(1.1);
}

.annonces-grid .breadcrumb-link:hover {
    color: #3b82f6;
}

.annonces-grid .breadcrumb-link i {
    font-size: 0.8rem;
}

/* Container principal */
.annonces-grid .annonce-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

/* En-tête de l'annonce */
.annonces-grid .annonce-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f7f7f7;
    position: relative;
}

.annonces-grid .annonce-detail-title-section {
    flex: 1;
}

.annonces-grid .annonce-detail-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222222;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}



.annonces-grid .annonce-detail-badge.rencontre {
    background: linear-gradient(135deg, #3b82f6, #ec4899);
}

.annonces-grid .annonce-detail-badge.plan {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}




.annonces-grid .annonce-detail-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.annonces-grid .annonce-detail-actions .action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f7f7f7;
    color: #717171;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annonces-grid .annonce-detail-actions .action-btn:hover {
    background: #ff385c;
    color: white;
    transform: scale(1.05);
}

/* Informations rapides */
.annonces-grid .annonce-detail-quick-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f7f7f7;
}

.annonces-grid .quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #717171;
    font-size: 0.8rem;
    font-weight: 500;
}

.annonces-grid .quick-info-item i {
    color: #3b82f6;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

/* Description */
.annonces-grid .annonce-detail-description {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f7f7f7;
}

.annonces-grid .section-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222222;
}

.annonces-grid .description-content p {
    margin: 0 0 0.75rem 0;
    color: #717171;
    line-height: 1.6;
    font-size: 0.9rem;
}

.annonces-grid .description-content p:last-child {
    margin-bottom: 0;
}

.annonces-grid .description-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f7f7f7;
}

/* À propos de l'auteur */
.annonces-grid .annonce-detail-author {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f7f7f7;
}

.annonces-grid .author-info-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.annonces-grid .author-photo {
    flex-shrink: 0;
}

.annonces-grid .author-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
    overflow: hidden;
}

.annonces-grid .author-details {
    flex: 1;
}

.annonces-grid .detail-author-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222222;
}

.annonces-grid .detail-author-age {
    margin: 0 0 0.25rem 0;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
}

.annonces-grid .detail-author-location {
    margin: 0 0 1rem 0;
    color: #717171;
    font-size: 0.8rem;
    font-weight: 500;
}

.annonces-grid .author-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.annonces-grid .interest-tag {
    background: #f7f7f7;
    color: #3b82f6;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.annonces-grid .interest-tag:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

/* Actions */
.annonces-grid .annonce-detail-actions-section {
    margin-top: 2rem;
}

.annonces-grid .actions-grid {
    display: flex;
    gap: 1rem;
}

.annonces-grid .btn-repondre-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.annonces-grid .btn-repondre-primary:hover {
    background: linear-gradient(135deg, #2563eb, #db2777);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.annonces-grid .btn-repondre-primary i {
    font-size: 0.8rem;
}

.annonces-grid .btn-signaler-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    color: #717171;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.annonces-grid .btn-signaler-secondary:hover {
    border-color: #ff385c;
    color: #ff385c;
    background: #fff5f5;
    transform: translateY(-1px);
}

/* Bouton Répondre fixé en bas */
.annonces-grid .fixed-repondre-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    border-top: 1px solid #ebebeb;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* Masqué par défaut */
}

/* Afficher uniquement sur mobile */
@media (max-width: 768px) {
    .annonces-grid .fixed-repondre-button.mobile-only {
        display: block;
    }
}

.annonces-grid .mobile-actions-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.annonces-grid .btn-repondre-fixed {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.annonces-grid .btn-repondre-fixed:hover {
    background: linear-gradient(135deg, #2563eb, #db2777);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.annonces-grid .btn-repondre-fixed i {
    font-size: 0.9rem;
}

.annonces-grid .btn-signaler-fixed {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    color: #717171;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.annonces-grid .btn-signaler-fixed:hover {
    border-color: #ff385c;
    color: #ff385c;
    background: #fff5f5;
    transform: translateY(-1px);
}

/* Annonce Boost - Design ultra visible et attractif */
.annonces-grid .annonce-boost {
    position: relative;
    background: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
    order: -1;
    overflow: visible;
    z-index: 10;
}

.annonces-grid .annonce-boost::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.annonces-grid .annonce-boost:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.35), 0 0 0 2px rgba(59, 130, 246, 0.2);
    border-color: #2563eb;
    background: white;
}

.annonces-grid .premium-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    backdrop-filter: blur(10px);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.9);
    z-index: 100; /* Augmenté pour être sûr qu'elle soit visible */
    border: 2px solid white;
    transition: all 0.3s ease;
    animation: badgePulse 2s ease-in-out infinite;
}

.annonces-grid .premium-badge i {
    color: white;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: rocketLaunch 3s ease-in-out infinite;
}

/* Changement de l'icône pour une fusée - UNIQUEMENT pour les annonces */
.annonces-grid .annonce-boost .premium-badge i.fa-crown::before {
    content: "\f135"; /* Code de la fusée FontAwesome */
}

/* Changement global pour tous les éléments premium - SUPPRIMÉ */
/* .premium-badge i.fas.fa-crown::before {
    content: "\f135";
} */

/* Changement pour les membres premium - SUPPRIMÉ */
/* .member-crown.fa-crown::before {
    content: "\f135";
}

.member-crown.fas.fa-crown::before {
    content: "\f135";
} */

.annonces-grid .annonce-boost:hover .premium-badge {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.annonces-grid .annonce-boost .annonce-content {
    padding-top: 2.5rem;
    position: relative;
}

.annonces-grid .annonce-boost .annonce-title {
    color: #1e293b;
    font-weight: 700;
    position: relative;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(59, 130, 246, 0.1);
}

.annonces-grid .annonce-boost .annonce-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #ec4899, #8b5cf6);
    border-radius: 2px;
    animation: premiumGlow 2s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.annonces-grid .annonce-boost .annonce-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.annonces-grid .annonce-boost .btn-repondre {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.annonces-grid .annonce-boost .btn-repondre:hover {
    background: linear-gradient(135deg, #e55a2b, #e0851a);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transform: translateY(-1px);
}

.annonces-grid .annonce-boost .tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

.annonces-grid .annonce-boost .tag:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

/* Animation shimmer pour la bordure */
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Animation subtile pour l'annonce premium */
@keyframes premiumPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
    }
}

.annonces-grid .annonce-boost {
    animation: premiumPulse 4s ease-in-out infinite;
}

/* Responsive pour les annonces boost */
@media (max-width: 768px) {
    .annonces-grid .annonce-boost {
        transform: scale(1.005);
    }
    
    .annonces-grid .annonce-boost:hover {
        transform: scale(1.01);
    }
    
    .annonces-grid .premium-badge {
        top: -18px;
        width: 36px;
        height: 36px;
    }
    
    .annonces-grid .premium-badge i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .annonces-grid .annonce-boost {
        transform: none;
    }
    
    .annonces-grid .annonce-boost:hover {
        transform: none;
    }
    
    .annonces-grid .premium-badge {
        top: -16px;
        width: 32px;
        height: 32px;
    }
    
    .annonces-grid .premium-badge i {
        font-size: 0.8rem;
    }
    
    .annonces-grid .annonce-boost .annonce-content {
        padding-top: 1.5rem;
    }
}

/* Animation pour l'annonce premium */
@keyframes premiumGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    }
    50% {
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
    }
}

/* Animation pour le badge boost */
@keyframes badgePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.9);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.95);
    }
}

.annonces-grid .annonce-boost {
    animation: premiumGlow 3s ease-in-out infinite;
}

/* ===== STYLES PREMIUM POUR ANNONCE DETAIL ===== */
.annonces-grid .annonce-detail-premium {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    overflow: visible;
}

.annonces-grid .annonce-detail-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #ec4899, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border-radius: 12px 12px 0 0;
}

.annonces-grid .annonce-detail-premium .premium-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(59, 130, 246, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 10;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.annonces-grid .annonce-detail-premium .premium-badge i {
    color: white;
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.annonces-grid .annonce-detail-premium:hover .premium-badge {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.annonces-grid .annonce-detail-premium .annonce-detail-title {
    color: #1e293b;
    font-weight: 600;
    position: relative;
}

.annonces-grid .annonce-detail-premium .annonce-detail-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #ec4899);
    border-radius: 1px;
}

.annonces-grid .annonce-detail-premium .btn-repondre-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.annonces-grid .annonce-detail-premium .btn-repondre-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.annonces-grid .annonce-detail-premium .interest-tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

.annonces-grid .annonce-detail-premium .interest-tag:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

/* Animation pour annonce detail premium */
@keyframes detailPremiumPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
    }
}

.annonces-grid .annonce-detail-premium {
    animation: detailPremiumPulse 4s ease-in-out infinite;
}

/* ===== STYLES PREMIUM POUR LIEUX ===== */
.annonces-grid .lieu-premium {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    overflow: visible; /* Changé de hidden à visible pour que la couronne soit visible */
    transform: scale(1.01);
    order: -1;
}

.annonces-grid .lieu-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #ec4899, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
    border-radius: 12px 12px 0 0;
}

.annonces-grid .lieu-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
    border-color: #3b82f6;
}

.annonces-grid .lieu-premium .premium-badge {
    position: absolute;
    top: -25px; /* Ajusté pour être plus haut */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(59, 130, 246, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 100; /* Augmenté pour être sûr qu'elle soit visible */
    border: 2px solid white;
    transition: all 0.3s ease;
}

.annonces-grid .lieu-premium .premium-badge i {
    color: white;
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.annonces-grid .lieu-premium:hover .premium-badge {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.annonces-grid .lieu-premium .lieu-title {
    color: #1e293b;
    font-weight: 600;
    position: relative;
}

.annonces-grid .lieu-premium .lieu-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #ec4899);
    border-radius: 1px;
}

.annonces-grid .lieu-premium .btn-visiter {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.annonces-grid .lieu-premium .btn-visiter:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.annonces-grid .lieu-premium .lieu-tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

.annonces-grid .lieu-premium .lieu-tag:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

/* Animation pour lieux premium */
@keyframes lieuPremiumPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
    }
}

.annonces-grid .lieu-premium {
    animation: lieuPremiumPulse 4s ease-in-out infinite;
}

/* Responsive pour les éléments premium */
@media (max-width: 768px) {
    .annonces-grid .annonce-detail-premium .premium-badge,
    .annonces-grid .lieu-premium .premium-badge {
        top: -22px; /* Ajusté pour être plus haut */
        width: 36px;
        height: 36px;
    }
    
    .annonces-grid .annonce-detail-premium .premium-badge i,
    .annonces-grid .lieu-premium .premium-badge i {
        font-size: 0.9rem;
    }
    
    .annonces-grid .lieu-premium {
        transform: scale(1.005);
    }
    
    .annonces-grid .lieu-premium:hover {
        transform: scale(1.01);
    }
}

@media (max-width: 480px) {
    .annonces-grid .annonce-detail-premium .premium-badge,
    .annonces-grid .lieu-premium .premium-badge {
        top: -20px; /* Ajusté pour être plus haut */
        width: 32px;
        height: 32px;
    }
    
    .annonces-grid .annonce-detail-premium .premium-badge i,
    .annonces-grid .lieu-premium .premium-badge i {
        font-size: 0.8rem;
    }
    
    .annonces-grid .lieu-premium {
        transform: none;
    }
    
    .annonces-grid .lieu-premium:hover {
        transform: none;
    }
}

/* ===== STYLES PREMIUM POUR MEMBRES ===== */
.annonces-grid .membre-premium {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    overflow: hidden;
    transform: scale(1.01);
    order: -1;
}

.annonces-grid .membre-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #ec4899, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
    border-radius: 12px 12px 0 0;
}

.annonces-grid .membre-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
    border-color: #3b82f6;
}

.annonces-grid .membre-premium .premium-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(59, 130, 246, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 100; /* Augmenté pour être sûr qu'elle soit visible */
    border: 2px solid white;
    transition: all 0.3s ease;
}

.annonces-grid .membre-premium .premium-badge i {
    color: white;
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.annonces-grid .membre-premium:hover .premium-badge {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.annonces-grid .membre-premium .member-pseudo {
    color: #1e293b;
    font-weight: 600;
    position: relative;
}

.annonces-grid .membre-premium .member-pseudo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #ec4899);
    border-radius: 1px;
}

.annonces-grid .membre-premium .premium-icon {
    color: #3b82f6;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.3));
}

.annonces-grid .membre-premium .member-status {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.annonces-grid .membre-premium .member-status.online {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

/* Animation pour membres premium */
@keyframes membrePremiumPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
    }
}

.annonces-grid .membre-premium {
    animation: membrePremiumPulse 4s ease-in-out infinite;
}

/* Responsive pour les membres premium */
@media (max-width: 768px) {
    .annonces-grid .membre-premium {
        transform: scale(1.005);
    }
    
    .annonces-grid .membre-premium:hover {
        transform: scale(1.01);
    }
    
    .annonces-grid .membre-premium .premium-badge {
        top: -18px;
        width: 36px;
        height: 36px;
    }
    
    .annonces-grid .membre-premium .premium-badge i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .annonces-grid .membre-premium {
        transform: none;
    }
    
    .annonces-grid .membre-premium:hover {
        transform: none;
    }
    
    .annonces-grid .membre-premium .premium-badge {
        top: -16px;
        width: 32px;
        height: 32px;
    }
    
    .annonces-grid .membre-premium .premium-badge i {
        font-size: 0.8rem;
    }
}

/* Style pour la couronne des membres */
.annonces-grid .member-crown {
    color: #3b82f6;
    font-size: 0.7rem;
    margin-left: 0.3rem;
    opacity: 0.8;
}


/* Animation de la fusée qui décolle */
@keyframes rocketLaunch {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-1px) rotate(-3deg);
    }
    50% {
        transform: translateY(-2px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(3deg);
    }
    100% {
        transform: translateY(-4px) rotate(0deg);
    }
}

/* Animation de la fusée pour les annonces premium */
.annonces-grid .annonce-boost .premium-badge i.fa-crown {
    animation: rocketLaunch 2s ease-in-out infinite;
}

/* Gradient animé pour le fond du badge boost des annonces */
.annonces-grid .annonce-boost .premium-badge {
    background: linear-gradient(135deg, #3b82f6, #ec4899, #8b5cf6, #3b82f6);
    background-size: 200% 200%;
    animation: premiumGradient 3s ease-in-out infinite;
}

@keyframes premiumGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.annonces-search-container {
    padding: 0 0.5rem;
}

.annonces-section {
    padding: 0.25rem;
    margin: 0 0.25rem; /* Marge très réduite sur très petits écrans */
    max-width: calc(100% - 0.5rem);
}

.annonces-filters-header {
    max-width: calc(100% - 0.5rem);
}

.annonces-filters-container {
    max-width: calc(100% - 0.5rem);
}


/* Annonce Premium mobile */
@media (max-width: 1200px) {
    .annonces-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .annonces-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Correction pour la couronne des lieux premium */
.place-card.lieu-premium {
    overflow: visible !important;
    position: relative;
    z-index: 2;
}

/* Annonce Premium mobile */
@media (max-width: 1200px) {
    .annonces-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .annonces-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Changement de l'icône pour une fusée - UNIQUEMENT pour les annonces détails */
.annonces-grid .annonce-detail-premium .premium-badge i.fa-crown::before {
    content: "\f135"; /* Code de la fusée FontAwesome */
}

/* Animation de la fusée pour les annonces détails premium */
.annonces-grid .annonce-detail-premium .premium-badge i.fa-crown {
    animation: rocketLaunch 2s ease-in-out infinite;
}

/* Gradient animé pour le fond du badge premium des annonces détails */
.annonces-grid .annonce-detail-premium .premium-badge {
    background: linear-gradient(135deg, #3b82f6, #ec4899, #8b5cf6, #3b82f6);
    background-size: 200% 200%;
    animation: premiumGradient 3s ease-in-out infinite;
}

.filters-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.modal-filters-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    height: 28px; /* Hauteur réduite */
    border-radius: 16px; /* Border-radius réduit */
}

.modal-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-filters-btn i {
    font-size: 12px;
}

/* Styles communs pour le modal des filtres sur toutes les pages */
.filters-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.filters-modal.active {
    display: flex;
}

.filters-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.filters-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.filters-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.filters-modal-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    margin: 0;
}

.filters-modal-close {
    background: none;
    border: none;
    font-size: 16px;
    color: #717171;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.filters-modal-close:hover {
    background: #f7f7f7;
    color: #222222;
}

.filters-modal-body {
    padding: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h4 {
    font-size: 12px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 8px 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 11px;
}

.filter-checkbox:hover {
    background: #f7f7f7;
}

.filter-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #ff385c;
}

.filter-range {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.filter-range input[type="range"] {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

.filter-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff385c;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(255, 56, 92, 0.3);
}

.filter-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff385c;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(255, 56, 92, 0.3);
}

.filter-range span {
    font-size: 10px;
    font-weight: 500;
    color: #717171;
    min-width: 40px;
    text-align: right;
}

.filters-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-reset-filters {
    background: #f7f7f7;
    color: #717171;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-reset-filters:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
}

.btn-apply-filters {
    background: linear-gradient(135deg, #ff385c 0%, #e31c5f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-apply-filters:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

@media (max-width: 768px) {
    .filters-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .filters-modal-header,
    .filters-modal-body {
        padding: 16px 20px;
    }
    
    .filters-modal-footer {
        padding: 16px 20px;
    }
}

/* Styles pour le bouton modal des filtres */
.modal-filters-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    height: 28px; /* Hauteur réduite */
    border-radius: 16px; /* Border-radius réduit */
}

.modal-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-filters-btn i {
    font-size: 12px;
}

/* Styles pour le basculement grille/liste des lieux et membres */
.places-grid.list-view {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.place-card.list-view {
    display: flex;
    height: auto;
    flex-direction: row;
}

.place-card.list-view .place-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.place-card.list-view .place-info-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.members-grid.list-view {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.member-card.list-view {
    display: flex;
    height: auto;
    flex-direction: row;
}

.member-card.list-view .member-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.member-card.list-view .member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

/* Responsive pour le basculement grille/liste */
@media (max-width: 768px) {
    .places-grid.list-view,
    .members-grid.list-view {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .place-card.list-view,
    .member-card.list-view {
        flex-direction: column;
    }
    
    .place-card.list-view .place-image,
    .member-card.list-view .member-image {
        width: 100%;
        height: 200px;
    }
}
/* Responsive pour les boutons de filtres */
@media (max-width: 768px) {
    /* Masquer le bouton modal dans les actions sur mobile */
    .filters-actions .modal-filters-btn {
        display: none;
    }
    
    /* Afficher le bouton modal dans le container sur mobile */
    .annonces-filters-container .modal-filters-btn {
        display: flex;
    }
    
    /* Afficher le bouton de basculement sur mobile */
    .annonces-view-toggle-btn {
        display: flex;
    }
}

@media (min-width: 769px) {
    /* Afficher le bouton modal dans le container sur desktop */
    .annonces-filters-container .modal-filters-btn {
        display: flex;
    }
    
    /* Afficher le bouton de basculement sur desktop */
    .annonces-view-toggle-btn {
        display: flex;
    }
}

/* Forcer l'affichage du bouton modal sur desktop ET mobile */
.modal-filters-btn {
    display: flex !important;
}

/* Forcer l'affichage du bouton de basculement sur desktop ET mobile */
.annonces-view-toggle-btn {
    display: flex !important;
}

/* Masquer complètement le bouton de basculement grille/liste des annonces */
.annonces-view-toggle-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Masquer complètement le bouton de basculement grille/liste UNIQUEMENT pour les annonces */
.annonces-filters-section .annonces-view-toggle-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Corriger la position du bouton filtre pour qu'il soit à côté des filtres */
.annonces-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Styles pour le bouton de basculement des lieux */
.lieux-view-toggle-btn {
    background: none;
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 0.5rem;
    color: #717171;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lieux-view-toggle-btn:hover {
    border-color: #222222;
    color: #222222;
}

/* Styles pour le bouton de basculement des membres */
.membres-view-toggle-btn {
    background: none;
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 0.5rem;
    color: #717171;
    cursor: pointer;
    transition: all 0.2s ease;
}

.membres-view-toggle-btn:hover {
    border-color: #222222;
    color: #222222;
}

/* Responsive pour les boutons de filtres */
@media (max-width: 768px) {
    /* Afficher le bouton modal dans les actions sur mobile aussi */
    .filters-actions .modal-filters-btn {
        display: flex;
    }
    
    /* Afficher le bouton modal dans le container sur mobile */
    .annonces-filters-container .modal-filters-btn {
        display: flex;
    }
    
    /* Afficher le bouton de basculement sur mobile */
    .lieux-view-toggle-btn,
    .membres-view-toggle-btn {
        display: flex;
    }
}

@media (min-width: 769px) {
    /* Afficher le bouton modal dans le container sur desktop */
    .annonces-filters-container .modal-filters-btn {
        display: flex;
    }
    
    /* Afficher le bouton modal dans les actions sur desktop aussi */
    .filters-actions .modal-filters-btn {
        display: flex;
    }
    
    /* Afficher le bouton de basculement sur desktop */
    .lieux-view-toggle-btn,
    .membres-view-toggle-btn {
        display: flex;
    }
}

/* ===== BOUTON DÉPOSER UNE ANNONCE ===== */
.deposer-annonce-section {
    background: white;
    padding: 0.5rem 0; /* Réduit de 1rem à 0.5rem */
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    margin: 0;
}

.deposer-annonce-container {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.btn-deposer-annonce {
    background: linear-gradient(135deg, #ff385c 0%, #e31c5f 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem; /* Réduit de 0.75rem à 0.5rem */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 56, 92, 0.3);
}

.btn-deposer-annonce:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 56, 92, 0.4);
    background: linear-gradient(135deg, #e31c5f 0%, #d4145a 100%);
}

.btn-deposer-annonce i {
    font-size: 1rem;
}

/* ===== MODAL DÉPOSER UNE ANNONCE ===== */
.deposer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    /* Empêcher le zoom sur tout le modal */
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Forcer la taille de police */
    font-size: 18px !important;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

.deposer-modal.active {
    display: flex;
}

.deposer-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.deposer-modal-content {
    position: relative;
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.4s ease-out;
    transform: translateY(100%);
    /* Empêcher le zoom sur le contenu du modal */
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Forcer la taille de police */
    font-size: 18px !important;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.deposer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ebebeb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.deposer-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #222222;
    font-weight: 600;
}

.deposer-modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #717171;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.deposer-modal-close:hover {
    background: #f7f7f7;
    color: #ff385c;
}

/* Barre de progression */
.deposer-progress {
    padding: 1rem 2rem;
    border-bottom: 1px solid #ebebeb;
}

.deposer-progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.deposer-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ff385c, #e31c5f);
    transition: width 0.3s ease;
    width: 25%; /* Changé de 33.33% à 25% pour 4 étapes */
}

.deposer-progress-text {
    text-align: center;
    font-size: 0.8rem;
    color: #717171;
    font-weight: 500;
}

.deposer-modal-body {
    padding: 2rem;
}

/* Étapes */
.deposer-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.deposer-step.active {
    display: block;
}

.deposer-step h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    color: #222222;
    font-weight: 600;
}

/* Formulaires - Correction du zoom sur mobile */
.deposer-step .form-group {
    margin-bottom: 1.5rem;
}

.deposer-step .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #222222;
    font-size: 18px; /* Taille encore plus grande pour éviter le zoom */
}

.deposer-step .form-group input,
.deposer-step .form-group textarea,
.deposer-step .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 18px !important; /* Taille encore plus grande pour éviter le zoom */
    line-height: 1.2;
    transition: all 0.2s ease;
    background: white;
    box-sizing: border-box;
    -webkit-appearance: none; /* Supprime l'apparence par défaut sur iOS */
    -moz-appearance: none;
    appearance: none;
    transform: scale(1); /* Force l'échelle à 1 */
    transform-origin: top left;
    /* Styles spécifiques pour iOS */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.deposer-step .form-group input:focus,
.deposer-step .form-group textarea:focus,
.deposer-step .form-group select:focus {
    outline: none;
    border-color: #ff385c;
    box-shadow: 0 0 0 2px rgba(255, 56, 92, 0.1);
    font-size: 18px !important; /* Maintient la taille même en focus */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.deposer-step .form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #717171;
    font-size: 0.75rem;
}

/* Radio buttons spécifiques */
.deposer-step .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deposer-step .radio-option {
    position: relative;
    display: block;
    padding: 0.875rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.deposer-step .radio-option:hover {
    border-color: #ff385c;
    background: #fff5f5;
}

.deposer-step .radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.deposer-step .radio-custom {
    position: absolute;
    top: 50%;
    left: 0.875rem;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #dddddd;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
}

.deposer-step .radio-option input[type="radio"]:checked ~ .radio-custom {
    border-color: #ff385c;
    background: #ff385c;
}

.deposer-step .radio-option input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.deposer-step .radio-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 2.5rem;
}

.deposer-step .radio-content i {
    font-size: 1.1rem;
    color: #717171;
    width: 16px;
    text-align: center;
}

.deposer-step .radio-content span {
    font-weight: 500;
    color: #222222;
    font-size: 0.9rem;
}

/* Tags spécifiques */
.deposer-step .tags-container {
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 1rem;
    background: #f8fafc;
}

.deposer-step .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.deposer-step .tag-item {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: white;
    color: #717171;
    border: 1px solid #dddddd;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.deposer-step .tag-item:hover {
    border-color: #ff385c;
    color: #ff385c;
    background: #fff5f5;
}

.deposer-step .tag-item.selected {
    background: #ff385c;
    color: white;
    border-color: #ff385c;
}

.deposer-step .tag-item.selected:hover {
    background: #e31c5f;
    border-color: #e31c5f;
}

.deposer-step #customTag {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 18px !important; /* Taille encore plus grande pour éviter le zoom */
    background: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transform: scale(1);
    transform-origin: top left;
    /* Styles spécifiques pour iOS */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.deposer-step #customTag:focus {
    outline: none;
    border-color: #ff385c;
    box-shadow: 0 0 0 2px rgba(255, 56, 92, 0.1);
    font-size: 18px !important;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Checkbox spécifiques */
.deposer-step .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deposer-step .checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #717171;
    margin-bottom: 0.5rem;
}

.deposer-step .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #dddddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    background: white;
    flex-shrink: 0;
    margin-top: 0.125rem;
    display: block;
}

.deposer-step .checkbox-option input[type="checkbox"] {
    display: none;
}

.deposer-step .checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: #ff385c;
    border-color: #ff385c;
}

.deposer-step .checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 0.7rem !important;
    font-weight: bold !important;
}

.deposer-step .checkbox-option a {
    color: #ff385c;
    text-decoration: none;
}

.deposer-step .checkbox-option a:hover {
    text-decoration: underline;
}

/* Footer du modal - Style Airbnb minimaliste */
.deposer-modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #ebebeb;
    background: white;
    position: sticky;
    bottom: 0;
}

.deposer-modal-footer button {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn-prev-step {
    background: white;
    color: #222222;
    border: 1px solid #dddddd !important;
}

.btn-prev-step:hover {
    border-color: #222222 !important;
    background: #f7f7f7;
}

.btn-next-step {
    background: #222222;
    color: white;
}

.btn-next-step:hover {
    background: #000000;
}

.btn-publier {
    background: #ff385c;
    color: white;
}

.btn-publier:hover {
    background: #e31c5f;
}

/* Améliorations du modal - Style plus compact */
.deposer-modal-header {
    padding: 1rem 1.5rem;
}

.deposer-modal-header h3 {
    font-size: 1.1rem;
}

.deposer-progress {
    padding: 0.75rem 1.5rem;
}

.deposer-progress-bar {
    height: 4px;
}

.deposer-progress-text {
    font-size: 0.75rem;
}

.deposer-modal-body {
    padding: 1.5rem;
}

.deposer-step h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.deposer-step .form-group {
    margin-bottom: 1rem;
}

.deposer-step .form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.375rem;
}

.deposer-step .form-group input,
.deposer-step .form-group textarea,
.deposer-step .form-group select {
    padding: 0.625rem 0.875rem;
    font-size: 0.85rem;
}

.deposer-step .radio-option {
    padding: 0.75rem;
}

.deposer-step .radio-content {
    margin-left: 2rem;
}

.deposer-step .tags-container {
    padding: 0.75rem;
}

.deposer-step .tag-item {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
}

/* Responsive pour le modal déposer */
@media (max-width: 768px) {
    .deposer-modal-content {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
    }
    
    .deposer-modal-header,
    .deposer-modal-body,
    .deposer-modal-footer {
        padding: 1rem;
    }
    
    .deposer-progress {
        padding: 0.75rem 1rem;
    }
    
    .deposer-step .radio-group {
        gap: 0.5rem;
    }
    
    .deposer-step .radio-option {
        padding: 0.625rem;
    }
    
    .deposer-step .radio-content {
        margin-left: 1.75rem;
    }
    
    .deposer-modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .deposer-modal-footer button {
        width: 100%;
    }
    
    /* Réduction des tailles de texte sur mobile */
    .deposer-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .deposer-step h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .deposer-step .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .deposer-step .form-group input,
    .deposer-step .form-group textarea,
    .deposer-step .form-group select {
        font-size: 0.9rem !important;
        padding: 0.6rem 0.8rem;
    }
    
    .deposer-step .radio-content span {
        font-size: 0.85rem;
    }
    
    .deposer-step .radio-content small {
        font-size: 0.75rem;
    }
    
    .deposer-step .tags-container .tag-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .deposer-step #customTag {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }
    
    .step-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .boost-info .boost-text strong {
        font-size: 0.85rem;
    }
    
    .boost-info .boost-text p {
        font-size: 0.8rem;
    }
    
    .deposer-progress-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .deposer-modal-header h3 {
        font-size: 1rem;
    }
    
    .deposer-step .form-group input,
    .deposer-step .form-group textarea,
    .deposer-step .form-group select {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .deposer-step .tag-item {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Réduction supplémentaire pour très petits écrans */
    .deposer-modal-header,
    .deposer-modal-body,
    .deposer-modal-footer {
        padding: 0.75rem;
    }
    
    .deposer-step h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .deposer-step .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .deposer-step .radio-content span {
        font-size: 0.8rem;
    }
    
    .deposer-step .radio-content small {
        font-size: 0.7rem;
    }
    
    .deposer-step .radio-option {
        padding: 0.5rem;
    }
    
    .deposer-modal-footer button {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    .step-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .boost-info .boost-text strong {
        font-size: 0.8rem;
    }
    
    .boost-info .boost-text p {
        font-size: 0.75rem;
    }
    
    .deposer-progress-text {
        font-size: 0.7rem;
    }
}

/* ===== MESSAGES D'ERREUR ET SUCCÈS BEAUX ===== */
.error-message-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    max-width: 400px;
    pointer-events: none;
}

.error-message {
    background: white;
    border-left: 4px solid #ff385c;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.error-message.show {
    transform: translateX(0);
    opacity: 1;
}

.error-message.hide {
    transform: translateX(100%);
    opacity: 0;
}

.error-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff385c, #e31c5f);
    animation: errorShimmer 2s ease-in-out infinite;
}

@keyframes errorShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.error-message-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff385c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    margin-top: 0.125rem;
}

.error-message-content {
    flex: 1;
}

.error-message-title {
    font-weight: 600;
    color: #222222;
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.error-message-text {
    color: #717171;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.error-message-close {
    background: none;
    border: none;
    color: #717171;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.error-message-close:hover {
    background: #f7f7f7;
    color: #222222;
}

/* Variantes de messages */
.error-message.success {
    border-left-color: #10b981;
}

.error-message.success .error-message-icon {
    background: #10b981;
}

.error-message.success::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.error-message.warning {
    border-left-color: #f59e0b;
}

.error-message.warning .error-message-icon {
    background: #f59e0b;
}

.error-message.warning::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.error-message.info {
    border-left-color: #3b82f6;
}

.error-message.info .error-message-icon {
    background: #3b82f6;
}

.error-message.info::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* Animation d'entrée et sortie */
@keyframes slideInError {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutError {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .error-message-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .error-message {
        padding: 0.875rem 1rem;
    }
    
    .error-message-title {
        font-size: 0.85rem;
    }
    
    .error-message-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .error-message-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
    }
    
    .error-message {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .error-message-icon {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
}

/* Info boost */
.boost-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 1rem;
}

.boost-info i {
    color: #ff385c;
    font-size: 1.2rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.boost-text strong {
    display: block;
    color: #222222;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.boost-text p {
    color: #717171;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

/* Correction des cases à cocher */
.deposer-step .checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #717171;
    margin-bottom: 0.5rem;
}

.deposer-step .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #dddddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    background: white;
    flex-shrink: 0;
    margin-top: 0.125rem;
    display: block;
}

.deposer-step .checkbox-option input[type="checkbox"] {
    display: none;
}

.deposer-step .checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: #ff385c;
    border-color: #ff385c;
}

.deposer-step .checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1;
}

.deposer-modal.active .deposer-modal-content {
    transform: translateY(0);
}

/* ===== PAGE MES ANNONCES ===== */
.mes-annonces-main {
    padding-top: 84px;
    padding-bottom: 100px;
    background: #f7f7f7;
    min-height: 100vh;
}

/* En-tête de la page */
.mes-annonces-main .page-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1rem;
}

.mes-annonces-main .page-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #222222;
    margin: 0 0 0.5rem 0;
}

.mes-annonces-main .page-header p {
    color: #717171;
    font-size: 0.9rem;
    margin: 0;
}

/* Statistiques - Design compact */
.mes-annonces-main .annonces-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.mes-annonces-main .stat-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.mes-annonces-main .stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mes-annonces-main .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.mes-annonces-main .stat-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
    margin: 0 0 0.125rem 0;
    line-height: 1;
}

.mes-annonces-main .stat-content p {
    color: #717171;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

/* Filtres */
.mes-annonces-main .annonces-filters {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.mes-annonces-main .filter-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mes-annonces-main .filter-tabs::-webkit-scrollbar {
    display: none;
}

.mes-annonces-main .filter-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid #dddddd;
    border-radius: 16px;
    background: white;
    color: #717171;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mes-annonces-main .filter-tab:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.mes-annonces-main .filter-tab.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.mes-annonces-main .filter-tab i {
    font-size: 0.75rem;
}

/* Liste des annonces - Design compact */
.mes-annonces-main .annonces-list {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mes-annonces-main .annonce-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mes-annonces-main .annonce-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mes-annonces-main .annonce-item.active {
    border-left-color: #10b981;
}

.mes-annonces-main .annonce-item.boosted {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
}

.mes-annonces-main .annonce-item.inactive {
    border-left-color: #717171;
    opacity: 0.7;
}

/* En-tête de l'annonce */
.mes-annonces-main .annonce-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.mes-annonces-main .annonce-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

.mes-annonces-main .annonce-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.mes-annonces-main .annonce-type {
    background: #f7f7f7;
    color: #717171;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
}

.mes-annonces-main .annonce-date,
.mes-annonces-main .annonce-views {
    color: #717171;
    font-size: 0.7rem;
}

/* Badge de statut */
.mes-annonces-main .status-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.mes-annonces-main .status-badge.active {
    background: #10b981;
}

.mes-annonces-main .status-badge.boosted {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.mes-annonces-main .status-badge.inactive {
    background: #717171;
}

.mes-annonces-main .status-badge i {
    margin-right: 0.25rem;
    font-size: 0.65rem;
}

/* Contenu de l'annonce */
.mes-annonces-main .annonce-content {
    margin-bottom: 1rem;
}

.mes-annonces-main .annonce-content p {
    color: #717171;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
}

.mes-annonces-main .annonce-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.mes-annonces-main .tag {
    background: #f7f7f7;
    color: #717171;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 500;
}

/* Actions */
.mes-annonces-main .annonce-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mes-annonces-main .btn-action {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mes-annonces-main .btn-edit {
    background: #f7f7f7;
    color: #717171;
}

.mes-annonces-main .btn-edit:hover {
    background: #e5e5e5;
    color: #222222;
}

.mes-annonces-main .btn-boost {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.mes-annonces-main .btn-boost:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mes-annonces-main .btn-deactivate,
.mes-annonces-main .btn-activate {
    background: #ff385c;
    color: white;
}

.mes-annonces-main .btn-deactivate:hover,
.mes-annonces-main .btn-activate:hover {
    background: #e31c5f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .mes-annonces-main .annonces-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .mes-annonces-main .stat-card {
        padding: 0.75rem;
    }
    
    .mes-annonces-main .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .mes-annonces-main .stat-content h3 {
        font-size: 1.1rem;
    }
    
    .mes-annonces-main .stat-content p {
        font-size: 0.7rem;
    }
    
    .mes-annonces-main .filter-tabs {
        gap: 0.375rem;
    }
    
    .mes-annonces-main .filter-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .mes-annonces-main .annonce-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .mes-annonces-main .annonce-meta {
        gap: 0.5rem;
    }
    
    .mes-annonces-main .annonce-actions {
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .mes-annonces-main .btn-action {
        width: 100%;
        justify-content: center;
        padding: 0.625rem;
    }
}

@media (max-width: 480px) {
    .mes-annonces-main .page-header {
        padding: 1rem;
    }
    
    .mes-annonces-main .page-header h1 {
        font-size: 1.5rem;
    }
    
    .mes-annonces-main .annonces-stats {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }
    
    .mes-annonces-main .stat-card {
        padding: 0.625rem;
    }
    
    .mes-annonces-main .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .mes-annonces-main .stat-content h3 {
        font-size: 1rem;
    }
    
    .mes-annonces-main .annonce-item {
        padding: 0.875rem;
    }
    
    .mes-annonces-main .annonce-info h3 {
        font-size: 0.9rem;
    }
    
    .mes-annonces-main .annonce-content p {
        font-size: 0.75rem;
    }
}

/* ===== MODAL DE BOOST ===== */
.boost-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.boost-modal.active {
    display: flex;
}

.boost-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.boost-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: boostModalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.9);
    opacity: 0;
}

.boost-modal.active .boost-modal-content {
    transform: scale(1);
    opacity: 1;
}

@keyframes boostModalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header du modal */
.boost-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.boost-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.boost-header-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.boost-header-text h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
}

.boost-header-text p {
    margin: 0;
    color: #717171;
    font-size: 0.875rem;
}

.boost-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #717171;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boost-modal-close:hover {
    background: #f7f7f7;
    color: #222222;
}

/* Body du modal */
.boost-modal-body {
    padding: 1.5rem 2rem;
}

/* Section prix */
.boost-pricing {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8faff 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.boost-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.boost-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #667eea;
}

.boost-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.boost-period {
    font-size: 1rem;
    color: #717171;
    font-weight: 500;
}

.boost-description {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Liste des fonctionnalités */
.boost-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.boost-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.boost-feature:hover {
    border-color: #e2e8f0;
    background: #f8faff;
    transform: translateY(-1px);
}

.boost-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.boost-feature-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #222222;
}

.boost-feature-text p {
    margin: 0;
    color: #717171;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Note d'information */
.boost-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 12px;
    color: #92400e;
}

.boost-note i {
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.boost-note p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Footer du modal */
.boost-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #f0f0f0;
}

.btn-cancel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569;
}

.btn-boost-confirm {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-boost-confirm:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-boost-confirm:active {
    transform: translateY(0);
}

/* Responsive du modal */
@media (max-width: 768px) {
    .boost-modal {
        padding: 0.5rem;
    }
    
    .boost-modal-content {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .boost-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .boost-header-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .boost-header-text h3 {
        font-size: 1.1rem;
    }
    
    .boost-modal-body {
        padding: 1rem 1.5rem;
    }
    
    .boost-pricing {
        padding: 1.25rem;
    }
    
    .boost-amount {
        font-size: 2.5rem;
    }
    
    .boost-feature {
        padding: 0.875rem;
    }
    
    .boost-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .boost-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-boost-confirm {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .boost-modal-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .boost-modal-body {
        padding: 0.75rem 1.25rem;
    }
    
    .boost-pricing {
        padding: 1rem;
    }
    
    .boost-amount {
        font-size: 2.25rem;
    }
    
    .boost-feature {
        padding: 0.75rem;
    }
    
    .boost-modal-footer {
        padding: 0.75rem 1.25rem 1.25rem;
    }
}

/* Modal de boost amélioré avec classes spéciales */
.boost-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.boost-modal.active {
    opacity: 1;
    visibility: visible;
}

.boost-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(20,20,50,0.9) 50%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(10px);
}

.boost-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 100px rgba(102,126,234,0.3);
    overflow: hidden;
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.boost-modal.active .boost-modal-content {
    transform: scale(1) translateY(0);
}

/* Particules animées */
.boost-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.boost-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #fff, #f0f, #0ff);
    border-radius: 50%;
    animation: particleFloat 6s infinite linear;
}

.boost-particles .particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.boost-particles .particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.boost-particles .particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.boost-particles .particle:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.boost-particles .particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.boost-particles .particle:nth-child(6) {
    top: 60%;
    right: 5%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.boost-particles .particle:nth-child(7) {
    top: 15%;
    left: 50%;
    animation-delay: 6s;
    animation-duration: 7s;
}

.boost-particles .particle:nth-child(8) {
    bottom: 15%;
    left: 50%;
    animation-delay: 7s;
    animation-duration: 9s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.boost-modal-header {
    position: relative;
    z-index: 2;
    padding: 20px 25px 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boost-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.boost-header-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rocket-icon {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
    animation: rocketHover 2s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.boost-header-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 0 0 3px 0;
    background: linear-gradient(45deg, #fff, #f0f, #0ff, #fff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 3s ease infinite;
}

.boost-header-text p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 500;
}

.boost-modal-close {
    position: relative;
    z-index: 3;
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.boost-modal-body {
    position: relative;
    z-index: 2;
    padding: 20px 25px;
    background: rgba(255,255,255,0.05);
}

.boost-pricing {
    text-align: center;
    margin-bottom: 20px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.boost-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.boost-currency {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

.boost-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    background: linear-gradient(45deg, #fff, #f0f, #0ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: priceGlow 2s ease-in-out infinite;
}

.boost-period {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.boost-description {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.boost-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #fff;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    animation: badgePulse 2s ease-in-out infinite;
}

.boost-features-list {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.boost-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.boost-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 10px;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.boost-feature-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px 0;
}

.boost-feature-text p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.boost-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-left: 3px solid #4ecdc4;
}

.boost-note i {
    color: #4ecdc4;
    font-size: 1rem;
}

.boost-note p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 500;
    font-size: 0.75rem;
}

.boost-modal-footer {
    position: relative;
    z-index: 2;
    padding: 18px 25px;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel {
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    color: rgba(255,255,255,0.8);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-boost-confirm {
    position: relative;
    padding: 10px 20px;
    border: none;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 300%;
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: buttonGradient 3s ease infinite;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .boost-modal-content {
        width: 95%;
        margin: 15px;
        max-height: 80vh;
    }
    
    .boost-modal-header {
        padding: 15px 20px 10px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .boost-header-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .boost-header-icon {
        width: 50px;
        height: 50px;
    }
    
    .rocket-icon {
        font-size: 2rem;
    }
    
    .boost-header-text h3 {
        font-size: 1rem;
    }
    
    .boost-modal-body {
        padding: 15px 20px;
    }
    
    .boost-pricing {
        padding: 15px;
    }
    
    .boost-amount {
        font-size: 2rem;
    }
    
    .boost-feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .boost-feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .boost-modal-footer {
        padding: 15px;
    }
}

.rocket-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rocket-trail {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 25px;
    background: linear-gradient(to top, transparent, #ff6b6b, #4ecdc4, transparent);
    border-radius: 2px;
    animation: rocketTrail 1.5s ease-in-out infinite;
}

@keyframes rocketHover {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes rocketTrail {
    0% {
        height: 15px;
        opacity: 0.5;
    }
    50% {
        height: 30px;
        opacity: 1;
    }
    100% {
        height: 15px;
        opacity: 0.5;
    }
}

@keyframes textGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.boost-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.boost-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: pricingShine 3s infinite;
}

@keyframes pricingShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes priceGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.boost-feature:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(3px);
}

.btn-cancel:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.btn-boost-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

.btn-boost-confirm:active {
    transform: translateY(0);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-boost-confirm:hover .btn-shine {
    left: 100%;
}

@keyframes buttonGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .boost-pricing {
        padding: 15px;
    }
    
    .boost-amount {
        font-size: 2rem;
    }
    
    .boost-feature {
        padding: 10px;
    }
    
    .boost-feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .boost-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-boost-confirm {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .boost-modal-header {
        padding: 12px 15px 8px;
    }
    
    .boost-modal-body {
        padding: 12px 15px;
    }
    
    .boost-pricing {
        padding: 12px;
    }
    
    .boost-amount {
        font-size: 1.8rem;
    }
    
    .boost-feature {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .boost-feature-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .boost-modal-footer {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .boost-modal-content {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }
    
    .boost-modal-header {
        padding: 12px 15px 8px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .boost-header-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .boost-header-icon {
        width: 40px;
        height: 40px;
    }
    
    .rocket-icon {
        font-size: 1.5rem;
    }
    
    .boost-header-text h3 {
        font-size: 0.9rem;
    }
    
    .boost-header-text p {
        font-size: 0.7rem;
    }
    
    .boost-modal-body {
        padding: 12px 15px;
    }
    
    .boost-pricing {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .boost-amount {
        font-size: 1.8rem;
    }
    
    .boost-currency {
        font-size: 0.8rem;
    }
    
    .boost-period {
        font-size: 0.7rem;
    }
    
    .boost-description {
        font-size: 0.75rem;
        margin: 0 0 8px 0;
    }
    
    .boost-badge {
        padding: 4px 8px;
        font-size: 0.6rem;
    }
    
    .boost-features-list {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .boost-feature {
        padding: 8px;
        gap: 8px;
    }
    
    .boost-feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .boost-feature-text h4 {
        font-size: 0.75rem;
        margin: 0 0 1px 0;
    }
    
    .boost-feature-text p {
        font-size: 0.65rem;
    }
    
    .boost-note {
        padding: 8px;
        gap: 6px;
    }
    
    .boost-note i {
        font-size: 0.8rem;
    }
    
    .boost-note p {
        font-size: 0.65rem;
    }
    
    .boost-modal-footer {
        padding: 12px 15px;
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-cancel,
    .btn-boost-confirm {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .boost-modal-content {
        width: 98%;
        margin: 5px;
        max-height: 95vh;
    }
    
    .boost-modal-header {
        padding: 10px 12px 6px;
    }
    
    .boost-header-icon {
        width: 35px;
        height: 35px;
    }
    
    .rocket-icon {
        font-size: 1.3rem;
    }
    
    .boost-header-text h3 {
        font-size: 0.8rem;
    }
    
    .boost-header-text p {
        font-size: 0.65rem;
    }
    
    .boost-modal-body {
        padding: 10px 12px;
    }
    
    .boost-pricing {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .boost-amount {
        font-size: 1.6rem;
    }
    
    .boost-features-list {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .boost-feature {
        padding: 6px;
        gap: 6px;
        flex-direction: column;
        text-align: center;
    }
    
    .boost-feature-icon {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .boost-feature-text h4 {
        font-size: 0.7rem;
    }
    
    .boost-feature-text p {
        font-size: 0.6rem;
    }
    
    .boost-note {
        padding: 6px;
    }
    
    .boost-note p {
        font-size: 0.6rem;
    }
    
    .boost-modal-footer {
        padding: 10px 12px;
    }
    
    .btn-cancel,
    .btn-boost-confirm {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
}

/* ===== ANNONCE ULTRA BOOST - PREMIÈRE ANNONCE ===== */
.annonces-grid .annonce-ultra-boost {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 60px rgba(102, 126, 234, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: ultraBoostGlow 4s ease-in-out infinite;
    transform: scale(1.02);
    order: -2;
}

.annonces-grid .annonce-ultra-boost::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff6b6b);
    background-size: 300% 100%;
    animation: ultraBoostShimmer 3s ease-in-out infinite;
    border-radius: 12px 12px 0 0;
    z-index: 1;
}

.annonces-grid .annonce-ultra-boost::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.05), transparent);
    animation: ultraBoostRotate 8s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.annonces-grid .annonce-ultra-boost:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 100px rgba(102, 126, 234, 0.3);
}

.annonces-grid .ultra-boost-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #96ceb4 75%, #feca57 100%);
    background-size: 400% 400%;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 60px rgba(255,107,107,0.5);
    animation: ultraBoostBadgeGlow 3s ease-in-out infinite, ultraBoostBadgePulse 2s ease-in-out infinite;
    border: 4px solid white;
    z-index: 100;
    overflow: hidden;
}

.annonces-grid .ultra-boost-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    border-radius: 50%;
    animation: ultraBoostBadgeShine 2s ease-in-out infinite;
}

.annonces-grid .ultra-boost-badge i {
    font-size: 1.5rem;
    animation: ultraBoostRocketLaunch 2s ease-in-out infinite;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Particules autour du badge */
.annonces-grid .ultra-boost-badge::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255,107,107,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: ultraBoostParticles 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes ultraBoostRocketLaunch {
    0%, 100% {
        transform: translateY(0) rotate(-15deg) scale(1);
    }
    25% {
        transform: translateY(-3px) rotate(-8deg) scale(1.05);
    }
    50% {
        transform: translateY(-6px) rotate(0deg) scale(1.1);
    }
    75% {
        transform: translateY(-3px) rotate(8deg) scale(1.05);
    }
}

@keyframes ultraBoostBadgeGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes ultraBoostBadgePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.15);
    }
}

@keyframes ultraBoostBadgeShine {
    0% {
        opacity: 0;
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes ultraBoostParticles {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.annonces-grid .annonce-ultra-boost:hover .ultra-boost-badge {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 80px rgba(255,107,107,0.6);
}

.annonces-grid .annonce-ultra-boost .annonce-content {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
}

.annonces-grid .annonce-ultra-boost .annonce-title {
    color: #1e293b;
    font-weight: 800;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.annonces-grid .annonce-ultra-boost .annonce-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 2px;
    animation: ultraBoostTitleUnderline 4s ease-in-out infinite;
}

@keyframes ultraBoostTitleUnderline {
    0%, 100% {
        width: 50px;
        opacity: 1;
    }
    50% {
        width: 80px;
        opacity: 0.9;
    }
}

.annonces-grid .annonce-ultra-boost .annonce-badge {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
    animation: ultraBoostBadgeGlow 3s ease-in-out infinite;
}

.annonces-grid .annonce-ultra-boost .btn-repondre {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 300%;
    border: none;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
    animation: ultraBoostButtonGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.annonces-grid .annonce-ultra-boost .btn-repondre::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.annonces-grid .annonce-ultra-boost .btn-repondre:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255,107,107,0.5);
}

.annonces-grid .annonce-ultra-boost .btn-repondre:hover::before {
    left: 100%;
}

@keyframes ultraBoostButtonGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.annonces-grid .annonce-ultra-boost .tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    transition: all 0.3s ease;
}

.annonces-grid .annonce-ultra-boost .tag:hover {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border-color: #ff6b6b;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255,107,107,0.3);
}

@keyframes ultraBoostGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 60px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 80px rgba(102, 126, 234, 0.3);
    }
}

@keyframes ultraBoostShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes ultraBoostRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive pour les annonces ultra boost */
@media (max-width: 768px) {
    .annonces-grid .annonce-ultra-boost {
        border-radius: 12px;
        transform: scale(1.01);
    }
    
    .annonces-grid .annonce-ultra-boost:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .annonces-grid .ultra-boost-badge {
        top: -25px;
        width: 50px;
        height: 50px;
    }
    
    .annonces-grid .ultra-boost-badge i {
        font-size: 1.3rem;
    }
    
    .annonces-grid .annonce-ultra-boost .annonce-title::after {
        height: 2px;
        bottom: -4px;
    }
    
    .annonces-grid .annonce-ultra-boost .btn-repondre {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .annonces-grid .annonce-ultra-boost {
        border-radius: 10px;
        transform: none;
    }
    
    .annonces-grid .annonce-ultra-boost:hover {
        transform: translateY(-3px);
    }
    
    .annonces-grid .ultra-boost-badge {
        top: -22px;
        width: 45px;
        height: 45px;
    }
    
    .annonces-grid .ultra-boost-badge i {
        font-size: 1.2rem;
    }
    
    .annonces-grid .annonce-ultra-boost .annonce-title::after {
        height: 2px;
        bottom: -3px;
    }
    
    .annonces-grid .annonce-ultra-boost .btn-repondre {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 1200px) {
    .annonces-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        max-width: 1100px;
        padding: 0 2.5rem;
    }
    
    .annonces-filters-header,
    .annonces-filters-container {
        max-width: 1100px;
        padding: 0 2.5rem;
    }
    
    .annonces-search-container {
        max-width: 600px;
        padding: 0 2.5rem;
    }
}

@media (max-width: 768px) {
    .annonces-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .annonces-grid.list-view {
        padding: 0 0.5rem;
    }
    
    .annonces-search-section,
    .annonces-filters-section {
        padding: 1rem 0;
    }
    
    .annonces-filters-header,
    .annonces-filters-container {
        max-width: none;
        padding: 0 0.5rem;
    }
    
    .annonces-search-container {
        max-width: 600px;
        padding: 0 0.5rem;
    }
    
    .annonces-filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 11px;
        height: 32px;
    }
    
    .annonces-filters-container .modal-filters-btn {
        padding: 0.4rem 0.8rem;
        font-size: 11px;
        height: 32px;
    }
}

/* Très petit écran */
@media (max-width: 480px) {
    .annonces-filter-btn {
        padding: 0.3rem 0.6rem;
        font-size: 10px;
        height: 28px;
    }
    
    .annonces-filters-container .modal-filters-btn {
        padding: 0.3rem 0.6rem;
        font-size: 10px;
        height: 28px;
    }
}

@media (min-width: 1201px) {
    .annonces-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 2rem;
        padding: 0 3rem;
    }
    
    .annonces-filters-header,
    .annonces-filters-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    .annonces-search-container {
        max-width: 600px;
        padding: 0 3rem;
    }
}

/* Footer Desktop */
.footer-desktop {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
    padding: 1.25rem 0;
    margin-top: auto;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
}

.footer-link:hover {
    color: #3b82f6;
    transform: translateY(-1px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-separator {
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 300;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.footer-x-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid transparent;
}

.footer-x-link:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.footer-x-link i {
    font-size: 1rem;
    color: #3b82f6;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.footer-right p {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.025em;
}

/* Afficher le footer uniquement sur desktop */
@media (min-width: 769px) {
    .footer-desktop {
        display: block;
    }
}

/* Responsive pour le footer */
@media (max-width: 1200px) {
    .footer-content {
        max-width: 1000px;
        padding: 0 2.5rem;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-desktop {
        display: none;
    }
}

/* Styles pour le bloc de recherche dans les annonces */
.annonce-search-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 4px 8px;
    margin: 4px 0;
    font-size: 0.65rem;
    font-weight: 500;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.annonce-search-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.annonce-search-info:hover::before {
    left: 100%;
}

.annonce-search-info i {
    color: #3b82f6;
    font-size: 0.65rem;
    margin-right: 2px;
}

.annonce-search-info span {
    color: #374151;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Style spécial pour les annonces boostées */
.annonce-boost .annonce-search-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #3b82f6;
    color: #1e40af;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.annonce-boost .annonce-search-info span {
    color: #1e40af;
    font-weight: 700;
}

.annonce-boost .annonce-search-info i {
    color: #2563eb;
}

/* Responsive */
@media (max-width: 768px) {
    .annonce-search-info {
        padding: 3px 6px;
        font-size: 0.6rem;
        border-radius: 10px;
    }
    
    .annonce-search-info i {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .annonce-search-info {
        padding: 2px 4px;
        font-size: 0.55rem;
        border-radius: 8px;
    }
    
    .annonce-search-info i {
        font-size: 0.55rem;
    }
}

