/*
 * Dokuma Randıman — Kaiadmin üzerine proje-özel ince ayarlar.
 * Kaiadmin'in kendi görsel dilini EZMEK için değil, yalnız bu uygulamaya özgü
 * ihtiyaçlar (auth ekranı, KPI/duruş kartları, chart yükseklikleri, tablo
 * okunabilirliği, durum yardımcıları) için tutulur. !important minimumda.
 */

/* ---------------------------------------------------------------------- */
/* Topbar — masaüstünde daha kompakt yükseklik + dengeli boşluk           */
/* Kaiadmin'in kendi 70px navbar-header + 69px container margin-top ikilisi
   sayfa başlığı (arama/menü) olmadan gereksiz boş/yüksek hissettiriyordu;
   ikisini BİRLİKTE, aynı oranda küçültüyoruz ki main-header (fixed) ile
   .container'ın üst boşluğu asla uyumsuz kalmasın. */
/* ---------------------------------------------------------------------- */
@media (min-width: 992px) {
    .main-header,
    .main-header .navbar-header {
        min-height: 56px;
    }
    .main-panel > .container {
        margin-top: 56px;
    }
    .page-inner {
        padding-top: 20px;
    }

    /* Kaiadmin'in .main-panel > .container kuralı, footer'ı her zaman viewport'un
       altına yapıştırmak için min-height:calc(100% - 123px) (~= 100vh) zorluyor.
       Bu, içeriği az olan sayfalarda (ör. Gemini bağlantı testi, vardiya tanımları)
       içerik ile footer arasında dev, boş bir "kanyon" bırakıyor. position:fixed/
       absolute bir footer hack'i yerine, konteynerin zorunlu minimum yüksekliğini
       makul bir tabana indiriyoruz: footer artık İÇERİĞİN hemen ardından oturur,
       ama içerik gerçekten uzun sayfalarda (dashboard, yönetim raporları vb.) bu
       min-height zaten aşılıp geçildiği için hiçbir etkisi olmaz. */
    .main-panel > .container {
        min-height: 320px;
    }
}

/* Kullanıcı profili — rol ve isim birbirine yapışmasın, dikey ortalı olsun */
.topbar-user .profile-pic {
    display: flex;
    align-items: center;
}

.profile-username {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
    gap: 0.1rem;
}

.profile-username .op-7 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.profile-username .fw-bold {
    font-size: 0.88rem;
}

/* ---------------------------------------------------------------------- */
/* Auth (login) ekranı                                                    */
/* ---------------------------------------------------------------------- */
.dr-auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f4f9;
    padding: 2rem 1rem;
}

.dr-auth-wrapper {
    width: 100%;
    max-width: 420px;
}

.dr-auth-brand h1 {
    letter-spacing: -0.01em;
}

@media (max-width: 400px) {
    .dr-auth-brand h1 {
        font-size: 1.35rem;
    }
    .dr-auth-brand p {
        font-size: 0.85rem;
    }
}

/* ---------------------------------------------------------------------- */
/* Global mobil güvenlik kuralları — hiçbir ekranda yatay taşma olmaz     */
/* ---------------------------------------------------------------------- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.page-inner {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 575.98px) {
    .page-inner {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .card-body,
    .card-header {
        padding: 0.9rem;
    }
}

.card {
    max-width: 100%;
}

.dropdown-menu {
    max-width: calc(100vw - 1.5rem);
}

/* ---------------------------------------------------------------------- */
/* Ortak sayfa başlığı (page-header) — masaüstünde yan yana, mobilde alt  */
/* alta; aksiyon butonları mobilde taşmadan sarar/tam genişlik alır.       */
/* ---------------------------------------------------------------------- */
.dr-page-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dr-page-header .page-title {
    margin-bottom: 0.25rem;
}

.dr-page-subtitle {
    color: #6c757d;
    margin-bottom: 0;
    max-width: 60ch;
}

.dr-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.dr-page-actions .btn {
    margin: 0;
}

