/* Variables pour les couleurs */
:root {
    --primary-color: #12715B;
    --primary-hover: #0e5a49;
    --success-color: #28a745;
    --success-hover: #218838;
    --danger-color: #dc3545;
    --danger-hover: #c82333;
    --background-color: #f4f4f9;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #666666;
    --text-color: #333333;
}

/* Reset et styles de base */
body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f4f4f9;
    margin: 0;
    padding: 0;
    color: #222;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Empêche tout scroll horizontal et élimine les marges/paddings inutiles */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Container principal */
.container {
    width: 100%;
    margin: 0;
    background-color: var(--white);
    overflow: hidden;
}

/* En-tête */
.header {
    background-color: var(--primary-color);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.header h1 {
    color: var(--white);
    margin: 0;
    font-size: 2em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header img {
    max-width: 150px;
    margin-bottom: 15px;
}

/* Contenu principal */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    color: var(--text-color);
}

/* Sections communes */
.info-section,
.proposal-container,
.security-notice {
    width: calc(100% - 40px);
    margin: 0 auto 30px auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Section d'information */
.info-section {
    background-color: var(--gray-100);
    padding: 20px;
    border-left: 5px solid var(--primary-color);
}

.info-section h2 {
    color: var(--primary-color);
    margin-top: 0;
}

.info-section ul {
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 8px;
}

.section-info {
    margin-bottom: 20px;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.5;
}

/* Boutons et contrôles */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
    transform: translateY(0);
}

/* Style personnalisé pour l'input file */
input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 2px dashed var(--gray-300);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

input[type="file"]:hover {
    border-color: var(--primary-color);
}

/* Messages */
.message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.message:not(:empty) {
    opacity: 1;
}

.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

/* Historique des fichiers */
.file-history {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--gray-100);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 0.2s ease;
}

.file-item:hover {
    background-color: var(--gray-100);
}

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

/* Bouton de suppression */
.delete-btn {
    background-color: var(--danger-color);
    color: var(--white);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background-color: var(--danger-hover);
    transform: translateY(-1px);
}

.delete-btn:disabled {
    background-color: var(--gray-600);
    cursor: not-allowed;
    transform: none;
}

/* Section de finalisation */
.finalization-section {
    text-align: center;
    margin: 40px 0 20px;
    padding: 30px;
    border-top: 1px solid var(--gray-200);
}

.finalize-button {
    background-color: var(--success-color);
    font-size: 16px;
    padding: 15px 40px;
    font-weight: 600;
}

.finalize-button:hover {
    background-color: var(--success-hover);
}

/* Pied de page */
.footer {
    text-align: center;
    font-size: 13px;
    color: var(--gray-600);
    padding: 20px;
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

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

.upload-section {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive */
@media (max-width: 1200px) {
    .content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
    
    .info-section,
    .proposal-container,
    .security-notice {
        width: 100%;
        margin: 0 0 30px 0;
    }
    
    .pdf-section, .action-banner {
        flex: 0 0 100%;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .content {
        padding: 15px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Ajouter dans la section "Section de finalisation" */
.confirmation-checkbox {
    margin-bottom: 20px;
    text-align: left;
    padding: 15px;
    background-color: var(--gray-100);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
}

.confirmation-checkbox label {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.confirmation-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.finalize-button:disabled {
    background-color: var(--gray-600);
    cursor: not-allowed;
    transform: none;
}

/* Section Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background-color: var(--gray-100);
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
}

.highlight-label {
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.highlight-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive pour les highlights */
@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Ajout pour le header de section avec bouton contact */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: var(--primary-hover);
}

/* Notice de sécurité */
.security-notice {
    margin: 30px 20px;
    padding: 20px;
    background-color: var(--gray-100);
    border-radius: 8px;
    color: var(--text-color);
}

.notice-content {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-600);
}

.notice-content img {
    flex-shrink: 0;
}

/* Ajustement responsive */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .contact-button {
        align-self: flex-end;
    }
}

/* Section de proposition */
.proposal-container {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    box-sizing: border-box;
}

.pdf-section {
    flex: 1;
    background-color: var(--gray-100);
    padding: 20px;
    border-radius: 8px;
    min-height: 400px;
}

/* Style du bandeau d'action flottant */
.action-banner {
    position: fixed;
    z-index: 9999;
    bottom: 30px;
    left: 0;
    right: 0;
    width: auto;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    background: transparent;
    padding: 0;
    text-align: center;
}

.action-banner button {
    margin: 0 6px;
    display: inline-flex;
}

.accept-btn {
    background: #219653;
    color: #fff;
    border-radius: 16px;
    padding: 16px 38px;
    font-size: 1.2em;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.reject-btn {
    background: #d32f2f;
    color: #fff;
    border-radius: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.5em;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
    .action-banner {
        bottom: 20px;
    }
    
    .action-banner button {
        margin: 0 3px;
    }
    
    .accept-btn {
        padding: 12px 24px;
        font-size: 1em;
    }
    
    .reject-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2em;
    }
}

@media (max-width: 360px) {
    .action-banner {
        bottom: 12px;
    }
    
    .accept-btn {
        padding: 10px 18px;
        font-size: 0.95em;
    }
    
    .reject-btn {
        width: 38px;
        height: 38px;
        font-size: 1em;
    }
}

.mobile-card {
    max-width: 430px;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.main-image-header {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #eee;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.price-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #222;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    padding: 8px 18px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.new-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(90deg, #12715B 60%, #1ecb8b 100%);
    color: #fff;
    font-size: 0.95em;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(18,113,91,0.10);
    z-index: 2;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
    display: inline-block;
}

.favorite-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}
.favorite-btn:active .favorite-icon {
    animation: heart-pop 0.3s cubic-bezier(.4,2,.6,1);
}
.favorite-btn.favorited .favorite-icon {
    stroke: #e74c3c;
    fill: #e74c3c;
    transition: fill 0.2s, stroke 0.2s;
}
@keyframes heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.property-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #222;
    letter-spacing: 0.2px;
}

.property-location {
    font-size: 18px;
    margin-bottom: 20px;
}

.property-features {
    margin-bottom: 22px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #12715B;
    font-size: 0.98em;
    background: #f4f4f9;
    border-radius: 12px;
    padding: 7px 12px;
    font-weight: 500;
}

.property-description {
    margin-bottom: 22px;
}
.property-description h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #222;
}
.property-description p {
    margin: 0;
    color: #444;
    font-size: 1em;
    line-height: 1.5;
}

.property-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-bottom: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}
.property-gallery img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    flex-shrink: 0;
    background: #eee;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1);
    scroll-snap-align: start;
}
.property-gallery img:hover {
    transform: scale(1.045);
    z-index: 2;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
}
.dot.active {
    background: #12715B;
    transform: scale(1.25);
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    margin-top: 8px;
}
.main-action, .secondary-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.main-action:active, .secondary-action:active {
    transform: scale(0.98);
}

