/*!
 * ============================================================================
 * Genes Framework CSS v2.0
 * ============================================================================
 * A lightweight, powerful CSS framework for rapid web development
 * 
 * @version     2.0.0
 * @date        2025-10-11
 * @author      Devrim Vardar
 * @copyright   (c) 2024-2025 NodOnce OÜ
 * @license     MIT
 * @link        https://genes.one
 * 
 * FEATURES:
 * - Universal browser reset
 * - REM-based responsive viewport system (32/64/128rem)
 * - Clean, semantic utilities (not Tailwind-style class spam)
 * - Beautiful form components
 * - Dark/light theme support
 * - Auto-scaling from mobile to 4K
 * 
 * CDN Usage:
 * <link rel="stylesheet" href="https://cdn.genes.one/genes.css">
 * 
 * File Size: ~25KB (unminified)
 */

/* ============================================================================
   1. UNIVERSAL RESET
   ============================================================================
   Consistent styling across all browsers and devices
   ============================================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

/* Remove default styling from form elements */
button,
input,
textarea,
select {
    font: inherit;
    border: none;
    background: none;
    color: inherit;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
}

/* Media elements */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Interactive elements */
button,
a {
    cursor: pointer;
    user-select: none;
}

button:disabled,
a:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Reset links */
a {
    color: inherit;
    text-decoration: none;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

/* Remove default fieldset styling */
fieldset {
    border: none;
}

/* Remove default legend styling */
legend {
    padding: 0;
}

/* ============================================================================
   2. THEME VARIABLES
   ============================================================================
   Easy customization via CSS variables
   ============================================================================ */

:root {
    /* Brand Colors */
    --primary: #007acc;
    --primary-hover: #005a9e;
    --secondary: #4ec9b0;
    --accent: #dcdcaa;
    --danger: #f48771;
    --success: #4ec9b0;
    --warning: #dcdcaa;
    --info: #569cd6;

    /* Neutral Colors - Dark Theme (Default) */
    --bg: #1e1e1e;
    --bg-alt: #252526;
    --bg-elevated: #2d2d30;
    --card-bg: #252526;
    --border: #3e3e42;
    --border-light: #505056;
    --text: #d4d4d4;
    --text-muted: #858585;
    --text-dim: #666666;

    /* Component Colors */
    --input-bg: #2d2d30;
    --input-border: #3e3e42;
    --input-focus: var(--primary);
    --button-bg: var(--primary);
    --button-text: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Spacing Base */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
}

/* Light Theme */
[data-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --bg-elevated: #ffffff;
    --card-bg: #ffffff;
    --border: #e0e0e0;
    --border-light: #d0d0d0;
    --text: #333333;
    --text-muted: #666666;
    --text-dim: #999999;
    --input-bg: #ffffff;
    --input-border: #d0d0d0;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   3. REM-BASED VIEWPORT SYSTEM
   ============================================================================
   
   Mobile:  32rem canvas  = 320-639px viewport (10px base at 320px)
   Tablet:  64rem canvas  = 640-1279px viewport (10px base at 640px)
   Desktop: 128rem canvas = 1280px+ viewport (10px base at 1280px)
   
   Everything automatically scales proportionally to viewport!
   Write once (e.g., width: 10rem), works perfectly everywhere.
   
   ============================================================================ */

/* Mobile: 32rem canvas - Perfect for 320-639px screens */
@media (max-width: 639px) {
    html {
        font-size: 3.125vw;
        /* 10px at 320px, scales to 20px at 640px */
    }
}

/* Tablet: 64rem canvas - Perfect for 640-1279px screens */
@media (min-width: 640px) and (max-width: 1279px) {
    html {
        font-size: 1.5625vw;
        /* 10px at 640px, scales to 20px at 1280px */
    }
}

/* Desktop: 128rem canvas - Perfect for 1280px+ screens */
@media (min-width: 1280px) {
    html {
        font-size: 0.78125vw;
        /* 10px at 1280px, scales to 30px at 3840px */
    }
}

/* Optional: Cap max size for ultra-wide displays */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
        /* 2x scale at 2K */
    }
}

@media (min-width: 3840px) {
    html {
        font-size: 30px;
        /* 3x scale at 4K */
    }
}

/* ============================================================================
   4. LAYOUT UTILITIES
   ============================================================================
   Clean, semantic utilities - NOT Tailwind-style class spam!
   ============================================================================ */

/* Container */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    max-width: 80rem;
}

.container-fluid {
    max-width: 100%;
}

/* Display */
.block {
    display: block;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none !important;
}

/* Flex utilities */
.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.items-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.flex-1 {
    flex: 1;
}

.flex-auto {
    flex: auto;
}

.flex-none {
    flex: none;
}

/* Common flex combinations */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Gap */
.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.gap-3 {
    gap: 3rem;
}