@media (max-width: 575.98px) {
    .dr-page-header {
        flex-direction: column;
        align-items: stretch;
    }
    .dr-page-actions {
        width: 100%;
    }
    .dr-page-actions .btn {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* ---------------------------------------------------------------------- */
/* KPI / istatistik kartları — icon-big renk üstüne değer vurgusu         */
/* ---------------------------------------------------------------------- */
.dr-stat-card .card-title {
    font-size: 1.35rem;
    line-height: 1.2;
}

.dr-stat-card .card-category {
    white-space: normal;
}

.dr-stat-trend {
    font-size: 0.8rem;
    font-weight: 600;
}

.dr-stat-trend.dr-trend-up {
    color: #3ac47d;
}

.dr-stat-trend.dr-trend-down {
    color: #d92550;
}

.dr-stat-trend.dr-trend-flat {
    color: #6c757d;
}

/* KPI kartındaki "Kısmi Kapsam" rozeti — detaylı teknik açıklama karta hiç gömülmez, yalnız
   rozetin title/tooltip'i (Bootstrap tooltip) üzerinden erişilebilir. Kart yüksekliği diğer
   KPI kartlarıyla dengeli kalsın diye rozet tek satırda kalır. */
.dr-kpi-partial-badge {
    cursor: help;
    white-space: nowrap;
}

.dr-kpi-partial-badge:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------- */
/* Chart konteynerleri — yükseklik kontrolü, taşma yok                    */
/* ---------------------------------------------------------------------- */
.dr-chart-container {
    position: relative;
    width: 100%;
    height: 320px;
}

.dr-chart-container.dr-chart-sm {
    height: 220px;
}

.dr-chart-svg {
    /* height:auto burada YANLIŞ olurdu: SVG'de width:100%+height:auto, yüksekliği
       konteynerin gerçek yüksekliğinden değil viewBox en-boy oranından türetir. Kare
       viewBox'lı (donut) grafikte konteyner genişse (geniş sütun + sabit 220px yükseklik)
       bu, konteynerin altına taşan kare boyutlu bir SVG üretir. height:100% ile SVG kutusu
       her zaman .dr-chart-container'ın kendi (sabit) yüksekliğiyle eşleşir; içerik ise zaten
       var olan preserveAspectRatio="xMidYMid meet" sayesinde bu kutunun İÇİNE ölçeklenir,
       hiçbir en-boy oranında taşma olmaz. */
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 575.98px) {
    .dr-chart-container {
        height: 200px;
    }
    .dr-chart-container.dr-chart-sm {
        height: 180px;
    }
}

/* ---------------------------------------------------------------------- */
/* Tablolar — yoğun ama okunabilir veri tabloları                         */
/* ---------------------------------------------------------------------- */
.dr-table-card .table {
    margin-bottom: 0;
}

.dr-table-card .table th {
    white-space: nowrap;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6c757d;
}

.dr-table-card .table td {
    vertical-align: middle;
}

.dr-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------- */
/* Rapor tabloları — başlık ORTALI ise altındaki hücreler de aynı eksende  */
/* ORTALI olur (kullanıcı geri bildirimi). Yalnız salt-okunur rapor/liste  */
/* tabloları içindir — editable form tabloları (ör. scan_review'ın vardiya
   grid'i) bu sınıfı KULLANMAZ. Uzun serbest metin sütunları .text-start
   ile açıkça sola alınabilir. */
/* ---------------------------------------------------------------------- */
.dr-report-table th,
.dr-report-table td {
    text-align: center;
    vertical-align: middle;
}

.dr-report-table th.text-start,
.dr-report-table td.text-start {
    text-align: start;
}

.dr-report-table .dr-num {
    text-align: center;
}

/* .dr-table-card .table th (yukarıda) white-space:nowrap + uppercase
   uyguluyor ve iki class'lı seçici olduğu için özgüllüğü .dr-report-table
   th ile eşit — bu yüzden burada AYNI özgüllükte (.dr-table-card
   .dr-report-table) fakat dosyada SONRA tanımlanan bir seçici kullanılır ki
   rapor başlıkları tek satıra zorlanmasın (kullanıcı geri bildirimi:
   kontrollü 2 satırlı wrapping isteniyor, kelime ortasından bölünmeden). */
.dr-table-card .dr-report-table th,
.dr-report-table th {
    background: #f8f9fc;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.8rem;
    color: #4a5073;
    border-bottom: 2px solid #e9ecef;
    padding: 0.55rem 0.5rem;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.25;
    vertical-align: middle;
}

.dr-report-table td {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #eef0f5;
}

/* Rapor tablosu satır zebrası + hover — okunabilirliği artırır, DOM sırası
   sort sonrası değiştiğinde nth-child otomatik yenilenir (JS satır rengi
   yazmaz, yalnız <tr> elemanlarını taşır). */
.dr-report-table tbody tr:nth-child(even) {
    background-color: #f8f9fc;
}

.dr-report-table tbody tr:hover {
    background-color: #eef1fb;
}

.dr-actions-col {
    white-space: nowrap;
    text-align: right;
}

/* .dr-report-table zorunlu ortalama kuralı (yukarı bakınız), aksiyon
   sütununu da ortalamaya çalışır — aksiyon butonları sağa yaslı kalmalı,
   bu yüzden burada özgüllük artırılarak geçersiz kılınır. */
.dr-report-table th.dr-actions-col,
.dr-report-table td.dr-actions-col {
    text-align: right;
    white-space: nowrap;
}

/* ---------------------------------------------------------------------- */
/* Sıralanabilir rapor kolon başlıkları — public/assets/kaiadmin/js/        */
/* dokuma-randiman-report-table.js çalışma zamanında th içeriğini bu        */
/* .dr-sort-header sarmalayıcı + .dr-sort-icon ile değiştirir. Icon sabit   */
/* küçük alan kullanır ki başlık text wrapping'i bozulmasın (görev 25).     */
/* ---------------------------------------------------------------------- */
.dr-report-table th.dr-th-sortable {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.dr-report-table th.dr-th-sortable:hover,
.dr-report-table th.dr-th-sortable:focus-visible {
    background: #eef1fb;
    color: #2a2f5b;
}

.dr-report-table th.dr-th-sortable:focus-visible {
    outline: 2px solid #6861ce;
    outline-offset: -2px;
}

.dr-sort-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: normal;
}

.dr-report-table th.text-start .dr-sort-header {
    justify-content: flex-start;
}

.dr-sort-icon {
    flex: 0 0 auto;
    width: 0.7rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.55;
    font-size: 0.55rem;
    opacity: 0.35;
}

.dr-sort-icon .dr-sort-asc,
.dr-sort-icon .dr-sort-desc {
    display: block;
}

th[aria-sort="ascending"] .dr-sort-icon,
th[aria-sort="descending"] .dr-sort-icon {
    opacity: 1;
    color: #6861ce;
}

th[aria-sort="ascending"] .dr-sort-icon .dr-sort-desc,
th[aria-sort="descending"] .dr-sort-icon .dr-sort-asc {
    visibility: hidden;
}

/* ---------------------------------------------------------------------- */
/* Rapor sekme çubuğu (.dr-report-tabs) — kullanıcı geri bildirimi:        */
/* mevcut nav-pills.nav-secondary inaktif sekmeler arka planla fazla       */
/* bütünleşiyordu, tıklanabilir olduğu belirsizdi. Bu şerit için bağımsız  */
/* bir yüzey/kontrast tanımlanır; dosyada kaiadmin.min.css'ten SONRA       */
/* yüklendiği için eşit özgüllükte kazanır. */
/* ---------------------------------------------------------------------- */
.dr-report-tabs.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: #f1f2f8;
    border: 1px solid #e3e5f0;
    border-radius: 0.65rem;
    padding: 0.4rem;
    margin-bottom: 1rem !important;
}

.dr-report-tabs .nav-item {
    flex: 1 1 auto;
    display: flex;
}

.dr-report-tabs .nav-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 2.75rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid #e3e5f0 !important;
    border-radius: 0.5rem;
    background: #fff;
    color: #3a3f5c;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: normal;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dr-report-tabs .nav-link:hover {
    background: #e9eaf9;
    border-color: #c9cbea !important;
    color: #2a2f5b;
}

