/*
 * The Care Desk - the doctor dashboard's soft look on every module.
 * Look only, screen only. Removing this file from index.html brings back the old look.
 */
@media screen {
    .app-layout { background: #f6f9fd; }
    .app-layout .page-title { font-size: 28px; font-weight: 600; color: #14233a; }

    /* Cards */
    .app-layout .card { border: 1px solid #e8eef5; border-radius: 18px; box-shadow: none; }
    .app-layout .card:has(.custom-table) { overflow: hidden; }
    .app-layout .card-header { background: transparent; border-bottom: 1px solid #eef3f8; padding: 16px 18px; }
    .app-layout .card-title { font-size: 17px; font-weight: 600; color: #14233a; }
    .app-layout .card-footer { background: #fff; border-top: 1px solid #eef3f8; }

    /* Tables */
    .app-layout .table thead th { background: #f1f6fc !important; color: #3f4f64 !important; font-size: 12.5px; border-bottom: 1px solid #e4ebf3; }
    .app-layout .table tbody td { border-color: #eef3f8; padding-top: 12px; padding-bottom: 12px; }
    .app-layout .table-warning { --tblr-table-bg: #b5e8cf; --tblr-table-border-color: #9bd6b9; --tblr-table-hover-bg: #a5e2c5; }
    .app-layout .table-warning .text-secondary, .app-layout .table-warning .text-muted, .app-layout .table-warning small { color: #33424f !important; }
    .app-layout .table-warning .badge { background: #fff !important; }
    .app-layout .table-warning .badge.bg-green-lt { color: #127a55 !important; }
    .app-layout .table a { color: #1c5cab; }

    /* Buttons */
    .app-layout .btn { border-radius: 22px; }
    .app-layout .btn-primary { background: #14233a; border-color: #14233a; color: #fff; }
    .app-layout .btn-primary:hover, .app-layout .btn-primary:focus { background: #24375a; border-color: #24375a; color: #fff; }
    .app-layout .btn-success { background: #1c5cab; border-color: #1c5cab; color: #fff; }
    .app-layout .btn-success:hover, .app-layout .btn-success:focus { background: #174d90; border-color: #174d90; color: #fff; }
    .app-layout .card-header .btn-success:not(.btn-sm) { background: #e7f6ee; border-color: #bfe6d2; color: #127a55; }
    .app-layout .card-header .btn-success:not(.btn-sm):hover { background: #d7f0e3; border-color: #a9dcc2; color: #127a55; }
    .app-layout .btn-light { border-radius: 14px; }

    /* Boxes */
    .app-layout .form-control, .app-layout .form-select { border-radius: 12px; border-color: #e4ebf3; }

    /* Status labels */
    .app-layout .badge { border-radius: 8px; font-weight: 600; }

    /* Tabs */
    .app-layout .nav-tabs { background: transparent; border-bottom: 0; gap: 4px; }
    .app-layout .nav-tabs .nav-link { border: 0; border-radius: 12px; color: #3f4f64; }
    .app-layout .nav-tabs .nav-link.active { background: #e4f0fd; color: #1c5cab; font-weight: 600; }

    /* Popups */
    .app-layout .modal-content { border: 0; border-radius: 18px; }
    .app-layout .modal-header { border-radius: 18px 18px 0 0; }
    .app-layout .modal-header.bg-primary { background: linear-gradient(135deg, #2a78d6, #5598e7) !important; }

    /* Calendar */
    .app-layout .fc .fc-button { border-radius: 22px; }
}
