/* ═════════════════════════════════════════════════════════════
   STYLES.CSS — Global Styles, Variables & Reset
   Portfolio CMS — Master Token File
═════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* ─────────────────────────────────────────────────────────────
   CSS Variables
───────────────────────────────────────────────────────────── */
:root {
    /* ── Layout ── */
    --panel-width:          70%;
    --nav-width:            260px;

    /* ── Line / Separator ── */
    --line-thickness:       2px;
    --line-color:           #333;
    --separator-color:      #1e1e1e;
    --border-color:         rgba(255, 255, 255, 0.10);

    /* ── Background layers ── */
    --bg-base:              #090909;
    --bg-surface:           #0f0f0f;
    --bg-card:              #141414;
    --bg-elevated:          #1a1a1a;
    --bg-input:             #111111;

    /* ── Border tokens ── */
    --border-subtle:        #1a1a1a;
    --border-default:       #1e1e1e;
    --border-strong:        #2a2a2a;

    /* ── Text ── */
    --text-primary:         #ffffff;
    --text-secondary:       #cccccc;
    --text-muted:           #888888;
    --text-faint:           #555555;
    --text-empty:           #444444;
    --text-ghost:           #333333;

    /* ── Accent — electric cyan ── */
    --color-primary:        #2563eb;
    --color-primary-hover:  #2bbdff;
    --accent:               #00aaff;
    --accent-dim:           rgba(0, 170, 255, 0.10);
    --accent-border:        rgba(0, 170, 255, 0.20);

    /* ── Status ── */
    --color-success:        #22cc88;
    --color-success-hover:  #1db876;
    --green:                #22cc88;
    --green-dim:            rgba(34, 204, 136, 0.10);
    --green-border:         rgba(34, 204, 136, 0.20);

    --color-danger:         #ff5555;
    --color-danger-hover:   #e03e3e;
    --red:                  #ff5555;
    --red-dim:              rgba(255, 85, 85, 0.10);
    --red-border:           rgba(255, 85, 85, 0.20);

    --amber:                #ffc107;
    --amber-dim:            rgba(255, 193, 7, 0.10);
    --amber-border:         rgba(255, 193, 7, 0.20);

    /* ── CRUD item ── */
    --item-bg:              #1a1a1a;
    --item-bg-hover:        #1e1e1e;
    --item-gap:             4px;
    --item-padding:         6px 12px;
    --item-border-radius:   8px;

    /* ── Radius ── */
    --border-radius-sm:     6px;
    --border-radius-md:     10px;
    --border-radius-lg:     14px;

    /* ── Transitions ── */
    --transition-fast:      0.15s ease;
    --transition-base:      0.2s ease;
    --transition-slow:      0.3s ease;

    /* ── Scrollbar ── */
    scrollbar-width: thin;
    scrollbar-color: #252525 transparent;
}

/* ─────────────────────────────────────────────────────────────
   Scrollbars (webkit)
───────────────────────────────────────────────────────────── */
::-webkit-scrollbar             { width: 5px; height: 5px; }
::-webkit-scrollbar-track       { background: transparent; }
::-webkit-scrollbar-thumb       { background: #252525; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* ─────────────────────────────────────────────────────────────
   Reset & Base
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.blue-text {
    color: var(--color-primary);
    font-weight: 700;
}