.dr-report-tabs .nav-link:focus-visible {
    outline: 2px solid #6861ce;
    outline-offset: 2px;
}

.dr-report-tabs .nav-link.active {
    background: #6861ce !important;
    border-color: #6861ce !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(104, 97, 206, 0.25);
}

@media (min-width: 992px) {
    .dr-report-tabs .nav-item {
        flex: 1 1 0;
    }
}

/* ---------------------------------------------------------------------- */
/* Filtre toolbar kartları (Yönetim Raporları / Randıman Raporu / Gösterge)*/
/* ---------------------------------------------------------------------- */
.dr-filter-card .form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* ---------------------------------------------------------------------- */
/* Veri kalitesi / kapsam uyarı şeritleri                                  */
/* ---------------------------------------------------------------------- */
.dr-coverage-note {
    font-size: 0.82rem;
}

/* ---------------------------------------------------------------------- */
/* Not/metin içerik kutuları (operatör notu, hatalar)                      */
/* ---------------------------------------------------------------------- */
.dr-note-box {
    background: #f8f9fb;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.dr-note-box-scroll {
    max-height: 480px;
    overflow: auto;
}

.dr-details-summary {
    cursor: pointer;
}

/* ---------------------------------------------------------------------- */
/* Görsel/önizleme alanları (tarama görseli)                               */
/* ---------------------------------------------------------------------- */
.dr-scan-preview img {
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

.dr-scan-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .dr-scan-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dr-scan-gallery {
        grid-template-columns: 1fr;
    }
}

