﻿/* ====================================================================
   IZOLOVANÝ BOOTSTRAP 5.3.3 S KORPORÁTNÍ BARVOU #FA4305
   Všechny styly platí VÝHRADNĚ uvnitř elementu s třídou .bootstrap-iso
   ==================================================================== */

.bootstrap-iso {
    /* Nastavení CSS proměnných pro vnitřní prvky Bootstrapu 5 */
    --bs-primary: #FA4305;
    --bs-primary-rgb: 250, 67, 5;
    --bs-link-color: #FA4305;
    --bs-link-hover-color: #D43500;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Reset typografie pro izolovaný kontejner */
    font-family: var(--bs-font-sans-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    box-sizing: border-box;
}

    .bootstrap-iso *, .bootstrap-iso *::before, .bootstrap-iso *::after {
        box-sizing: border-box;
    }

    /* --- GRID SYSTEM (Mřížka & Sloupce) --- */
    .bootstrap-iso .container {
        width: 100%;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
        margin-right: auto;
        margin-left: auto;
    }

    .bootstrap-iso .row {
        display: flex;
        flex-wrap: wrap;
        margin-top: calc(-1 * var(--bs-gutter-y, 0px));
        margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
        margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    }

        .bootstrap-iso .row > * {
            flex-shrink: 0;
            width: 100%;
            max-width: 100%;
            padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
            padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
            margin-top: var(--bs-gutter-y, 0px);
        }

    .bootstrap-iso .g-3, .bootstrap-iso .row-cols-3 > * {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .bootstrap-iso .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .bootstrap-iso .col-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

@media (min-width: 768px) {
    .bootstrap-iso .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .bootstrap-iso .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* --- KARTY (Cards) --- */
.bootstrap-iso .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 0.375rem;
}

    .bootstrap-iso .card > hr {
        margin-right: 0;
        margin-left: 0;
    }

.bootstrap-iso .card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

/* --- FORMULÁŘE & INPUTY --- */
.bootstrap-iso .form-label {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.bootstrap-iso .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .bootstrap-iso .form-control:focus {
        color: #212529;
        background-color: #fff;
        border-color: #FA4305 !important;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(250, 67, 5, 0.25) !important;
    }

.bootstrap-iso textarea.form-control {
    min-height: calc(1.5em + 0.75rem + 2px);
}

/* --- TLAČÍTKA (Buttons) --- */
.bootstrap-iso .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bs-font-sans-serif);
    font-weight: 700;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bootstrap-iso .btn-primary {
    color: #fff !important;
    background-color: #FA4305 !important;
    border-color: #FA4305 !important;
}

    .bootstrap-iso .btn-primary:hover {
        background-color: #D43500 !important;
        border-color: #D43500 !important;
    }

    .bootstrap-iso .btn-primary:active {
        background-color: #B02A00 !important;
        border-color: #B02A00 !important;
    }

.bootstrap-iso .btn-outline-secondary {
    color: #6c757d !important;
    border-color: #6c757d !important;
}

    .bootstrap-iso .btn-outline-secondary:hover {
        color: #fff !important;
        background-color: #6c757d !important;
    }

.bootstrap-iso .btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25rem 0.25rem;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://w3.org' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}

    .bootstrap-iso .btn-close:hover {
        opacity: 0.75;
    }

/* --- UPOZORNĚNÍ (Alerts) --- */
.bootstrap-iso .alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.bootstrap-iso .alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.bootstrap-iso .alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.bootstrap-iso .alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.bootstrap-iso .alert-dismissible {
    padding-right: 3rem;
}

    .bootstrap-iso .alert-dismissible .btn-close {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        padding: 1.25rem 1rem;
    }

/* --- POMOCNÉ TŘÍDY & ODRAZY (Utilities) --- */
.bootstrap-iso .d-none {
    display: none !important;
}

.bootstrap-iso .d-flex {
    display: flex !important;
}

.bootstrap-iso .justify-content-between {
    justify-content: space-between !important;
}

.bootstrap-iso .align-items-center {
    align-items: center !important;
}

.bootstrap-iso .shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.bootstrap-iso .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.bootstrap-iso .border {
    border: 1px solid #dee2e6 !important;
}

.bootstrap-iso .border-top {
    border-top: 1px solid #dee2e6 !important;
}

.bootstrap-iso .border-warning {
    border-color: #ffc107 !important;
}

.bootstrap-iso .bg-light {
    background-color: #f8f9fa !important;
}

.bootstrap-iso .text-center {
    text-align: center !important;
}

.bootstrap-iso .text-end {
    text-align: right !important;
}

.bootstrap-iso .text-muted {
    color: #6c757d !important;
}

.bootstrap-iso .text-dark {
    color: #212529 !important;
}

.bootstrap-iso .text-danger {
    color: #dc3545 !important;
}

.bootstrap-iso .text-warning-emphasis {
    color: #664d03 !important;
}

.bootstrap-iso .fw-bold {
    font-weight: 700 !important;
}

.bootstrap-iso .fw-semibold {
    font-weight: 500 !important;
}

.bootstrap-iso .text-uppercase {
    text-transform: uppercase !important;
}

.bootstrap-iso .mt-3 {
    margin-top: 1rem !important;
}

.bootstrap-iso .mt-4 {
    margin-top: 1.5rem !important;
}

.bootstrap-iso .mb-1 {
    margin-bottom: 0.25rem !important;
}

.bootstrap-iso .mb-3 {
    margin-bottom: 1rem !important;
}

.bootstrap-iso .mb-4 {
    margin-bottom: 1.5rem !important;
}

.bootstrap-iso .p-2 {
    padding: 0.5rem !important;
}

.bootstrap-iso .p-3 {
    padding: 1rem !important;
}

.bootstrap-iso .p-4 {
    padding: 1.5rem !important;
}

.bootstrap-iso .pt-3 {
    padding-top: 1rem !important;
}

.bootstrap-iso .pb-2 {
    padding-bottom: 0.5rem !important;
}

.bootstrap-iso .ms-2 {
    margin-left: 0.5rem !important;
}

.bootstrap-iso .me-2 {
    margin-right: 0.5rem !important;
}

.bootstrap-iso .small {
    font-size: 0.875rem !important;
}
