/**
 * Styles pour la page de re-upload des documents
 */

.adf-reupload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.adf-reupload-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

.adf-reupload-container > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.adf-reupload-form {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.adf-reupload-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.adf-reupload-table th,
.adf-reupload-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.adf-reupload-table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.adf-reupload-table td strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.adf-reupload-table .rejection-reason {
    color: #c0392b;
    background: #fdf2f2;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.adf-reupload-table input[type="file"] {
    display: block;
    margin-bottom: 8px;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.adf-reupload-table input[type="file"]:hover,
.adf-reupload-table input[type="file"]:focus {
    border-color: #3498db;
}

.adf-reupload-table small {
    display: block;
    color: #999;
    font-size: 12px;
}

.form-actions {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-actions .button {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
}

/* Message de succes */
.woocommerce-message {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Message d'erreur */
.woocommerce-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .adf-reupload-container {
        padding: 10px;
    }

    .adf-reupload-form {
        padding: 15px;
    }

    .adf-reupload-table th,
    .adf-reupload-table td {
        padding: 10px;
        display: block;
        width: 100%;
    }

    .adf-reupload-table thead {
        display: none;
    }

    .adf-reupload-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }

    .adf-reupload-table td:first-child {
        background: #f8f9fa;
        font-weight: 600;
    }

    .adf-reupload-table td:last-child {
        border-bottom: none;
    }
}