.gap-4 {
    gap: 4rem;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* Responsive grid */
@media (max-width: 639px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 640px) and (max-width: 1279px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

/* Width */
.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-50 {
    width: 50%;
}

.w-33 {
    width: 33.333%;
}

.w-25 {
    width: 25%;
}

/* Height */
.h-full {
    height: 100%;
}

.h-auto {
    height: auto;
}

.h-screen {
    height: 100vh;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-scroll {
    overflow: scroll;
}

/* Text align */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

/* Font weight */
.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Font size */
.text-xs {
    font-size: 1.2rem;
}

.text-sm {
    font-size: 1.4rem;
}

.text-base {
    font-size: 1.6rem;
}

.text-lg {
    font-size: 1.8rem;
}

.text-xl {
    font-size: 2rem;
}

.text-2xl {
    font-size: 2.4rem;
}

.text-3xl {
    font-size: 3rem;
}

.text-4xl {
    font-size: 3.6rem;
}

/* Text color */
.text-muted {
    color: var(--text-muted);
}

.text-dim {
    color: var(--text-dim);
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

/* Background */
.bg-primary {
    background: var(--primary);
}

.bg-secondary {
    background: var(--secondary);
}

.bg-card {
    background: var(--card-bg);
}

.bg-alt {
    background: var(--bg-alt);
}

/* Border */
.border {
    border: 1px solid var(--border);
}

.border-t {
    border-top: 1px solid var(--border);
}

.border-r {
    border-right: 1px solid var(--border);
}

.border-b {
    border-bottom: 1px solid var(--border);
}

.border-l {
    border-left: 1px solid var(--border);
}

.border-none {
    border: none;
}

/* Border radius */
.rounded-sm {
    border-radius: var(--radius-sm);
}

.rounded {
    border-radius: var(--radius);
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Shadow */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.shadow-none {
    box-shadow: none;
}

/* Spacing - Padding */
.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.p-3 {
    padding: 3rem;
}

.p-4 {
    padding: 4rem;
}

.px-1 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-2 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-3 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.px-4 {
    padding-left: 4rem;
    padding-right: 4rem;
}

.py-1 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-3 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-4 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-3 {
    padding-top: 3rem;
}

.pt-4 {
    padding-top: 4rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.pb-3 {
    padding-bottom: 3rem;
}

.pb-4 {
    padding-bottom: 4rem;
}

.pl-1 {
    padding-left: 1rem;
}

.pl-2 {
    padding-left: 2rem;
}

.pl-3 {
    padding-left: 3rem;
}

.pl-4 {
    padding-left: 4rem;
}

.pr-1 {
    padding-right: 1rem;
}

.pr-2 {
    padding-right: 2rem;
}

.pr-3 {
    padding-right: 3rem;
}

.pr-4 {
    padding-right: 4rem;
}

/* Spacing - Margin */
.m-1 {
    margin: 1rem;
}

.m-2 {
    margin: 2rem;
}

.m-3 {
    margin: 3rem;
}

.m-4 {
    margin: 4rem;
}

.m-auto {
    margin: auto;
}

.mx-1 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mx-2 {
    margin-left: 2rem;
    margin-right: 2rem;
}

.mx-3 {
    margin-left: 3rem;
    margin-right: 3rem;
}

.mx-4 {
    margin-left: 4rem;
    margin-right: 4rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-3 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.my-4 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.ml-1 {
    margin-left: 1rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-3 {
    margin-left: 3rem;
}

.ml-4 {
    margin-left: 4rem;
}

.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.mr-3 {
    margin-right: 3rem;
}

.mr-4 {
    margin-right: 4rem;
}

/* ============================================================================
   5. FORM COMPONENTS
   ============================================================================
   Beautiful, accessible form elements
   ============================================================================ */

/* Form Group */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text);
}

.form-label-required::after {
    content: "*";
    color: var(--danger);
    margin-left: 0.25rem;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.form-error {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: var(--danger);
}

/* Input Fields */
.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
input[type="time"],
textarea,
select {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius);
    font-size: 1.4rem;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.input:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

.input:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.input-sm {
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
}

.input-lg {
    padding: 1.25rem 2rem;
    font-size: 1.6rem;
}

.input-error {
    border-color: var(--danger);
}

.input-error:focus {
    box-shadow: 0 0 0 3px rgba(244, 135, 113, 0.1);
}

/* Textarea */
textarea {
    min-height: 10rem;
    resize: vertical;
}

/* Select */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23858585' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.checkbox,
.radio {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
}

.checkbox input,
.radio input {
    margin: 0;
    margin-right: 1rem;
}

/* ============================================================================
   6. BUTTON COMPONENTS
   ============================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: var(--radius);
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Button sizes */
.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.6rem;
}

/* Button variants */
.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: var(--bg);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--bg-alt);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--bg-alt);
}

/* Button block */
.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================================================
   7. CARD & CONTAINER COMPONENTS
   ============================================================================ */

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow);
}

.card-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
}

.card-body {
    margin-bottom: var(--space-md);
}

