﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
/*html {
    height: 100%;
}
body {
    padding-top: 100px;
    position: relative;
    margin: 0;
    padding-bottom: 150px;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
}*/


/* Tylko ikony w MudAutocomplete (lewy Adornment) */
.mud-input-adornment-icon-button .mud-icon-root {
    color: var(--mud-palette-secondary) !important;
    fill: var(--mud-palette-secondary) !important;
}
.file {
    visibility: hidden;
    position: absolute;
}
.table-responsive
{
    width:100%
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.navbar-nav > li > a {
    padding-top: 25px;
    padding-bottom: 25px;
}

.navbar-nav > li > .btn {
    padding: 16px 12px;
}

.footer {
    position: absolute;
    margin-top: 40px;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #222;
    color: #9d9d9d;
}

.footerPhone{
    font-size: 22px;
    font-weight: bold;
}
    /* Hide/rearrange for smaller screens */
    @media screen and (max-width: 767px) {
        .footer
        {
            font-size: 10px;
        }
        .footerPhone
        {
            font-size:12px;
        }


        /* Hide captions */
        .carousel-caption {
            display: none;
        }
        #footer {
            bottom: 0;
            position: relative;
            margin-bottom: 0px;
            font-size: 12px;
            background: #222;
            color: #9d9d9d;
            width: 100%;
            text-align: center;
        }
    }

    @media screen and (min-width: 768px) {
        .dl-horizontal-big dt {
            width: 400px;
        }

        .dl-horizontal-big dd {
            margin-left: 410px;
        }

    }


.agreement-html {
    max-height: 50vh;
    overflow: auto;
    border: 1px solid var(--mud-palette-lines-default,#e0e0e0);
    border-radius: 8px;
    background: #fff;
}

.signature-wrap {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center; /* środek w poziomie */
    margin: 0 auto; /* auto dla marginu wyśrodkuje jeśli ma max-width */
}

.signature-canvas {
    width: 100%;
    height: 100px;
    border: 1px dashed var(--mud-palette-lines-default,#c8c8c8);
    border-radius: 6px;
    background: #fff;
}

.signature-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: center; /* <— zamiast 'justify:' */
    align-items: center;
}

@media (max-width:600px) {
    .agreement-html {
        max-height: 40vh;
    }

    .signature-canvas {
        height: 100px;
    }
}

