/* Fire Door Platform - Base Styles */

/* Global Variables */
:root {
    --navy: #1e3a5f;
    --orange: #f97316;
    --white: #ffffff;
    --gray: #f3f4f6;
    --border: #e5e7eb;
    --sidebar-width: 240px;
}

/* Global Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #e8eef5;
    color: #1e293b;
}

/* App Shell Layout */
.app-shell {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--navy);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-section {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-section-title {
    padding: 0 20px 10px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.sidebar-link {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-link.active {
    background: var(--orange);
    color: white;
    font-weight: 600;
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
}

/* Topbar */
.topbar {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-title h1 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 5px;
}

.topbar-title p {
    font-size: 14px;
    color: #64748b;
}

.topbar-actions {
    display: flex;
    gap: 10px;
}

/* Container */
.container {
    max-width: 1400px;
    padding: 30px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: #ea580c;
}

.btn-secondary {
    background: var(--gray);
    color: var(--navy);
}

/* Card Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Status Sections */
.status-section {
    margin-bottom: 40px;
}

.status-section h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #cbd5e1;
}

.status-section h2.status-draft { border-color: #94a3b8; }
.status-section h2.status-sent { border-color: #fb923c; }
.status-section h2.status-priced { border-color: #22d3ee; }
.status-section h2.status-client { border-color: #3b82f6; }
.status-section h2.status-approved { border-color: #10b981; }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.empty-state h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
    color: #64748b;
}
