:root {
    --orange: #FF7A00;
    --dark: #1a1a1a;
    --dark-hover: #2a2a2a;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
    background-color: var(--dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--orange);
}

.brand-sub {
    font-weight: 300;
    font-size: 0.95rem;
    color: #ccc;
}

.text-orange {
    color: var(--orange) !important;
}

.btn-orange {
    background-color: var(--orange);
    border-color: var(--orange);
    color: #fff;
    font-weight: 600;
}

.btn-orange:hover {
    background-color: #e06d00;
    border-color: #e06d00;
    color: #fff;
}

.card {
    border: none;
    border-radius: 8px;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
}

.card-header.py-4 {
    background: var(--dark);
    color: #fff;
}

.card-header.py-4 .brand-text {
    font-size: 1.6rem;
}

.table-dark {
    --bs-table-bg: var(--dark);
}

.table-hover tbody tr:hover {
    background-color: #fff5ec;
}

.section-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    border-left: 4px solid var(--orange);
    padding-left: 10px;
    margin-bottom: 12px;
    margin-top: 8px;
}

.sig-container {
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #fff;
    display: inline-block;
    max-width: 100%;
    touch-action: none;
}

.sig-container canvas {
    display: block;
    max-width: 100%;
    cursor: crosshair;
}

.badge.bg-warning {
    color: #1a1a1a !important;
}

footer {
    background: var(--dark);
    color: #999;
}

.alert {
    border-radius: 6px;
}

@media (max-width: 768px) {
    .sig-container canvas {
        width: 100%;
        height: 150px;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}
