:root {
    --color-transparent: transparent;
    --color-white: #fff;
    --color-blue: #003145;
    --color-blue-10: #D8F1FA;
    --color-blue-50: #A3E2F9
}

.bg-color-blue-10 {background-color: var(--color-blue-10) !important;}
.bg-color-blue-50 {background-color: var(--color-blue-50) !important;}


.border-color-blue-10 {border-color: var(--color-blue-10) !important;}
.border-color-blue-50 {border-color: var(--color-blue-50) !important;}

 .border-width-1, .border-width-2, .border-width-3 {border-style: solid;}

.border-width-1 {border-width: 1px;}
.border-width-2 {border-width: 2px;}
.border-width-3 {border-width: 3px;}

/* ================================================
   form01.css – styly pro žádanku PET/CT
   ================================================ */
.form-body {
    color: var(--color-blue)!important;
}

.form-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: 4px;
}

.form-header img{
    height:50px;
}

@media print {
    .form-header img {
        height: 30px;
    }
}

.form-body .form-control{
    border-radius: 0;
    border: solid 2px #3db7e4;
    padding: 2px;
    font-size: 0.9rem;
}

.form-body label:not(.form-check-label) {
    font-weight: 400;
}

.form-body .head-form-part label {
    color: var(--color-blue);
}

.form-footer {
}

.form-footer a {
    color: #0d6efd;
    text-decoration: none;
}

/* ── PDF: menší písmo (používá PdfService, který přidává class pdf-render na <body>) ── */
body.pdf-render {
    background-color: var(--color-white);
    font-size: 0.7rem;
}

body.pdf-render h1 { font-size: 1.2rem; }
body.pdf-render h2 { font-size: 1.1rem; }
body.pdf-render h3,
body.pdf-render h4,
body.pdf-render h5,
body.pdf-render h6 { font-size: 0.9rem; }

body.pdf-render .form-control,
body.pdf-render label {
    font-size: 0.75rem;
}

body.pdf-render .form-control {
    min-height: calc(1.5em + 4px); /* 1.5em = line-height textu, 4px = padding 2px × 2 */
}

body.pdf-render label .text-danger {
    display: none;
}

body.pdf-render .form-body p {
    margin-top: 0;
    margin-bottom: 5px;
}

/* Bootstrap mt-*/mb-* spacing: 1rem = 17px (html root) se nezmenší s body.font-size.
   Přepisujeme na hodnoty proporcionální k PDF textu (~12px). */
body.pdf-render .mt-1 { margin-top:  3px !important; }
body.pdf-render .mt-2 { margin-top:  6px !important; }
body.pdf-render .mt-3 { margin-top:  8px !important; }
body.pdf-render .mt-4 { margin-top: 12px !important; }
body.pdf-render .mt-5 { margin-top: 28px !important; }
body.pdf-render .mb-1 { margin-bottom:  3px !important; }
body.pdf-render .mb-2 { margin-bottom:  6px !important; }
body.pdf-render .mb-3 { margin-bottom:  8px !important; }
body.pdf-render .mb-4 { margin-bottom: 12px !important; }
body.pdf-render .mb-5 { margin-bottom: 16px !important; }
