/* Rent Ping — стили */
:root {
    --rp-primary: #0d6efd;
    --rp-success: #198754;
    --rp-danger: #dc3545;
    --rp-warning: #ffc107;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.card {
    border-radius: 0.75rem;
}

.card-header {
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
}

.table th {
    white-space: nowrap;
}

.badge {
    font-size: 0.85em;
}

.modal-content {
    border-radius: 0.75rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

footer {
    margin-top: auto;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a2e;
        color: #e0e0e0;
    }
    .card {
        background-color: #16213e;
        border-color: #0f3460;
    }
    .card-header {
        background-color: #0f3460;
    }
    .table {
        color: #e0e0e0;
    }
    .form-control, .form-select {
        background-color: #16213e;
        color: #e0e0e0;
        border-color: #0f3460;
    }
    .bg-light {
        background-color: #16213e !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }
    .display-4 {
        font-size: 2rem;
    }
}
