/* ══════════════════════════════════════════════════════════════════════════
   nefes-admin.css — QİYMƏTLƏNDİRMƏ EKRANLARININ STİLLƏRİ (ms-admin daxilində)
   ══════════════════════════════════════════════════════════════════════════
   2026-09-22, panelə köçürmə Faza 2.

   Mənbə: köhnə sayt qatının `style.css` faylı. Ekranların düzəni QƏSDƏN dəyişmədi —
   mütəxəssis eyni imtahan/raport görünüşünü görür, yalnız sarğı panelinkinə çevrildi.

   ⚠️ HƏR SELEKTOR `.nefes-module` ilə məhdudlaşdırılıb. Səbəb iki qatlıdır:
     1. style.css-in generik selektorları (`input`, `select`, `textarea`, `.form`,
        `.alert`) prefikssiz qalsaydı panelin BÜTÜN səhifələrinin forma stilini əzərdi.
     2. `--main-color` iki sistemdə fərqlidir: panel `#0085ba`, Nefes `#824393`.
        Dəyişənlər `:root`-da yox, `.nefes-module`-da təyin olunur ki, panelin öz
        rəngi qalsın, bizim ekranlar isə brend rəngində görünsün.

   Yəni modul səhifəsinin məzmunu `<div class="nefes-module">` içində olmalıdır —
   əks halda heç bir stil tətbiq olunmur. Sarğını `nefes_module_open()` yazır
   (partials/admin/nefes-functions.php).

   ÇAP bloku avtomatik köçürülMƏYİB — əl ilə yenidən yazılıb (faylın sonu), çünki
   köhnə qaydalar sayt DOM zəncirinə (#outer-wrap > #wrap > #content-wrap > #primary)
   bağlı idi; paneldə zəncir .admin-area > .admin-area-blocks > .admin-content-dir.

   Fayl bundan sonra ƏL İLƏ redaktə olunur — mənbə style.css Faza 8-də silinir.
   ══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════ Şrift: Inter (lokal) ═══════════════
   Panelin admin.css-i də eyni @font-face-ləri verir, amma açıq səhifələr (/, /muraciet/)
   onu yükləmir — orada Inter tapılmır və Arial-a düşürdü. Google Fonts işlədilmir. */
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600 700;
    font-style: normal;
    font-display: swap;
}
.nefes-module input, .nefes-module select, .nefes-module textarea, .nefes-module button {
    font-family: var(--font-family);
}

.nefes-module {
    --main-color: #824393;
    --second-color: #101010;
    --light-color: #f5f5f5;
    --border-color: #cccccc;
    --form-height: 40px;
    --font-family: 'Inter', Arial, Helvetica, sans-serif;
    --border-radius: 5px;
    font-family: var(--font-family);
    line-height: 1.6;
    color: black;
}
.nefes-module a, .nefes-module a:visited {
    color: white;
    text-decoration: none;
    transition: .15s all;
}
.nefes-module h1, .nefes-module h2, .nefes-module h3, .nefes-module h4 {
    margin: 0;
    line-height: 1.3;
}