.dr-scan-thumb {
    display: block;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f8f9fb;
}

.dr-scan-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.dr-scan-thumb {
    padding: 0.5rem;
    text-align: center;
}

.dr-scan-thumb .dr-scan-thumb-img-link {
    display: block;
}

.dr-scan-thumb .dr-scan-thumb-img {
    max-height: 160px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.35rem;
}

.dr-scan-thumb .dr-scan-thumb-caption {
    font-size: 0.78rem;
    margin-top: 0.5rem;
}

/* ---------------------------------------------------------------------- */
/* Mini istatistik kutuları (eşleşme sayaçları gibi küçük 3'lü gruplar)   */
/* ---------------------------------------------------------------------- */
.dr-mini-stat {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.6rem;
    text-align: center;
}

.dr-mini-stat .dr-mini-stat-label {
    font-size: 0.75rem;
    color: #6c757d;
}

.dr-mini-stat .dr-mini-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------- */
/* KPI/istatistik ızgarası — dar mobil genişliklerde 1 sütuna düşer       */
/* ---------------------------------------------------------------------- */
.dr-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

@media (max-width: 420px) {
    .dr-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------------- */
/* Bilgi/özet ızgarası — detay ekranları (tarama özeti, kayıt bilgisi)    */
/* ---------------------------------------------------------------------- */
.dr-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.5rem;
}

@media (max-width: 575.98px) {
    .dr-info-grid {
        grid-template-columns: 1fr;
    }
}

.dr-info-item .dr-info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    margin-bottom: 0.15rem;
}

.dr-info-item .dr-info-value {
    font-weight: 600;
    word-break: break-word;
}

.dr-info-item-full {
    grid-column: 1 / -1;
}

/* ---------------------------------------------------------------------- */
/* Tablo kartı üst araç çubuğu — başlık + küçük aksiyonlar                */
/* ---------------------------------------------------------------------- */
.dr-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

/* ---------------------------------------------------------------------- */
/* Form section — büyük formları mantıklı bölümlere ayırma                */
/* ---------------------------------------------------------------------- */
.dr-form-section {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.dr-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dr-form-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2a2f5b;
}

