/* ================================================================
  GEMSTOK UNIFIED MASTER CSS
  Modules: 01 Tokens | 02 Base | 03 Shell | 04 Auth | 05 Data | 06 Kanban
================================================================ */

/* [01] DESIGN TOKENS */
:root {
    --navy: #0D2240;
    --navy-mid: #132d54;
    --navy-light: #1a3860;
    --gold: #C9A84C;
    --gold-light: #e8c97a;
    --bg: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text-muted: #64748b;
    --success: #10b981;
    --glass-bg: rgba(19, 45, 84, 0.4);
}

/* [02] BASE RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--navy);
    line-height: 1.5;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

/* [03] PORTAL SHELL (Header/Footer Injection Targets) */
#header-seller {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--navy);
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

/* [04] AUTH UI (Login Aesthetics) */
.login-main {
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
    position: relative;
    overflow: hidden;
}

.backbone-container {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.backbone-line {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
}

/* [05] DATA MODULES (Tables & Forms) */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--bg);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

/* [06] KANBAN & WHITEBOARD MODULE */
.kanban-board {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    overflow-x: auto;
    height: calc(100vh - 80px);
    align-items: flex-start;
}

.kanban-col {
    flex: 0 0 320px;
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.col-header {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.col-title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.card-list {
    padding: 0.75rem;
    flex-grow: 1;
    overflow-y: auto;
    min-height: 100px;
}

.kanban-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: grab;
    transition: 0.2s;
}

.kanban-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.drag-over {
    background: rgba(201, 168, 76, 0.05);
    border: 2px dashed var(--gold);
}

/* Buttons */
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background: var(--gold-light);
}