/* ═══════════════ Formalar və input-lar ═══════════════ */
/* Default input */
/* ⚠️ Bütün input-lar EYNİ çərçivədədir (1px #ddd) — ayrı-ayrı bloklarda `border: 0` yazmayın. */
.nefes-module input[type="text"], .nefes-module input[type="email"], .nefes-module input[type="password"], .nefes-module input[type="number"], .nefes-module input[type="search"], .nefes-module input[type="tel"], .nefes-module input[type="date"], .nefes-module input[type="url"], .nefes-module input:not([type]), .nefes-module select {
    -webkit-box-shadow: none;
            box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
    appearance: none;
    font-family: var(--font-family);
    width: 100%;
    border: 1px solid #ddd;
    height: var(--form-height);
    line-height: var(--form-height);
    padding: 0 15px;
    color: black;
    font-size: 15px;
    background: white;
    border-radius: var(--border-radius);
}
.nefes-module textarea {
    -webkit-box-shadow: none;
            box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
    appearance: none;
    font-family: var(--font-family);
    border: 1px solid #ddd;
    width: 100%;
    padding: 10px 15px;
    color: black;
    font-size: 15px;
    resize: vertical;
    min-height: 90px;
    border-radius: var(--border-radius);
}
.nefes-module input[type=radio] {
    -webkit-box-shadow: none;
            box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    position: absolute;
    cursor: pointer;
    background: white;
    top: 5px;
    left: 0;
}
.nefes-module input[type=radio]:checked {
    border-color: var(--main-color);
}
.nefes-module input[type=radio]:checked:before {
    content: '';
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 50%;
    background: var(--main-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.nefes-module input[type=radio] + label {
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding-left: 30px;
}
.nefes-module :not(.admin-checkbox) > input[type=checkbox] {
    -webkit-box-shadow: none;
            box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    background: white;
    top: 2px;
    left: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 5px;
}
.nefes-module :not(.admin-checkbox) > input[type=checkbox]:checked {
    background: var(--main-color);
    border-color: var(--main-color);
    color: white;
}
.nefes-module :not(.admin-checkbox) > input[type=checkbox]:checked:before {
    /* İşarə CSS ilə çəkilir — FontAwesome nə paneldə, nə də açıq səhifələrdə yüklənmir */
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.nefes-module :not(.admin-checkbox) > input[type=checkbox] + label {
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding-left: 30px;
    margin-bottom: 0;
}
.nefes-module input[type=file]::file-selector-button {
    background: var(--light-color);
    border: 1px solid #ddd;
    padding: 5px 15px;
}
.nefes-module sup, .nefes-module sub {
    font-size: 12px;
}
.nefes-module input::-webkit-outer-spin-button, .nefes-module input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.nefes-module input[type=number] {
    -moz-appearance: textfield;
}
.nefes-module select {
    -webkit-appearance: none;
    background-color: white;
    background-image: url(/uploads/extra/chevron-down.svg);
    background-repeat: no-repeat;
    background-position-x: calc(100% - 5px);
    background-position-y: 12px;
    background-size: 16px;
    cursor: pointer;
    padding-right: 30px;
}
/* Form */
.nefes-module .grecaptcha-badge {
    display: none;
}
/* Panelin admin.css-i `* { box-sizing: border-box }` verir, açıq səhifələr (/, /muraciet/)
   isə onu yükləmir — onsuz form-50 + padding 100%-i aşır və sahələr alt-alta düşürdü. */
.nefes-module, .nefes-module *, .nefes-module *:before, .nefes-module *:after {
    box-sizing: border-box;
}
.nefes-module .form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 0 -15px;
}
.nefes-module .form-group .form-element {
    padding: 0 15px 15px;
}
.nefes-module .form-100 {
    width: 100%;
}
.nefes-module .form-85 {
    width: 85%;
}
.nefes-module .form-50 {
    width: 50%;
}
.nefes-module .form-33 {
    width: 33.3%;
}
.nefes-module .form-25 {
    width: 25%;
}
.nefes-module .form-15 {
    width: 15%;
}
.nefes-module .form-element {
    padding-bottom: 15px;
	position: relative;
}
.nefes-module .form-element label {
    display: block;
    width: 100%;
    margin-bottom: 3px;
}
.nefes-module .form-simple-file label {
    border: 1px solid #ddd;
    padding: 10px 15px;
    cursor: pointer;
}
.nefes-module .fsf-blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.nefes-module .fsf-button {
    border: 1px solid #ddd;
    background: #eee;
    padding: 5px 15px;
    line-height: 1.3;
    margin-right: 10px;
}
.nefes-module .faf-items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}
.nefes-module .faf-items label {
    width: auto;
}
.nefes-module .faf-item {
    padding: 0 5px;
}
.nefes-module .faf-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.nefes-module .faf-item i {
    width: 80px;
    height: 80px;
    border: 2px dashed #ddd;
    line-height: 80px;
    text-align: center;
    font-size: 22px;
    background: #f5f5f5;
    cursor: pointer;
}
.nefes-module .form-result:not(:empty) {
    margin-top: 20px;
}
.nefes-module .form-simple-file input, .nefes-module .form-advanced-file input {
    display: none;
}
.nefes-module .form-choices {
    display: flex;
    flex-wrap: wrap;
}
.nefes-module .form-choices .form-choice {
    padding-right: 30px;
}
.nefes-module .form-choice {
    position: relative;
}
.nefes-module .form-element label span {
    color: red;
    font-weight: 600;
    margin-left: 5px;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
}
.nefes-module .alert {
    padding: 10px 15px 10px 55px;
    text-align: left;
    min-height: 42px;
	position: relative;
	color: white;
	border-radius: var(--border-radius);
	margin-bottom: 30px;
}
.nefes-module .alert:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    position: absolute;
    top: 10px;
    left: 18px;
}
.nefes-module .alert-danger {
    background: #dc2626;
}
.nefes-module .alert-success {
    background: #7f9f4d;
}
.nefes-module .alert-danger:before {
    content: "\f071";
}
.nefes-module .alert-success:before {
    content: '\f058';
}
@media (max-width: 650px) {
.nefes-module .form-50, .nefes-module .form-33, .nefes-module .form-25 {
		width: 100%;
	}
}




/* ═══════════════ Yüklənmə animasiyası (düymə spinner-i) ═══════════════ */
/* Loading */
.nefes-module .loading {
	color: transparent!important;
	position: relative;
	pointer-events: none;
}
.nefes-module .loading:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transition: opacity 0s ease;
    -webkit-transition: opacity 0s ease;
	opacity: 1;
    -webkit-animation: loading 450ms infinite linear;
    animation: loading 450ms infinite linear;
    transition: opacity .25s ease;
    -webkit-transition: opacity .25s ease;
}
.nefes-module .loading:before {
	visibility: hidden;
}
.nefes-module .small-loading-icon:after {
    width: 15px;
    height: 15px;
    margin-left: -7.5px;
    margin-top: -7.5px;
}
.nefes-module .big-loading-icon:after {
    width: 45px;
    height: 45px;
    margin-left: -22.5px;
    margin-top: -22.5px;
}
.nefes-module .light-loading-icon:after {
    border: 1px solid rgba(255,255,255,.3);
    border-left-color: #fff;
}
.nefes-module .dark-loading-icon:after {
    border: 1px solid rgba(0,0,0,.3);
    border-left-color: #000;
}
/* Panelin öz spinner-i — <span class="loading"> düymənin YANINA əlavə olunur.
   Yuxarıdakı düymə qaydaları (:before gizlətmə, :after halqa) ona tətbiq olunmasın,
   görünüş ms-admin/assets/css/admin.css → .loading-dən gəlsin. */
