/*
Theme Name: Finaxa
Description: Thème WordPress professionnel pour Finaxa - Expertise financière pour entreprises. Application React moderne avec Tailwind CSS.
Author: Finaxa
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finaxa
Tags: business, finance, professional, react, tailwind, full-site-editing, block-theme
*/

/* Styles de base pour le thème Finaxa */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

/* Container pour l'application React */
#root {
    min-height: 100vh;
    width: 100%;
}

/* Styles pour l'écran de chargement */
.finaxa-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

.finaxa-loading h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.finaxa-loading p {
    margin: 0;
    opacity: 0.9;
}

/* Spinner de chargement */
.finaxa-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Styles pour les messages de contact */
.finaxa-notice {
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
    font-weight: 500;
}

.finaxa-notice.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.finaxa-notice.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    .finaxa-loading {
        padding: 1rem;
    }
    
    .finaxa-loading h2 {
        font-size: 1.25rem;
    }
}

