/* Style each radio option's label to include the radio icon and text */
#assistant-selection label {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;  /* subtle border */
    border-radius: 5px;
    padding: 8px 12px;
    margin-right: 15px;
    cursor: pointer;
}

/* Remove extra margin on the last option */
#assistant-selection label:last-of-type {
    margin-right: 0;
}

/* Add a small margin/padding between the radio input and the text */
#assistant-selection label input {
    margin-right: 8px;
}

/* Highlight the entire label when its radio input is checked */
#assistant-selection label:has(input:checked) {
    background-color: #e0f7ff;
    border: 2px solid #3884DE;
}


/*Handling dash Loading.... prompt on page opening */
._dash-loading {
    margin: auto;
    color: transparent;
    width: 0;
    height: 0;
    text-align: center;
}
  
._dash-loading::after {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    color: black;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
    margin-top: 2rem;
}

/* Base Styles */
body {
    background-color: #F0F0F0;
    font-family: 'Poppins', sans-serif;
    color: #686868;
    margin: 0;
    padding: 0;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 140px;
    width: 140px;
    margin-bottom: 5px;
}

h1, .banner-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 64px;
    color: #686868;
    line-height: 120%; /* Lineheight 120% */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.banner-subheading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 20px;
    color: #686868;
    line-height: 160%; /* Lineheight 160% */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.d-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Přidáme mezeru mezi prvky */
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #8C33BD;
    border: 2px solid #8C33BD;
    border-width: 1px;
    border-radius: 10px;
    margin: 5px; /* Přidáme mezeru mezi tlačítky */
    text-align: center;
    width: auto;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #686868;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #686868;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 16px;
    color: #686868;
}

h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #686868;
    font-style: italic;
}

h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 20px;
    color: #686868;
}

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #686868;
}

.navbar, .banner {
    background-color: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.nav-link {
    color: #686868;
    font-size: 16px;
    margin-right: 20px;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.login-button {
    color: #DE3873;
    font-size: 16px;
    text-decoration: none;
    margin-right: 20px;
}

.try-button {
    background-color: #DE3873;
    color: #FFFFFF;
    font-size: 16px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.try-button:hover {
    background-color: #c73163;
}

.banner {
    text-align: center;
    padding: 0px 0;
    background-color: #ECF3F5;
}

.search-box {
    background-color: #FFFFFF;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 800px;
}

.search-input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.search-button {
    background-color: #3884DE;
    color: #FFFFFF;
    font-size: 16px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    float: right;
}

.search-button:hover {
    background-color: #3066a9;
}

.buttons-container {
    text-align: center;
    margin-top: 20px;
}

.buttons-container .btn {
    margin: 5px;
}

.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
}

.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.section-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background-color: #FFFFFF;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 90%;
    text-align: justify;
}

.footer {
    background-color: #FFFFFF;
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid #E0E0E0;
}

.footer .footer-section {
    padding: 10px 15px;
}

.footer .footer-section p,
.footer .footer-section a {
    color: #686868;
    margin: 0;
    padding: 2px 0;
}

.footer .footer-section a:hover {
    text-decoration: underline;
}

.footer .footer-status {
    display: inline-block;
    vertical-align: middle;
    color: green;
}

.footer .social-icons i {
    margin: 0 5px;
    color: #686868;
}

.footer .social-icons i:hover {
    color: #8C33BD;
}

.footer .footer-logo img {
    height: 50px;
}

/* Contact Form Styles */
.contact-form-container {
    background-color: #FFFFFF;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 600px;
}

.contact-form-container .form-group {
    margin-bottom: 15px;
}

.contact-form-container label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #686868;
    margin-bottom: 5px;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #686868;
}

.contact-form-container textarea {
    height: 150px;
    resize: vertical;
}

.contact-form-container .submit-button {
    background-color: #DE3873;
    color: #FFFFFF;
    font-size: 16px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 100%;
}

.contact-form-container .submit-button:hover {
    background-color: #c73163;
}

footer {
    z-index: 1000; /* Ensure footer is above other elements */
    position: relative;
}

#vyznamni-klienti {
    background-color: #ECF3F5;
    padding: 50px 0;
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: scrollCarousel 20s linear infinite;
}

.carousel-item {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.carousel-item:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-track {
    display: flex;
    animation: scroll 100s linear infinite;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .card {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
        text-align: justify;
        margin: 0 auto;
    }

    .output-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .assistant-output {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }

    .footer-section {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-links {
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .block {
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .block > div {
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    h1, 
    .banner-heading,
    .col-md-8.mb-3.d-flex.align-items-center > div {
        text-align: center !important;
        font-size: 26px;
        width: auto;
        padding: 0 10px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .btn-secondary {
        width: 100%; /* Tlačítka budou přes celou šířku */
        margin: 5px 0; /* Přidáme vertikální mezeru mezi tlačítky */
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 14px;
    }

    h5 {
        font-size: 14px;
    }

    h6 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }

    .section-content {
        flex-direction: column;
        align-items: center;
    }

    .search-box {
        padding: 10px;
        margin: 10px;
    }

    .card {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 20px;
        text-align: center;
    }

    .navbar {
        margin: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar div {
        margin-bottom: 10px;
    }

    .container {
        padding: 0 15px;
    }

    .d-flex {
        display: block;
        text-align: center; /* Center align text */
    }

    .btn-secondary {
        display: inline-block;
        width: auto; /* Auto width for buttons */
        text-align: center; /* Center align text */
        margin: 5px 0; /* Vertical spacing */
    }

    .btn-secondary span {
        display: inline-block;
        margin-right: 10px;
    }

    .btn-secondary .inline-group {
        display: inline-block;
        margin-right: 0;
    }

    .btn-secondary span:nth-child(7) { /* Adjusts after 'NÁVRHY' */
        display: block;
        margin-right: 0;
        margin-top: 10px; /* Add some spacing */
    }

    .main-heading, .description {
        text-align: center;
    }
}

@media (max-width: 1630px), (max-height: 847px) {
    .hidden-banner {
        display: none;
    }
}        