/**
 * EduNex UX Framework - Core Styles
 *
 * @package    local_edunex_ux
 * @copyright  2026 EduNex
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

:root {
    /* Color palette */
    --edunex-primary: #2563eb;
    --edunex-secondary: #64748b;
    --edunex-success: #10b981;
    --edunex-danger: #ef4444;
    --edunex-warning: #f59e0b;
    --edunex-info: #3b82f6;

    /* Neutral colors */
    --edunex-white: #ffffff;
    --edunex-gray-50: #f9fafb;
    --edunex-gray-100: #f3f4f6;
    --edunex-gray-200: #e5e7eb;
    --edunex-gray-300: #d1d5db;
    --edunex-gray-400: #9ca3af;
    --edunex-gray-500: #6b7280;
    --edunex-gray-600: #4b5563;
    --edunex-gray-700: #374151;
    --edunex-gray-800: #1f2937;
    --edunex-gray-900: #111827;

    /* Spacing */
    --edunex-spacing-xs: 0.25rem;
    --edunex-spacing-sm: 0.5rem;
    --edunex-spacing-md: 1rem;
    --edunex-spacing-lg: 1.5rem;
    --edunex-spacing-xl: 2rem;
    --edunex-spacing-2xl: 3rem;

    /* Border radius */
    --edunex-radius-sm: 0.25rem;
    --edunex-radius-md: 0.5rem;
    --edunex-radius-lg: 0.75rem;
    --edunex-radius-xl: 1rem;

    /* Shadows */
    --edunex-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --edunex-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --edunex-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --edunex-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --edunex-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --edunex-font-mono: "Courier New", monospace;

    /* Transitions */
    --edunex-transition: all 0.3s ease;
}

/* Reset and base styles */
.edunex-ux * {
    box-sizing: border-box;
}

/* Container */
.edunex-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--edunex-spacing-md);
}

.edunex-container-fluid {
    width: 100%;
    padding: 0 var(--edunex-spacing-md);
}

/* Utilities */
.edunex-text-center {
    text-align: center;
}

.edunex-text-left {
    text-align: left;
}

.edunex-text-right {
    text-align: right;
}

.edunex-mt-1 {
    margin-top: var(--edunex-spacing-xs);
}

.edunex-mt-2 {
    margin-top: var(--edunex-spacing-sm);
}

.edunex-mt-3 {
    margin-top: var(--edunex-spacing-md);
}

.edunex-mt-4 {
    margin-top: var(--edunex-spacing-lg);
}

.edunex-mb-1 {
    margin-bottom: var(--edunex-spacing-xs);
}

.edunex-mb-2 {
    margin-bottom: var(--edunex-spacing-sm);
}

.edunex-mb-3 {
    margin-bottom: var(--edunex-spacing-md);
}

.edunex-mb-4 {
    margin-bottom: var(--edunex-spacing-lg);
}

.edunex-p-1 {
    padding: var(--edunex-spacing-xs);
}

.edunex-p-2 {
    padding: var(--edunex-spacing-sm);
}

.edunex-p-3 {
    padding: var(--edunex-spacing-md);
}

.edunex-p-4 {
    padding: var(--edunex-spacing-lg);
}

.edunex-d-none {
    display: none !important;
}

.edunex-d-block {
    display: block !important;
}

.edunex-d-flex {
    display: flex !important;
}

.edunex-flex-column {
    flex-direction: column !important;
}

.edunex-justify-center {
    justify-content: center !important;
}

.edunex-justify-between {
    justify-content: space-between !important;
}

.edunex-align-center {
    align-items: center !important;
}

.edunex-w-100 {
    width: 100% !important;
}

.edunex-h-100 {
    height: 100% !important;
}
