/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@plugin "flowbite/plugin";
@source "../../../node_modules/flowbite";

@theme {
    --color-blue-400: #20A1E1; /* In case blue-400 is used for hovers as well */
    --color-blue-500: #20A1E1; /* hover bleu clair */
    --color-blue-600: #0088CC; /* default bleu */
    --color-blue-700: #006DA3; /* hover bleu sombre */
    --color-blue-800: #006DA3; /* version plus sombre */

    --color-red-400: #E62A31; /* hover rouge clair */
    --color-red-500: #E62A31; /* hover rouge clair */
    --color-red-600: #CB131A; /* default rouge */
    --color-red-700: #9C0E14; /* hover rouge sombre */
    --color-red-800: #9C0E14; /* version plus sombre */
}

/* Restauration des styles pour le texte généré par TinyMCE */
.contenu-editeur ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.contenu-editeur ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.contenu-editeur strong, .contenu-editeur b {
    font-weight: 700;
    color: #0f172a; /* text-slate-900 */
}

.contenu-editeur a {
    color: #2563eb; /* text-blue-600 */
    text-decoration: underline;
}

.contenu-editeur a:hover {
    color: #1d4ed8; /* text-blue-700 */
}

.pagy {
    @apply flex items-center justify-center space-x-1 font-semibold text-sm text-slate-500;
}
.pagy a:not(.gap) {
    @apply block rounded-lg px-3 py-1 bg-slate-100 hover:bg-slate-200 transition-colors;
}
.pagy a:not([href]) {
    @apply text-slate-300 bg-transparent cursor-default;
}
.pagy a.current {
    @apply text-white bg-blue-600 hover:bg-blue-700;
}