/**
 * Styles pour le formulaire de soumission d'article
 */
.asp-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.asp-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

.asp-form-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.asp-form-row {
    margin-bottom: 20px;
}

.asp-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.asp-form-row .required {
    color: #e74c3c;
}

.asp-form input[type="text"],
.asp-form input[type="email"],
.asp-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

.asp-form input[type="text"]:focus,
.asp-form input[type="email"]:focus,
.asp-form textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.asp-form input[type="file"] {
    border: 1px dashed #ddd;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.asp-form .file-info {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.asp-submit-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
}

.asp-submit-button:hover {
    background-color: #2980b9;
}

.asp-message-container {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.asp-message-container.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.asp-message-container.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.asp-loader {
    text-align: center;
    padding: 20px;
}

.asp-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: asp-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes asp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style responsive */
@media (max-width: 768px) {
    .asp-form-wrapper {
        padding: 20px;
    }
    
    .asp-submit-button {
        width: 100%;
    }
}