.nefes-module span.loading:before {
    visibility: visible;
}
.nefes-module span.loading:after {
    content: none;
}
@-webkit-keyframes loading {
    100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes loading {
    100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}




/* ═══════════════ Master düymələri və ikon qutusu ═══════════════ */
/* Master icon box */
.nefes-module .master-icon-box-area {
    margin-bottom: 15px;
}
.nefes-module .master-icon-box {
    display: flex;
    flex-wrap: wrap;
}
.nefes-module .master-icon {
    width: 50px;
}
.nefes-module .master-icon img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.nefes-module .master-icon-details {
    width: calc(100% - 50px);
    padding-left: 15px;
}
/* ═══════════════ Başlıq bloku: .master-heading-area ═══════════════
   Sol tərəfdə brend rəngli zolaq, qalın başlıq, boz izah. `.master-center-heading`
   variantında (raportlar) zolaq başlığın ALTINA, mərkəzə keçir. */
.nefes-module .master-heading-area {
    margin-bottom: 30px;
}
.nefes-module .master-heading {
    position: relative;
    padding-left: 16px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--second-color);
    letter-spacing: -.01em;
}
.nefes-module .master-heading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--main-color);
}
.nefes-module .master-description {
    margin-top: 10px;
    padding-left: 16px;
    max-width: 600px;
    font-size: 15px;
    line-height: 1.6;
    color: #6b6b7b;
}
.nefes-module .master-center-heading {
    text-align: center;
}
.nefes-module .master-center-heading .master-heading {
    padding-left: 0;
    padding-bottom: 12px;
}
.nefes-module .master-center-heading .master-heading:before {
    top: auto;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 4px;
    transform: translateX(-50%);
}
.nefes-module .master-center-heading .master-description {
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 650px) {
.nefes-module .master-heading {
        font-size: 20px;
    }
}

/* Master buttons */
.nefes-module .master-button, .nefes-module .master-outline-button, .nefes-module .master-color-button {
    height: var(--form-height);
    cursor: pointer;
    padding: 0 15px;
    border-radius: var(--border-radius);
    font-size: 16px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    position: relative;
    -webkit-transition: .15s all;
    -o-transition: .15s all;
    transition: .15s all;
}
.nefes-module .master-button {
    background: var(--main-color);
    color: white;
    border: 1px solid var(--main-color);
}
.nefes-module .master-outline-button {
    background: #fff;
    color: black;
    border: 1px solid var(--main-color);
}
.nefes-module .master-outline-button:hover {
    background: var(--main-color);
    color: white;
    border: 1px solid var(--main-color);
}
.nefes-module .master-color-button {
    background: var(--second-color);
    color: white;
    border: 1px solid var(--second-color);
}
.nefes-module .master-color-button:hover {
    background: #333333;
    border: 1px solid #333333;
}
/* ── Düymələrin ortaq düzəlişi (2026-09-22) ──
   1) <button> şrifti miras almır — Inter burada açıq verilir, brauzer çərçivəsi sıfırlanır.
   2) RƏNG :visited / :hover ilə birlikdə yazılır: `.nefes-module a:visited` (ağ) və panelin
      `.admin-content a:hover` (mavi) qaydaları spesifikliyə görə düymə rəngini əzirdi —
      ziyarət olunmuş outline düymə ağ fonda ağ, hover-də mavi mətn görünürdü. */
