@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

.confirmation-message {
    display: flex;
    align-items: center;
    background-color: #e6f8e6;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
}

.upload-section .upload-icon {
    font-size: 48px;
    color: #007b9f;
    display: block;
    margin: 0 1rem auto;
}


.confirmation-message .material-icons {
    margin-right: 0.5rem;
    font-size: 1.6rem;
}

.section-title {
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #1f2937;
}

.modification-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.modification-container {
    display: flex;

}

.modification-block {
    flex: 1 1 calc(33.333% - 1rem);
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f7fafe;
    padding: 1rem;
    margin: 10px;
    display: flex;
    flex-direction: column;
    min-height: 150px;
    box-sizing: border-box;
}

.modification-block--large {
    flex: 1 1 calc(66.666% - 1rem);
    /* deux tiers de ligne */
}


.modification-header {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #0d47a1;
}

.modification-header .material-icons {
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

.modification-body {
    font-size: 0.95rem;
    color: #374151;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}

.modification-body a {
    color: #1976d2;
    text-decoration: underline;
}

.modification-body.empty {
    text-align: center;
    padding: 1rem;
    background-color: #fff;
}

.empty-text {
    color: #d32f2f;
    font-weight: bold;
}

.upload-section {
    margin: 3rem 0;
}

.upload-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.btn.btn-send {
    background-color: #0288d1;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.btn.btn-send:hover {
    background-color: #0277bd;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #f07e21;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

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


/* Responsive stack on small screens */
@media screen and (max-width: 960px) {
    .modification-container {
        flex-direction: column;
    }

    .modification-block {
        flex: 1 1 100%;
    }
}