/* Appify Docs — общие стили */

:root {
    --appify-primary: #0d6efd;
    --appify-success: #198754;
    --appify-warning: #ffc107;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
}

.navbar-brand .text-primary {
    color: var(--appify-primary) !important;
}

.login-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card {
    border-radius: 10px;
}

.card.shadow-sm {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.btn {
    font-weight: 500;
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    color: var(--appify-primary) !important;
}

.table thead {
    background: #f8f9fa;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.badge {
    font-weight: 500;
}

/* Статусы */
.status-issued    { color: #fd7e14; }
.status-paid      { color: #198754; }
.status-partial   { color: #6f42c1; }
.status-cancelled { color: #6c757d; }
.status-active    { color: #198754; }
.status-draft     { color: #6c757d; }

/* Печатные формы */
@media print {
    .navbar, .btn, footer, .no-print {
        display: none !important;
    }
}

/* Document preview */
.doc-preview {
    background: white;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 210mm;
    margin: 20px auto;
    min-height: 297mm;
    font-family: "Times New Roman", serif;
}