.nefes-module .master-button, .nefes-module .master-outline-button, .nefes-module .master-color-button, .nefes-module .login-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: var(--font-family);
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    box-sizing: border-box;
    margin: 0;
    outline: none;
}
.nefes-module .master-button, .nefes-module .master-button:visited, .nefes-module .master-button:hover,
.nefes-module .master-color-button, .nefes-module .master-color-button:visited, .nefes-module .master-color-button:hover,
.nefes-module .login-button, .nefes-module .login-button:hover {
    color: white;
}
.nefes-module .master-outline-button, .nefes-module .master-outline-button:visited {
    color: black;
}
.nefes-module .master-outline-button:hover {
    color: white;
}
.nefes-module .master-button:hover, .nefes-module .login-button:hover {
    filter: brightness(.92);
}
.nefes-module .login-button {
    border: 1px solid var(--main-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nefes-module .master-button:focus-visible, .nefes-module .master-outline-button:focus-visible, .nefes-module .master-color-button:focus-visible, .nefes-module .login-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(130, 67, 147, .3);
}
.nefes-module .master-button[disabled], .nefes-module .master-outline-button[disabled], .nefes-module .master-color-button[disabled], .nefes-module .login-button[disabled], .nefes-module .disabled-button {
    opacity: .6;
    cursor: not-allowed;
    pointer-events: none;
}
.nefes-module .master-wide-button {
    width: 100%;
}
.nefes-module form > .master-button {
    margin-bottom: 30px;
}




/* ═══════════════ Statistika, siyahılar (master-*), imtahan başlanğıcı, tablar, raport blokları ═══════════════ */
/* Stats */
.nefes-module .stat-blocks {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px -20px;
}
.nefes-module .stat-block {
    width: 25%;
    padding: 0 10px 20px;
    position: relative;
}
.nefes-module .stat-block a {
    display: block;
    border-radius: 5px;
    transition: .3s all;
}
.nefes-module .stat-block-inner {
    background: white;
    color: black;
    box-shadow: 0px 3px 20px rgb(0 0 0 / 4%);
    display: block;
    padding: 20px;
    border-radius: 5px;
    position: relative;
}
.nefes-module .stat-block a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgb(133 133 133 / 34%);
}
.nefes-module .stat-number {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.3;
    margin-top: 10px;
}
.nefes-module .stat-heading {
    color: #b0b8c4;
}
.nefes-module .stat-icon {
    font-size: 26px;
}
/* Keçid kartı (lövhədə «Qeydiyyat») — brend rəngində */
.nefes-module .stat-block-accent .stat-block-inner {
    background: var(--main-color);
    color: white;
}
.nefes-module .stat-block-accent .stat-heading {
    color: rgba(255, 255, 255, .75);
}
@media (max-width: 850px) {
.nefes-module .stat-block {
        width: 33.3%;
    }
}
@media (max-width: 650px) {
.nefes-module .stat-block {
        width: 50%;
    }
}
@media (max-width: 360px) {
.nefes-module .stat-block {
        width: 100%;
    }
}
/* master */
.nefes-module .master-options-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.nefes-module .master-options {
    display: flex;
    align-items: center;
    margin: 0 -10px;
}
.nefes-module .exam-table .master-options {
    flex-wrap: wrap;
}
.nefes-module .master-option {
    padding: 0 10px 10px;
}
.nefes-module .master-sort-area {
    display: flex;
    align-items: center;
}
.nefes-module .master-sort-select {
    position: relative;
}
.nefes-module .master-sort-select select {
    background-color: white;
    padding: 0 10px;
    border-radius: 5px;
    box-shadow: 0px 3px 20px rgb(223 223 223 / 4%);
    margin-left: 10px;
    height: 40px;
    line-height: 40px;
    font-weight: 600;
    width: 120px;
}
.nefes-module .master-search input, .nefes-module .master-result-search input {
    box-shadow: 0px 3px 20px rgb(223 223 223 / 4%);
}
.nefes-module .master-result-search {
    margin-right: 5px;
}
.nefes-module .master-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 3px 20px rgb(223 223 223 / 4%);
    background: white;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    line-height: 1.4;
}
.nefes-module .master-header .master-item {
    box-shadow: none;
    padding: 0;
    background: transparent;
    font-weight: 600;
    color: var(--main-color);
}
.nefes-module .master-block {
    width: 25%;
}
.nefes-module .master-name a {
    color: black;
    font-weight: 500;
}
.nefes-module .master-actions-name {
    text-align: right;
}
.nefes-module .master-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 -5px -5px;
}
.nefes-module .master-action {
    position: relative;
    padding: 0 5px 5px;
}
.nefes-module .master-tooltip {
    background: #444;
    color: white;
    border-radius: var(--border-radius);
    font-size: 13px;
    padding: 6px 10px;
    position: absolute;
    white-space: nowrap;
    bottom: calc(100% + 7px);
    opacity: 0;
    width: 80px;
    text-align: center;
    left: -15px;
    transition: .15s all;
}
.nefes-module .master-tooltip:before {
    content: '';
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #444;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.nefes-module .master-action:hover .master-tooltip {
    opacity: 1;
}
.nefes-module .master-action-item {
    cursor: pointer;
    color: white;
    border-radius: 5px;
    font-size: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: 600;
    display: block;
}
.nefes-module .master-action-raport {
    background: #ebae3e;
}
.nefes-module .master-action-edit {
    background: #7d9bfd;
}
.nefes-module .master-action-delete {
    background: #ff0000;
}
.nefes-module .master-action-view {
    background: #6bac6b;
}
.nefes-module .master-action-print {
    background: var(--main-color);
}
.nefes-module .staff-birthday span {
    color: #888;
    font-size: 14px;
    white-space: nowrap;
}
.nefes-module .no-speech-name {
    color: #666;
    font-size: 15px;
    margin-top: 3px;
}
@media (min-width: 500px) {
.nefes-module .helper-item {
        display: none;
    }
}
@media (max-width: 500px) {
.nefes-module .master-item {
        align-items: flex-start;
    }
.nefes-module .master-block {
        width: 50%!important;
        padding: 5px 0;
    }
.nefes-module .master-actions-name {
        display: none;
    }
.nefes-module .master-actions {
        width: 100%!important;
        justify-content: center;
    }
.nefes-module .staff-parent {
        text-align: center;
        color: #666;
        width: 100%!important;
    }
.nefes-module .staff-parent:before {
        content: 'Psixoloq: ';
    }
.nefes-module .master-header .staff-parent {
        display: none;
    }
.nefes-module .staff-birthday, .nefes-module .staff-student-count {
        text-align: right;
    }
.nefes-module .master-count {
        text-align: center;
        color: #666;
    }
.nefes-module .exam-table .master-header {
        display: none;
    }
.nefes-module .exam-table .master-block {
        width: 100%!important;
        display: flex;
        justify-content: space-between;
    }
}
/* Account settings */
.nefes-module .form {
    width: 500px;
    max-width: 100%;
}
.nefes-module .label-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    font-style: italic;
}
/* Login */
.nefes-module .guest-user.home {
    background: white;
    position: relative;
    overflow: hidden;
}
.nefes-module .guest-user.home:after {
    content: '';
    width: 46%;
    height: 200%;
    background: var(--main-color);
    position: absolute;
    top: -30%;
    left: 0;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}
.nefes-module .guest-user.home:before {
    content: '';
    width: 46%;
    height: 200%;
    background: #d2d9ef;
    position: absolute;
    top: -40%;
    left: 0;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}
