/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}*/

:root {
    --app-bg: #f4f7fb;
    --app-card: #ffffff;
    --app-primary: #0d6efd;
    --app-text: #1f2937;
    --app-muted: #6b7280;
    --app-border: #e5e7eb;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html,
body {
    position: relative;
    min-height: 100%;
}

.app-body {
    background: var(--app-bg);
    color: var(--app-text);
}

.app-header {
    padding: 14px 18px 0;
}

.app-navbar {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--app-border);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
    backdrop-filter: blur(10px);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--app-text) !important;
}

.app-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-brand span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.app-brand small {
    color: var(--app-muted);
    font-size: .72rem;
    font-weight: 500;
}

.app-nav-link {
    color: #374151 !important;
    font-weight: 500;
    border-radius: 999px;
    padding: .55rem .85rem !important;
    display: flex;
    align-items: center;
    gap: .4rem;
}

    .app-nav-link:hover,
    .app-nav-link:focus {
        background: #eef4ff;
        color: var(--app-primary) !important;
    }

.app-dropdown {
    border: 1px solid var(--app-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
    padding: .5rem;
}

    .app-dropdown .dropdown-item {
        border-radius: 12px;
        padding: .65rem .85rem;
        display: flex;
        align-items: center;
        gap: .55rem;
    }

        .app-dropdown .dropdown-item:hover {
            background: #eef4ff;
            color: var(--app-primary);
        }

.app-main {
    padding: 28px 18px 64px;
}

.app-alert {
    border-radius: 16px;
    border: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.app-footer {
    border-top: 1px solid var(--app-border);
    padding: 18px 0;
    color: var(--app-muted);
    background: white;
}

.card {
    border-radius: 18px;
}

.table {
    margin-bottom: 0;
}

.btn {
    border-radius: 12px;
}

.form-control,
.form-select {
    border-radius: 12px;
}

.navbar {
    position: relative;
    z-index: 1050;
}

.dropdown-menu {
    z-index: 2000 !important;
}

.workflow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border-radius: 50%;
    background: #f1f3f5;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.workflow-step-complete {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.workflow-step-cancelled {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

@media print {
    .app-header,
    .app-footer,
    .no-print,
    .btn {
        display: none !important;
    }

    .app-main {
        padding: 0 !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}