/* ---------------------------------------------------------------------- */
/* Boş durum (empty state) — düz paragraf yerine tutarlı bileşen          */
/* ---------------------------------------------------------------------- */
.dr-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #6c757d;
}

.dr-empty-state .dr-empty-icon {
    font-size: 2rem;
    color: #c8d0e0;
    margin-bottom: 0.75rem;
}

.dr-empty-state p {
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------- */
/* Tarama kontrolü — vardiya bazlı düzenlenebilir alan grubu               */
/* Masaüstünde yan yana sütunlar (A/B/C/Form Toplamı), mobilde tek sütun  */
/* halinde alt alta; ikisi de AYNI form alanlarını (isim/id) kullanır,    */
/* yalnız CSS Grid ile yeniden düzenlenir — alan tekrarı YOKTUR.          */
/* ---------------------------------------------------------------------- */
.dr-shift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.dr-shift-block {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.85rem;
    min-width: 0;
}

.dr-shift-block.scan-review-shift-closed {
    background-color: rgba(0, 0, 0, 0.035);
    opacity: 0.65;
}

.dr-shift-block-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e9ecef;
}

.dr-shift-field {
    margin-bottom: 0.5rem;
}

.dr-shift-field:last-child {
    margin-bottom: 0;
}

.dr-shift-field-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6c757d;
    margin-bottom: 0.2rem;
}

.dr-shift-field-original {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.dr-tag-soft {
    font-size: 0.65rem;
}

/* ---------------------------------------------------------------------- */
/* Yatay kaydırılabilir sekme çubuğu — dar ekranlarda sekmeler taşmaz,    */
/* SAYFA GÖVDESİ değil yalnız bu şerit kaydırılır (kontrol olarak).       */
/* ---------------------------------------------------------------------- */
.dr-tab-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
}

.dr-tab-scroll .nav-link {
    white-space: nowrap;
}

/* ---------------------------------------------------------------------- */
/* Tablo sütunu genişlik yardımcıları — inline style yerine (min-width)   */
/* ---------------------------------------------------------------------- */
.dr-col-label-40 {
    width: 40%;
}

.dr-min-w-100 {
    min-width: 100px;
}

.dr-min-w-140 {
    min-width: 140px;
}

.dr-min-w-160 {
    min-width: 160px;
}

.dr-min-w-220 {
    min-width: 220px;
}

.dr-input-uppercase {
    text-transform: uppercase;
}

/* ---------------------------------------------------------------------- */
/* Mobil sabit aksiyon çubuğu — uzun formlarda kaydet/onayla erişilebilir */
/* ---------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    .dr-mobile-actions {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e9ecef;
        padding: 0.75rem;
        margin: 1rem -0.9rem -0.9rem;
        display: flex;
        gap: 0.5rem;
        z-index: 5;
    }
    .dr-mobile-actions .btn {
        flex: 1 1 auto;
    }
}

/* ---------------------------------------------------------------------- */
/* Sade/tek amaçlı formlar — geniş masaüstü ekranında (ör. 1920px) az     */
/* sayıda alanlı bir kartın tüm içerik genişliğine yayılması, "büyük boş  */
/* ekranda kaybolmuş küçük form" hissi veriyordu. Yalnız masaüstünde      */
/* kartı makul bir genişlikte ortalar; mobilde (breakpoint altında)       */
/* herhangi bir etkisi yoktur, kart olduğu gibi tam genişlikte kalır.     */
/* ---------------------------------------------------------------------- */
.dr-form-narrow {
    width: 100%;
}

@media (min-width: 992px) {
    .dr-form-narrow {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------------------------------------------------------------------- */
/* Yazdırma — yalnız içerik alanı basılsın                                */
/* ---------------------------------------------------------------------- */
@media print {
    .sidebar,
    .main-header,
    .footer,
    .dr-page-actions,
    .dr-no-print {
        display: none !important;
    }
    .main-panel {
        margin: 0 !important;
    }
}