.nefes-module .login-area {
    height: 100vh;
    display: flex;
    align-items: center;
}
.nefes-module .login-blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 -25px -40px;
}
.nefes-module .login-block {
    padding: 0 25px 40px;
}
.nefes-module .login-first {
    width: 50%;
}
.nefes-module .login-second {
    width: 480px;
    max-width: 50%;
}
.nefes-module .login-image {
    margin-bottom: 40px;
    width: 300px;
    max-width: 100%;
}
.nefes-module .login-heading {
    color: white;
    font-size: 36px;
    font-weight: 500;
    padding-right: 50px;
}
.nefes-module .login-description {
    color: #bbc5e7;
    font-size: 19px;
    margin-top: 15px;
}
.nefes-module .login-helpers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 15px;
}
.nefes-module .login-button {
    background: var(--main-color);
    color: white;
    height: 46px;
    padding: 0 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--border-radius);
}
.nefes-module .login-block input {
    background: #f9f9f9;
}
.nefes-module .form-element-password {
    position: relative;
}
.nefes-module .show-hide {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}
@media (max-width: 959px) {
.nefes-module:before, .nefes-module:after {
        display: none;
    }
.nefes-module .guest-user.home {
        overflow: visible;
    }
.nefes-module .login-area {
        height: 100%;
    }
.nefes-module .login-block {
        width: 100%;
        max-width: 100%;
    }
.nefes-module .login-heading {
        font-size: 26px;
        padding-right: 0;
    }
.nefes-module .login-second {
        order: 1;
    }
.nefes-module .login-form-area {
        padding: 60px 0;
    }
.nefes-module .login-info-area {
        padding: 60px 0 0;
    }
.nefes-module .login-first {
        order: 2;
        background: var(--main-color);
        text-align: center;
    }
.nefes-module .login-image {
        margin: 0 auto 30px;
    }
}
/* Begin exam */
.nefes-module .begin-exam-select {
    margin-right: 10px;
    margin-bottom: 10px;
}
.nefes-module .begin-exam-select select {
    background-color: white;
    padding: 0 10px;
    border-radius: 5px;
    box-shadow: 0px 3px 20px rgb(223 223 223 / 4%);
    min-width: 180px;
}
.nefes-module .begin-exam-form {
    display: flex;
    flex-wrap: wrap;
}
.nefes-module .begin-exam-form .loading {
    align-self: center;
    margin: 0 0 10px 10px;
}
.nefes-module .speech-checkbox {
    margin-bottom: 10px;
}
.nefes-module .begin-exam-note {
    width: 400px;
    max-width: 100%;
    margin-bottom: 20px;
    color: #606379;
}
.nefes-module .begin-quiz-button {
    margin-top: 15px;
}
.nefes-module .quiz-age-select {
    margin: 20px 0;
}
.nefes-module .quiz-age-select input {
    width: 100px;
}
.nefes-module .quiz-age-select label {
    font-weight: 600;
    padding-right: 10px;
}
@media (max-width: 500px) {
.nefes-module .begin-exam-select {
        width: 100%;
        margin-right: 0;
    }
}
/* Exam */
.nefes-module .child-exam-info {
    color: var(--main-color);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.nefes-module .child-exam-name {
    margin-right: 10px;
}
.nefes-module .exam-item {
    margin-bottom: 30px;
}
.nefes-module:not(.user-role-psychologist) .exam-item {
    pointer-events: none;
}
.nefes-module .exam-main-heading {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 20px;
}
.nefes-module .exam-question {
    margin-bottom: 10px;
}
.nefes-module .exam-question-item {
    margin-bottom: 5px;
    font-weight: 500;
}
/* Tabs */
.nefes-module .tabs-heading {
    list-style: none;
    margin: 0 0 30px;
    display: flex;
    flex-wrap: wrap;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.nefes-module .tabs-heading li {
    font-size: 12px;
    width: calc(100% / 8);
    text-align: center;
    background: white;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px 0 35px;
    line-height: 1.3;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.nefes-module .tabs-heading li:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 20px solid white;
    position: absolute;
    left: 100%;
    z-index: 1;
}
.nefes-module .tabs-heading .active-tab {
    background: var(--main-color);
    color: white;
}
.nefes-module .tabs-heading .active-tab:after {
    border-left-color: var(--main-color);
}
.nefes-module .tabs-body > .exam-item:not(:nth-child(1)) {
    display: none;
}
.nefes-module .tabs-body > div:first-child .exam-prev-button {
    display: none;
}
.nefes-module .tabs-body > div:last-child .exam-next-button {
    display: none;
}
@media (max-width: 500px) {
.nefes-module .tabs-heading li {
        width: 100%;
        height: 35px;
        padding: 0 10px;
    }
}
/* Final reports */
.nefes-module #final-report h2 {
    margin-bottom: 15px;
}
.nefes-module .final-report-info {
    font-weight: 500;
    color: var(--main-color);
    font-size: 18px;
    margin-bottom: 40px;
}
.nefes-module .final-reports {
    margin-left: 40px;
}
.nefes-module .final-reports-lines {
    border-bottom: 1px solid #999;
    border-left: 1px solid #999;
    position: relative;
}
.nefes-module .final-reports-lines:before {
    content:'';
    position: absolute;
    bottom: 80%;
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #999;
    z-index: 1;
}
.nefes-module .final-reports-lines:after {
    content:'';
    position: absolute;
    bottom: 50%;
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #999;
    z-index: 1;
}
.nefes-module .final-reports {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}
.nefes-module .final-report-line-area {
    height: 150px;
    width: 30px;
    margin: 0 auto;
    position: relative;
}
.nefes-module .final-report-line {
    background: red;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.nefes-module .final-report-heading {
    font-weight: 500;
    padding: 15px;
    line-height: 1.3;
}
.nefes-module .final-reports-numbers {
    position: absolute;
    left: -40px;
    text-align: right;
    font-weight: 500;
    height: 150px;
}
.nefes-module .final-reports-number {
    position: absolute;
    font-size: 13px;
}
.nefes-module .final-reports-number-0 {
    bottom: calc(0% - 12px);
}
.nefes-module .final-reports-number-50 {
    bottom: calc(50% - 12px);
}
.nefes-module .final-reports-number-80 {
    bottom: calc(80% - 12px);
}
.nefes-module .final-reports-number-100 {
    bottom: calc(100% - 12px);
}
.nefes-module .result-note-area {
    margin-top: 30px;
}
.nefes-module .result-note-area h2 {
    margin-bottom: 15px;
}
@media (max-width: 767px) {
.nefes-module .final-report-heading {
        font-size: 12px;
    }
.nefes-module .final-report-line-area {
        width: 15px;
    }
}





/* ═══════════════ Nəticələr siyahısı və raport başlığı ═══════════════ */
/* Results */
.nefes-module .result-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: var(--border-radius);
}
.nefes-module .result-status.result-continue {
    background: #ededff;
    color: #111169;
}
.nefes-module .result-status.result-success {
    background: #caffca;
    color: #015c01;
}
.nefes-module .result-section {
    border-bottom: 1px solid #ccc;
    padding: 30px 0;
}
.nefes-module .result-section-key {
    font-weight: 500;
    color: var(--main-color);
    font-size: 18px;
}
.nefes-module .result-question-blocks {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px -15px;
}
.nefes-module .result-question-block {
    width: 50%;
    padding: 0 15px 15px;
}
.nefes-module .rqb-main-heading {
    font-weight: 500;
    padding: 15px 0;
}
.nefes-module .export-pdf {
    margin-top: 30px;
}
.nefes-module .result-question {
    line-height: 1.3;
    margin-bottom: 7px;
}
@media (max-width: 360px) {
.nefes-module .result-question-block {
        width: 100%;
    }
}
/* Main raport */
.nefes-module .main-raport .final-report-line-area {
    width: 95px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.nefes-module .main-raport .final-report-line {
    position: relative;
    width: 30px;
}
.nefes-module .main-raport .final-report-line:before {
    content: attr(data-percent);
    position: absolute;
    bottom: 100%;
    left: 0;
    font-size: 13px;
    width: 30px;
    text-align: center;
    font-weight: 500;
}
.nefes-module .final-report-colors {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.nefes-module .final-report-color {
    position: relative;
    margin-right: 30px;
}
.nefes-module .fr-color {
    width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 50%;
}
.nefes-module .fr-text {
    padding-left: 20px;
}
.nefes-module .no-speech {
    display: table;
    background: #ff4545;
    padding: 3px 15px;
    color: white;
    margin-top: 10px;
}
.nefes-module .textarea-to-div {
    background: white;
    border-radius: 10px;
    padding: 10px;
    min-height: 90px;
    line-height: 1.3;
    display: none;
}
@media (max-width: 767px) {
.nefes-module .main-raport .final-report-line-area {
        width: 50px;
    }
.nefes-module .main-raport .final-report-line {
        width: 15px;
    }
.nefes-module .main-raport .final-report-line:before {
        font-size: 10px; 
        width: auto;
    }
}





/* ═══════════════ Uşaq məlumatı, quiz, dairə profili, qrafik, GOBDÖ ═══════════════ */
/* Userdata */
.nefes-module .userdata-block:not(:last-child) {
    margin-bottom: 40px;
}
.nefes-module .userdata-heading {
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--second-color);
}
/* Quiz */
.nefes-module .quiz-questions:empty + .quiz-subject-name {
    display: none;
}
.nefes-module .quiz-subject-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}
.nefes-module .quiz-question-block {
    margin-bottom: 15px;
    background: #e0e5eb;
    padding: 5px 15px;
    border-radius: 8px;
    border: 1px solid #e0e5eb;
}
.nefes-module .quiz-question-block.answered {
    background: transparent;
}
.nefes-module .quiz-question span {
    color: #888;
    padding-left: 10px;
}
/* Circle */
.nefes-module .raport-type-area {
    margin-top: 40px!important;
}
.nefes-module .circle-area {
    display: table;
    margin: 0 auto;
}
.nefes-module .circle-blocks {
    display: flex;
    flex-wrap: wrap;
    width: 500px;
    background: white;
    border-radius: 50%;
}
.nefes-module .circle-block {
    position: relative;
    width: 250px;
    height: 250px;
}
.nefes-module .circle {
    position: absolute;
}
.nefes-module .circle-2 {
    z-index: 1;
}
.nefes-module .circle-first {
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.nefes-module .circle-second {
    border-bottom: 1px solid #000;
}
.nefes-module .circle-third {
    border-right: 1px solid #000;
}
.nefes-module .circle-first .circle {
    bottom: 0;
    right: 0;
    border-left: 2px solid #000;
}
.nefes-module .circle-second .circle {
    bottom: 0;
    left: 0;
    border-right: 2px solid #000;
}
.nefes-module .circle-third .circle {
    top: 0;
    right: 0;
    border-left: 2px solid #000;
}
.nefes-module .circle-fourth .circle {
    top: 0;
    left: 0;
    border-right: 2px solid #000;
}
.nefes-module .circle-headings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}
.nefes-module .circle-heading {
    width: 50%;
}
.nefes-module .circle-heading:last-child {
    text-align: right;
}
/* Graphic */
.nefes-module .graphic-blocks-area {
    position: relative;
    margin-top: 80px;
}
.nefes-module .graphic-blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.nefes-module .graphic-elements {
    width: 40px;
    height: 840px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    padding-right: 15px;
}
.nefes-module .graphic-items {
    width: calc(100% - 40px);
    border-left: 1px solid #ccc;
}
.nefes-module .graphic-item {
    height: 10px;
    border-bottom: 1px solid #ccc;
}
.nefes-module .active-graphic-item {
    border-color: #777;
}
.nefes-module .graphic-element {
    line-height: 0;
    font-weight: 600;
    font-size: 15px;
}
.nefes-module .graphic-results {
    height: 850px;
    display: flex;
    width: calc(100% - 40px);
    position: absolute;
    top: 0;
    right: 0;
}
.nefes-module .graphic-result {
    width: calc(100% / 7);
    text-align: center;
    position: relative;
}
.nefes-module .graphic-result:before {
    content: '';
    width: 1px;
    height: 100%;
    background: #ddd;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.nefes-module .graphic-result-heading-area {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}
.nefes-module .graphic-result-heading {
    white-space: nowrap;
}
.nefes-module .graphic-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nefes-module .graphic-future-dot {
    background: #296ba7;
}
.nefes-module .graphic-current-dot {
    background: red;
}
.nefes-module .graphic-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
}
/* gobdo */
.nefes-module .table-a2-area {
    margin-top: 15px;
}
.nefes-module .extra-results-notes {
    padding-bottom: 15px;
}



/* ═══════════════ Cavablanmış quiz bölməsi ═══════════════ */
/* Cavablanmış quiz bölməsi — bütün sualları işarələnəndə başlıq yaşıl işarə alır */
.nefes-module .quiz-block-item.answered .quiz-subject-name {
    color: #0A9396;
}
.nefes-module .quiz-block-item.answered .quiz-subject-name:after {
    content: '✔';
    padding-left: 8px;
    font-size: 15px;
}



/* ═══════════════ Konsultasiya blankı, siyahısı və detalı ═══════════════ */
/* ═══════════════ PASİYENT MÜRACİƏTLƏRİ / KONSULTASİYA BLANKI ═══════════════
   Blank: /muraciet/ (qonaq üçün də açıqdır), siyahı və detal: /muracietler/
   Şablonlar: partials/templates/application/{form,list,single}.php */
/* — Qonaq (login olunmamış) halında sarğı: header.php #primary div-ini açmır — */
.nefes-module .application-guest-area {
    padding: 40px 0 60px;
}
/* Loqo blankın İÇİNDƏ, yuxarı mərkəzdədir (templates/application/form.php) */
.nefes-module .application-form-logo {
    text-align: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eef1f4;
}
.nefes-module .application-form-logo img {
    max-height: 65px;
    width: auto;
    display: inline-block;
}
/* — Blank forması — */
.nefes-module .application-form-area {
    width: 760px;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: var(--border-radius);
    padding: 30px;
}
.nefes-module .application-section {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef1f4;
}
.nefes-module .application-section:last-of-type {
    border-bottom: 0;
}
.nefes-module .application-section-heading {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--main-color);
}
.nefes-module .application-section input[type="radio"] {
    top: 2px;
}
/* «Həkim tövsiyəsi» seçiləndə açılan sahə — master.js ilə göstərilib gizlədilir */
.nefes-module .application-source-doctor {
    margin-top: 15px;
}
.nefes-module .application-form-area textarea {
    min-height: 90px;
}
/* Blankın altı — kartın xaricində, çəhrayı fonda (pages/muraciet.php) */
.nefes-module .application-form-footer {
    text-align: center;
    margin-top: 25px;
    color: white;
}
.nefes-module .application-form-footer a {
    font-weight: 600;
    text-decoration: underline;
}
/* — Login səhifəsindəki «Qeydiyyat» bloku — */
.nefes-module .login-registration {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef1f4;
    text-align: center;
}
.nefes-module .login-registration-text {
    margin-bottom: 10px;
    color: #666;
}
/* — Siyahı: axtarış filtri — */
.nefes-module .application-options-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.nefes-module .application-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -5px 10px;
}
.nefes-module .application-filter-item {
    padding: 0 5px 5px;
}
.nefes-module .application-filter-item input[type="text"], .nefes-module .application-filter-item select {
    min-width: 200px;
}
.nefes-module .application-filter-reset {
    margin-left: 5px;
}
.nefes-module .application-empty {
    padding: 25px 0;
    color: #666;
}
/* Siyahıda ikinci sətir — yaş və valideynin telefonu (span yox, alt sətir). */
.nefes-module .application-subline {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}
/* — Status nişanı — */
.nefes-module .application-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
    line-height: 20px;
    color: #fff;
    background: #999;
}
.nefes-module .application-status-new {
    background: #EE9B00;
}
.nefes-module .application-status-continue {
    background: #0A9396;
}
.nefes-module .application-status-completed {
    background: var(--main-color);
}
.nefes-module .application-status-cancelled {
    background: #AE2012;
}
/* Ləğv edilmiş müraciət siyahıda qalır, amma sönük görünür. */
.nefes-module .master-item.application-cancelled {
    opacity: .65;
}
/* — Detal səhifəsi — */
.nefes-module .application-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.nefes-module .application-head-title {
    display: flex;
    align-items: center;
}
.nefes-module .application-head-title h2 {
    margin: 0 12px 0 0;
}
/* «Çap et» + «Siyahıya qayıt» — dar ekranda alt-alta düşür */
.nefes-module .application-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.nefes-module .application-card {
    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
}
.nefes-module .application-rows {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.nefes-module .application-row {
    width: 50%;
    padding: 0 10px 15px;
}
.nefes-module .application-row-label {
    color: #888;
    font-size: 14px;
    margin-bottom: 2px;
}
.nefes-module .application-row-value span {
    color: #888;
}
/* — Yaş qrupu seçimi — */
.nefes-module .application-group-select {
    margin-bottom: 25px;
}
.nefes-module .application-group-select select {
    max-width: 400px;
}
.nefes-module .application-group-hint {
    margin-top: 6px;
    color: #888;
    font-size: 14px;
}
/* — Rəy və düymələr — */
.nefes-module .application-note-area {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef1f4;
}
.nefes-module .application-note-area label {
    font-weight: 600;
}
.nefes-module .application-note-area textarea {
    min-height: 140px;
}
.nefes-module .application-result {
    margin-top: 15px;
    padding: 12px 15px;
    background: #f3f6f8;
    border-radius: var(--border-radius);
}
.nefes-module .application-result span {
    color: #888;
}
.nefes-module .application-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
@media screen and (max-width: 767px) {
.nefes-module .application-form-area {
        padding: 20px;
    }
.nefes-module .application-row {
        width: 100%;
    }
.nefes-module .application-filter-item input[type="text"], .nefes-module .application-filter-item select {
        min-width: 100%;
    }
.nefes-module .application-filter-item {
        width: 100%;
    }
}



/* ═══════════════ ÇAP / «PDF kimi saxla» (panel DOM-u üçün yenidən yazılıb) ═══════════════
   Raport səhifəsindəki düymə window.print() çağırır (nefes-admin.js → printReport()).
   Brauzerin çap pəncərəsində «Save as PDF» seçilir.

   ⚠️ Gizlətmə zənciri PANELİN DOM-una görədir. Sayt qatındakı köhnə variant
   `#outer-wrap > #wrap > #content-wrap > #primary > #content` zəncirini gəzirdi;
   paneldə zəncir belədir:
       body > .admin-area > .admin-area-blocks > .admin-content > .nefes-module
   Bir halqa unudulsa həmin qat çapa düşür (admin bar, yan menyu, media kitabxanası).
   Bu qaydalar QƏSDƏN `.nefes-module` prefiksi ALMIR — onlar panelin öz qatlarını
   gizlədir, yəni prefiks qoyulsa heç nəyə uyğun gəlməzdilər. */
@media print {

    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    body > *:not(.admin-area),
    .admin-area > *:not(.admin-area-blocks),
    .admin-area-blocks > *:not(.admin-content),
    .admin-content > *:not(.nefes-module),
    .nefes-module > *:not(#final-report):not(#final-extra-report) {
        display: none !important;
    }

    html,
    body {
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .admin-area,
    .admin-area-blocks,
    .admin-content,
    .nefes-module,
    #final-report,
    #final-extra-report {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        border: none !important;
        box-shadow: none !important;
        background: none !important;
        overflow: visible !important;
    }

    /* Dairə profili və qrafik sütunlarının rəngləri çapda itməsin */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Hər bölmə ayrı səhifədə açılsın */
    #final-extra-report,
    #final-report > .raport-type-area,
    #final-extra-report > .raport-type-area,
    #final-report > h2 ~ h2 {
        break-before: page;
        page-break-before: always;
    }

    /* Bölmənin ilk elementi üçün əlavə boş səhifə yaranmasın */
    #final-report > *:first-child,
    #final-extra-report > *:first-child {
        break-before: auto !important;
        page-break-before: auto !important;
    }

    /* Kontent ortadan qırılmasın */
    table,
    tr,
    .circle-area,
    .circle-blocks,
    .graphic-blocks-area,
    .table-a2-area,
    .final-reports,
    .final-report-line-area,
    .result-note-area,
    .extra-results-notes,
    .form-element {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Formalar: düymələr və redaktə sahələri çapa düşməsin, qeydlər mətn kimi görünsün */
    .form-submit,
    .save-notes,
    .master-button,
    .master-color-button,
    .export-pdf,
    .page-title .add-button,
    #form-notes textarea {
        display: none !important;
    }

    .textarea-to-div {
        display: block !important;
        white-space: pre-wrap;
        border: 1px solid #ddd;
        border-radius: 10px;
        min-height: auto;
    }

    /* Arxa fonda mərkəzdə loqo (su nişanı). Şəkilin ünvanı şablonda inline <style>
       ilə verilir — report_logo() (bu saytda həmişə Nefes loqosu). */
    body:after {
        content: '';
        position: fixed;
        top: 50%;
        left: 50%;
        width: 55%;
        height: 55%;
        transform: translate(-50%, -50%);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        opacity: .07;
        pointer-events: none;
    }
}