.card-footer {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

/* Panel */
.panel {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: var(--space-md);
}

/* Alert */
.alert {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    border-left: 3px solid;
    margin-bottom: var(--space-md);
}

.alert-info {
    background: rgba(86, 156, 214, 0.1);
    border-color: var(--info);
    color: var(--info);
}

.alert-success {
    background: rgba(78, 201, 176, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-warning {
    background: rgba(220, 220, 170, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.alert-danger {
    background: rgba(244, 135, 113, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    background: var(--bg-alt);
    color: var(--text);
}

.badge-primary {
    background: var(--primary);
    color: white;
}

.badge-secondary {
    background: var(--secondary);
    color: white;
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-danger {
    background: var(--danger);
    color: white;
}

.badge-warning {
    background: var(--warning);
    color: var(--bg);
}

/* ============================================================================
   8. TABLE COMPONENTS
   ============================================================================ */

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
}

.table thead {
    background: var(--bg-alt);
}

.table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid var(--border);
}

.table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.table tbody tr:hover {
    background: var(--bg-alt);
}

.table-bordered {
    border: 1px solid var(--border);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border);
}

.table-striped tbody tr:nth-child(even) {
    background: var(--bg-alt);
}

/* ============================================================================
   9. NAVIGATION COMPONENTS
   ============================================================================ */

.nav {
    display: flex;
    gap: var(--space-sm);
}

.nav-link {
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg-alt);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(0, 122, 204, 0.1);
}

/* Sidebar */
.sidebar {
    width: 25rem;
    background: var(--card-bg);
    border-right: 1px solid var(--border);
    padding: var(--space-md);
}

.sidebar-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    transition: all var(--transition);
}

.sidebar-link:hover {
    color: var(--text);
    background: var(--bg-alt);
}

.sidebar-link.active {
    color: white;
    background: var(--primary);
}

/* ============================================================================
   10. UTILITY CLASSES
   ============================================================================ */

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

/* Pointer events */
.pointer-events-none {
    pointer-events: none;
}

.pointer-events-auto {
    pointer-events: auto;
}

/* User select */
.select-none {
    user-select: none;
}

.select-text {
    user-select: text;
}

.select-all {
    user-select: all;
}

/* Opacity */
.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-100 {
    opacity: 1;
}

/* Z-index */
.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* Transition */
.transition {
    transition: all var(--transition);
}

.transition-slow {
    transition: all var(--transition-slow);
}

.transition-none {
    transition: none;
}

/* ============================================================================
   11. RESPONSIVE UTILITIES
   ============================================================================
   Viewport-specific utilities
   ============================================================================ */

/* Mobile only (om = on-mobile) */
@media (max-width: 639px) {
    .om-hidden {
        display: none !important;
    }

    .om-block {
        display: block !important;
    }

    .om-flex {
        display: flex !important;
    }

    .om-text-center {
        text-align: center !important;
    }
}

/* Tablet only (ot = on-tablet) */
@media (min-width: 640px) and (max-width: 1279px) {
    .ot-hidden {
        display: none !important;
    }

    .ot-block {
        display: block !important;
    }

    .ot-flex {
        display: flex !important;
    }
}

/* Desktop only (od = on-desktop) */
@media (min-width: 1280px) {
    .od-hidden {
        display: none !important;
    }

    .od-block {
        display: block !important;
    }

    .od-flex {
        display: flex !important;
    }
}

/* Hide on mobile */
.hide-mobile {
    display: block;
}

@media (max-width: 639px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show only on mobile */
.show-mobile {
    display: none;
}

@media (max-width: 639px) {
    .show-mobile {
        display: block !important;
    }
}

/* ============================================================================
   12. THREE-COLUMN LAYOUT
   ============================================================================
   Responsive three-column layout with subtle color differentiation
   ============================================================================ */

/* Three-column layout styles */
.three-col-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.col {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    box-sizing: border-box;
}

.col-1 {
    background-color: #f9f9f9;
}

.col-2 {
    background-color: #f0f0f0;
}

.col-3 {
    background-color: #e9e9e9;
}

/* Responsive styles */
@media (min-width: 640px) {
    .three-col-layout {
        flex-direction: row;
    }

    .col-1 {
        flex: 0 0 32rem;
    }

    .col-2 {
        flex: 0 0 32rem;
    }

    .col-3 {
        display: none;
    }
}

@media (min-width: 1280px) {
    .col-3 {
        display: block;
        flex: 0 0 64rem;
    }
}

/* ============================================================================
   13. TABBED LAYOUT COMPONENTS
   ============================================================================
   Reusable styles for a tabbed layout
   ============================================================================ */

/* Tabbed layout styles */
.tabs {
    display: flex;
    flex-direction: column;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.tab-button {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
}

.tab-button.active {
    background: #ddd;
    font-weight: bold;
}

.tab-button:hover {
    background: #e0e0e0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================================================
   END OF GENES.CSS
   ============================================================================
   
   Total size: ~25KB unminified
   
   For minified version: https://cdn.genes.one/genes.min.css (~8KB)
   For documentation: https://genes.one/docs/css
   
   ============================================================================ */