@import "tailwindcss";

/* Variables CSS personnalisées - Thème Xtra */
:root {
    --primary: rgb(15, 23, 42);
    /* Slate 900 */
    --primary-hover: rgb(30, 41, 59);
    /* Slate 800 */
    --secondary: rgb(255, 255, 255);
    --accent: rgb(79, 70, 229);
    /* Indigo 600 */
    --text-main: rgb(15, 23, 42);
    --text-muted: rgb(100, 116, 139);
    --bg-page: rgb(255, 255, 255);
    --bg-surface: rgb(248, 250, 252);
    /* Slate 50 */
}

/* Styles globaux */
body {
    background-color: var(--bg-page);
    color: var(--text-main);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilitaires personnalisés */
.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Navigation */
.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

/* Boutons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    background-color: var(--primary);
    color: white;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    background-color: white;
    border: 1px solid rgb(226, 232, 240);
    color: var(--text-main);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgb(248, 250, 252);
    border-color: rgb(203, 213, 225);
}

/* Cartes et Surfaces */
.card {
    background-color: white;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgb(203, 213, 225);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: rgb(241, 245, 249);
    color: var(--text-main);
}