.status-message {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    padding: 14px 24px;
    text-align: center;
    font-weight: 600;
    display: none;
    max-width: 90vw;
}
.status-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.status-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.footer {
    text-align: center;
    font-size: 13px;
    color: #888;
    padding: 18px 0 10px 0;
    background: none;
    border: none;
}

@media (max-width: 600px) {
    .mobile-card {
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
    }
    .main-image-header {
        height: 160px;
    }
    .property-gallery img {
        width: 90px;
        height: 70px;
    }
    .property-content {
        padding: 14px 4vw 0 4vw;
    }
    .property-title {
        font-size: 24px;
    }
}

@media (min-width: 900px) {
    .mobile-card {
        max-width: 600px;
    }
    .main-image-header {
        height: 320px;
    }
    .property-gallery img {
        width: 160px;
        height: 120px;
    }
    .property-title {
        font-size: 24px;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    margin-top: 18px;
}
.feature-card {
    background: #f6f6f8;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 4px 8px 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-size: 1em;
    color: #222;
    min-width: 0;
    min-height: 64px;
}
.feature-card svg {
    margin-bottom: 2px;
    display: block;
}
.feature-card span {
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    color: #222;
    line-height: 1.1;
}
.feature-label {
    font-weight: 400;
    font-size: 0.92em;
    color: #888;
    display: block;
    margin-top: 2px;
}

.floating-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 0 0 24px 0;
    background: linear-gradient(0deg, #fff 90%, rgba(255,255,255,0.7) 100%);
    box-shadow: 0 -2px 24px rgba(0,0,0,0.07);
}
.contact-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f6f6f8;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(18,113,91,0.08);
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 2px;
}
.contact-btn:hover {
    background: #e9ecef;
}
.main-action {
    flex: 1 1 0;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 18px 0;
    font-size: 1.15em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.1s;
    min-width: 180px;
    max-width: 340px;
    margin-left: 2px;
}
.main-action:active {
    background: #12715B;
    transform: scale(0.98);
}

