/*site.css*/
:root {
    --shine-degree: 120deg;
    --shine-color: hsla(0,0%,100%,.3);
    --shine-effect: linear-gradient(var(--shine-degree),transparent,var(--shine-color),transparent);
    --shine-transition: all 0.95s ease-in-out;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

input, textarea, select, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-control {
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
}

button {
    user-select: none;
    cursor: pointer;
}

.topText {
    margin-top: 64px;
    margin-bottom: 12px;
}

.h1Text {
    color: #2f373d;
    font-size: 64px;
    font-family: 'Plus Jakarta Sans';
}

.h2Text {
    color: #2f373d;
    font-size: 48px;
    line-height: 140%;
}

.textCenter {
    text-align: center;
}

.wrapper {
    width: 100dvw;
    width: 100vw;
    height: 100dvh;
    height: 100vh;
}

.defaultButton {
    display: flex;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    height: auto;
    justify-content: center;
    line-height: 28px;
    margin-top: 16px;
    padding: 12px 16px;
    text-align: center;
    width: 100%;
    background: #0061ff;
    color: #fff;
    text-decoration: none;
    align-items: center;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
}

    .defaultButton:hover {
        color: #fff;
    }

.loginSigninButton {
    display: flex;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    height: auto;
    justify-content: center;
    line-height: 28px;
    margin-top: 16px;
    padding: 12px 16px;
    text-align: center;
    width: 80%;
    background: #0061ff;
    color: #fff;
    text-decoration: none;
    align-items: center;
    border: 0;
    margin: 0 auto; /* This will center the button */
    -webkit-appearance: none;
    appearance: none;
}

    .loginSigninButton:hover {
        color: #fff;
    }

.container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

    .container > main {
        padding-bottom: 0 !important;
    }

.sectionContainer {
    max-width: 1190px;
    padding: 0 40px;
    position: relative;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%, -50%);
    transform: translateX(-50%, -50%);
}

.section {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 16px #3031331a,0 0 1px #3031330d;
    padding: 36px 40px;
}

.section-login {
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: -44px;
}

.formTextInput {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #171717;
    border: 2px solid #d4d4d4;
    border-radius: 6px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    line-height: normal;
}

.verified-badge {
    position: absolute;
    top: -25px; /* Przesuń odznakę nad przyciskiem */
    left: 0; /* Dopasuj pozycję, jeśli potrzebujesz */
    z-index: 10;
    background: linear-gradient(45deg, #ff4500, #b22222); /* Gradacja czerwieni */
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: -3px;
    padding: 0px 15px;
    padding-bottom: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Lekki cień dla efektu "ognistego" */
}

    .verified-badge i {
        margin-right: 5px; /* Odstęp między ikoną a tekstem */
        font-size: 13px;
        color: yellow; /* Żółty płomień */
    }

.unpaid-invoice-highlight {
    border: 1.5px solid orange;
    border-radius: 16px;
    padding-top: 5px;
    position: relative;
}

.after-due-date {
    border: 1.5px solid red;
    border-radius: 16px;
    padding-top: 5px;
    position: relative;
}

.unpaid {
    display: inline-block;
    background-color: #dc8e00;
    color: white;
    padding: 4px 8px;
    margin-bottom: 5px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
}

.delayed-due-date {
    background-color: red;
    color: white;
    padding: 4px 8px;
    margin-bottom: 5px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
}

.unpaid i {
    margin-right: 5px; /* Odstęp między ikoną a tekstem */
    margin-left: 5px;
    font-size: 14px;
    color: white; /* Żółty płomień */
}

.btn-shine:before {
    animation: shine 3s ease-in-out infinite;
    background: var(--shine-effect);
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.btn-shine {
    overflow: hidden;
    position: relative;
    transition: transform .15s ease-out;
}

@keyframes shine {
    0% {
        left: -100%;
        transition-property: left;
    }

    17.8082%, 100% {
        left: 100%;
        transition-property: left;
    }
}

.text-danger li {
    list-style-type: none;
}

.navbar-toggler .fa {
    color: #111111; /* Biały kolor dla większej widoczności */
    font-size: 24px; /* Zwiększ rozmiar ikony */
}

.navbar-nav .nav-link {
    font-size: 1.2rem; /* Larger text */
    padding: 12px 20px; /* Larger clickable area */
    color: white; /* Change text color to white */
}

.menu-icon {
    font-size: 1.5rem; /* Larger icon */
    margin-right: 10px; /* Spacing between icon and text */
}

.offcanvas-header,
.offcanvas-body {
    background-color: #111111; /* Dark gray background for the menu */
}

.btn-close {
    width: 30px; /* Larger close button */
    height: 30px; /* Larger close button */
}

.table-container {
    width: 100%;
    margin: 50px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.back-chevron {
    position: absolute;
    top: 12px;
    left: 18px;
    color: lightgray;
    font-size: 1.5em;
    text-decoration: none;
    z-index: 1;
    padding: 10px;
    margin: -10px;
}

.help-container {
    margin: 20px auto;
}

.accordion {
    width: 100%;
    padding-bottom: 15px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    border: none;
    background: white;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    align-items: center;
    font-weight: 500;
    color: #333;
    transition: rotate 0.3s ease;
}

    .accordion-header:hover {
        background: #4d6bb7;
        color: white;
        font-weight: 700;
        scale: 1.01;
        transition: scale 0.3s ease;
    }

        .accordion-header:hover:after {
            color: white;
        }

    .accordion-header:after {
        content: '\f078'; /* chevron-down */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 0.8rem;
        color: #666;
        transition: transform 0.3s ease;
    }

    .accordion-header.active:after {
        transform: rotate(180deg); /* Rotate chevron when active */
    }

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out, padding 0.3s ease-out;
    border-top: 0px solid #e0e0e0;
    padding: 0;
    width: 95%;
    margin: 0 auto;
}

    .accordion-content.active {
        border-top-width: 1px;
        padding: 15px 0;
    }

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -webkit-appearance: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Fix iOS touch and click behavior */
input[type="submit"], input[type="button"], button {
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 992px) {
    .offcanvas {
        display: none;
    }
    /*    .navbar-toggler {
        display: block !important;
    }*/

    .offcanvas {
        width: fit-content !important;
        background: transparent !important;
        background-color: transparent !important;
        position: fixed !important;
        bottom: 0 !important;
        z-index: 1045 !important;
        display: flex !important;
        flex-direction: column !important;
        max-width: 100% !important;
        visibility: hidden !important;
        background-color: #fff !important;
        background-clip: padding-box !important;
        outline: 0 !important;
        transition: transform .3s ease-in-out !important;
    }

    .offcanvas-end {
        background: transparent !important;
        background-color: transparent !important;
    }

    .offcanvas-body {
        position: absolute !important;
        right: 0 !important;
        border-radius: 15px;
        padding: 6px !important;
        width: 222px;
    }

    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        padding-left: 0 !important;
        margin-bottom: 0 !important;
        list-style: none !important;
    }
}

@media screen and (max-width: 768px) {
    .table-container {
        padding: 10px;
    }

    .sectionContainer {
        padding: 0 20px;
    }

    .h1Text {
        font-size: 32px;
    }

    .h2Text {
        font-size: 32px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Specific iOS fixes */
@supports (-webkit-touch-callout: none) {
    input, select, textarea, button {
        font-size: 16px;
        border-radius: 6px;
    }

    .formTextInput {
        border-radius: 6px;
        line-height: 1.4;
    }
}
