/**
 * =================================================================
 * VARIABLES CSS - CALENDARI IOC
 * =================================================================
 * 
 * @file        variables.css
 * @description Variables CSS per temes clar i fosc de l'aplicació
 * @author      Ismael Trascastro <itrascastro@ioc.cat>
 * @version     1.0
 * @date        2025-01-16
 * @project     Calendari IOC
 * @repository  https://github.com/itrascastro/calendari-ioc
 * @license     MIT
 * 
 * Aquest fitxer forma part del projecte Calendari IOC,
 * una aplicació web per gestionar calendaris acadèmics.
 * 
 * =================================================================
 */

/* === VARIABLES PER MODE CLAR === */
:root {
    --bg-color: #f8f9fa;
    --card-bg-color: #ffffff;
    --border-color: #e9ecef;
    --main-text-color: #343a40;
    --secondary-text-color: #6c757d;
    --accent-color: #4f5d95;
    --accent-hover: #414d7c;
    --danger-color: #e53e3e;
    --danger-hover: #c53030;
    --secondary-btn-bg: #6c757d;
    --secondary-btn-hover: #5a6268;
    --link-color: #0066cc;
    --link-hover: #0052a3;
    --link-visited: #551a8b;
}

/* === VARIABLES PER MODE FOSC === */
body.dark-mode {
    --bg-color: #1a202c;
    --card-bg-color: #2d3748;
    --border-color: #4a5568;
    --main-text-color: #e2e8f0;
    --secondary-text-color: #a0aec0;
    --accent-color: #8a9ad6;
    --accent-hover: #7285b7;
    --danger-color: #f56565;
    --danger-hover: #e53e3e;
    --secondary-btn-bg: #718096;
    --secondary-btn-hover: #8b96a8;
    --link-color: #66b3ff;
    --link-hover: #4da6ff;
    --link-visited: #bb86fc;
}