@media (max-width: 900px) {
    .main-image-header, .main-image {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    .features-grid {
        gap: 7px;
    }
    .main-action {
        font-size: 1em;
        padding: 15px 0;
    }
    .contact-btn {
        width: 44px;
        height: 44px;
    }
}
@media (max-width: 600px) {
    .main-image-header, .main-image {
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    .features-grid {
        gap: 4px;
    }
    .feature-card {
        padding: 8px 2px 6px 2px;
        font-size: 0.95em;
    }
    .floating-actions {
        padding-bottom: 12px;
    }
    .main-action {
        min-width: 120px;
        max-width: 100vw;
        font-size: 0.98em;
        padding: 13px 0;
    }
    .contact-btn {
        width: 38px;
        height: 38px;
    }
}

/* Hauteur et padding du contenu principal ajustés */
.property-content {
    padding: 20px 20px 120px 20px; /* padding-bottom augmenté pour éviter que le contenu soit masqué par le bandeau */
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .property-content {
        padding: 20px 16px 100px 16px;
    }
}

.images-grid {
    display: flex;
    flex-direction: row;
    margin: 20px 20px 24px 20px;
    align-items: stretch;
}

.main-photo {
    flex: 2;
    border-radius: 14px;
    overflow: hidden;
    background: #bdbdbd;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    margin-right: 12px;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.side-photos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.side-photos img {
    border-radius: 14px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #bdbdbd;
    display: block;
}

@media (max-width: 500px) {
    .images-grid {
        flex-direction: column;
        margin: 15px 15px 20px 15px;
    }
    
    .main-photo {
        margin-right: 0;
        margin-bottom: 12px;
        aspect-ratio: 4/3;
    }
    
    .side-photos {
        flex-direction: row;
    }
    
    .side-photos img {
        width: calc(50% - 6px);
        aspect-ratio: 4/3;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0 28px 0;
}
.feature-card {
    background: #f6f6f8;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 4px 8px 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-size: 1em;
    color: #222;
    min-width: 0;
    min-height: 64px;
}
.feature-icon {
    font-size: 1.5em;
    margin-bottom: 2px;
}
.feature-value {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 2px;
}
.feature-label {
    font-weight: 400;
    font-size: 0.92em;
    color: #888;
    display: block;
}

.property-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 2px;
    color: #111;
    letter-spacing: 0.2px;
}
.property-location {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}
.property-description h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #222;
}
.property-description p {
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.5;
}

.action-banner {
    position: fixed;
    padding: 10px;
    z-index: 9999;
    bottom: 30px;
    left: 0;
    right: 0;
    width: auto;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    background: transparent;
    padding: 0;
    text-align: center;
}

.action-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.action-banner button {
    margin: 0 6px;
    display: inline-flex;
}

.accept-btn {
    background: #219653;
    color: #fff;
    border-radius: 16px;
    padding: 16px 38px;
    font-size: 1.2em;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.reject-btn {
    background: #d32f2f;
    color: #fff;
    border-radius: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.5em;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

/* Correctifs pour iPhone et autres mobiles */
@media (max-width: 430px) {
    .action-banner {
        padding: 10px;
        max-width: 380px;
        bottom: 20px;
        background: transparent;
        border-radius: 20px;
        padding: 6px 8px;
    }
    
    .accept-btn {
        padding: 12px 30px;
        font-size: 1em;
        border-radius: 16px; /* Cohérent avec l'aspect arrondi */
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        margin-right: 4px;
    }
    
    .reject-btn {
        width: 46px;
        height: 46px;
        font-size: 1.2em;
        border-radius: 16px; /* Cohérent avec l'aspect arrondi */
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        margin-left: 4px;
    }
}

/* Modale message */
.modal-message {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    justify-content: center;
    align-items: center;
}
.modal-message.active {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.22);
    padding: 32px 24px 24px 24px;
    max-width: 95vw;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}
.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2em;
    color: #888;
    cursor: pointer;
}
.modal-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.2em;
    font-weight: 700;
    color: #222;
}
.modal-content textarea {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    padding: 10px 12px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    background: #fafbfc;
    margin-bottom: 18px;
    min-height: 70px;
}
.modal-content .main-action {
    background: #219653;
    color: #fff;
    border-radius: 12px;
    padding: 12px 0;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s;
}
.modal-content .main-action:active {
    background: #12715B;
}

/* Largeur augmentée sur desktop */
@media (min-width: 768px) {
    .mobile-card {
        max-width: 580px; /* Augmenté pour desktop */
    }
}

@media (min-width: 1024px) {
    .mobile-card {
        max-width: 720px; /* Encore plus large sur grand écran */
    }
}

@media (min-width: 1200px) {
    .mobile-card {
        max-width: 820px; /* Maximisé pour très grand écran */
    }
}

.action-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

/* Action banner - correction pour mobile */
.action-banner {
    position: fixed;
    z-index: 9999;
    bottom: 30px;
    left: 0;
    right: 0;
    width: auto;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    background: transparent;
    padding: 0;
    text-align: center;
}

.action-banner button {
    margin: 0 6px;
    display: inline-flex;
}

.accept-btn {
    background: #219653;
    color: #fff;
    border-radius: 16px;
    padding: 16px 38px;
    font-size: 1.2em;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.reject-btn {
    background: #d32f2f;
    color: #fff;
    border-radius: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.5em;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}


/* Ajouter des états actifs pour les nouveaux boutons */
.accept-btn:active, .accept-btn.clicked {
    background: #12715B;
    transform: scale(0.98);
}

.reject-btn:active, .reject-btn.clicked {
    background: #b71c1c;
    transform: scale(0.98);
} 