:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --status-open: #ef4444;
    --status-progress: #f59e0b;
    --status-closed: #10b981;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.company-name {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.stat-card:active {
    transform: scale(0.95);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Issue Cards */
.section-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.issue-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.issue-card {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.issue-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--status-color);
}

.issue-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.issue-title {
    font-weight: 600;
    font-size: 1rem;
}

.issue-system {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.issue-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.issue-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.issue-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Status Badges */
.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-open { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.badge-progress { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.badge-closed { background: rgba(16, 185, 129, 0.1); color: #10b981; }

/* Buttons */
.btn {
    padding: 12px 20px;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); }

.btn-block { width: 100%; }

.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 24px;
}

/* Form Styles */
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 8px; font-size: 0.875rem; color: var(--text-muted); }
input, select, textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Tabs / Navigation */
.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 100;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.625rem;
}

.nav-item.active { color: var(--primary); }
.nav-item i { font-size: 1.25rem; margin-bottom: 4px; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .container { padding: 16px; }
}
