.page-section {
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

html {
    height: max-content;
}

.responsive-img {
    max-width: 431px;
    max-height: 490px;
    width: 100%;
    height: auto;
    padding-top: 5px;
}

.main-container {
    display: flex;
    height: 100vh;
    padding: 0;
    overflow-y: auto;
    margin: 0;
    max-width: 100%;
    /* margin: 100px auto 0 auto !important; */
    width: 100%;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    flex-direction: column;
}
.main-container::-webkit-scrollbar {
     display: none; /* Pro Chrome, Safari */
 }

.menuSettings {
    flex-grow: 1;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section {
    padding: 15px;
    width: 100%;
    max-height: 570px;
    overflow: auto;
    max-width: 540px;
}

.display-none {
    display: none;
}

.resend-link {
    margin: 0;
    color: grey !important;
    text-align: center;
    display: flex;
    text-decoration: underline !important;
    align-items: center;
    justify-content: center;
}

.d-flex {
    display: flex;
}

#resendVerifyInfoFail {
    color: red;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

#resendVerifyInfo {
    color: green;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

.flash-messages {
    max-width: 392px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: white;
    height: 90px;
    position: absolute;
    z-index: 50;
    top: 27%;
    left: 43%;
    border-radius: 0.5rem;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.flash-messages.fade-out {
    opacity: 0;
}


.flash {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 16px;
}

.errors {
    list-style-type: none; /* Remove bullets */
    margin: 0;
    padding: 0;
}

.errors li {
    background-color: red;
    color: white;
    padding: 15px;
    border-radius: 0.5rem;
    text-align: left;
    margin-bottom: 15px;
}

.flash.success {
    background-color: #ffffff; /* Green */
    color: #000000;
}

.flash.error {
    background-color: #f44336; /* Red */
    color: white;
}

.flash.info {
    background-color: #0069d9; /* Blue */
    color: white;
}

.faq-col {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-headset {
    display: flex;
    flex-direction: column;
    margin-top: -40px
}

.support-img {
    width: 135px;
    height: 135px;
}

.menuSettings > a {
    flex-grow: 1;
    padding-bottom: 10px;
}

.mar-center {
    margin: 0 auto 50px auto;
}

.menuSettings span {
    margin-top: 10px;
}

.flex-box {
    margin-bottom: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 992px) {
    .menuSettings {
        width: 100%;
        max-width: 380px;
    }
}

.logged #loginForm {
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 992px) {
    .row > .col-lg-4:has(#loginForm) {
        width: 100%;
        max-width: 380px;
        flex: unset;
    }
}

@media screen and (min-width: 992px) {
    .overviewCards > a {
        width: 100%;
    }

    .col--send-money {
        width: 100%;
    }
}

@media screen and (max-width: 992px) {

    body {
        background: rgb(255, 255, 255) !important;
    }

    .overviewCards > a:not(.active) {
        display: none;
    }

    .overviewCards {
        width: 100%;
    }

    .overviewCards a {
        width: 100%;
    }

    .overviewCards > a > div {
        width: 100%;
    }

    .menu-mobile-container a {
        text-decoration: unset;
    }

    .menu-mobile-container a.active {
        font-weight: bold;
    }

    #about-section {
        display: flex;
        margin-top: 60px !important;
        flex-direction: column !important;
    }
    #login{
        margin-top: 60px !important;
    }
}

@media screen and (min-width: 992px) {
    .desktop-hide {
        display: none !important;
    }

    .menu-mobile-container {
        display: none;
    }
}

.anonymous {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    opacity: 0.6;
}

.anonymous > * {
    padding: 0;
    margin: 0;
    position: static !important;
    font-size: 16px;
    font-weight: 500;
}

.anonymous button {
    border: unset;
}

@media screen and (max-width: 600px) {
    .mob-hidden {
        display: none !important;
    }
}

.tingle-enabled {
    overflow: auto !important;
    height: auto !important;
}

.login-footer {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    margin: auto;
}

@media (max-width: 991.98px) {
    .navbar-expand-lg > .container, .navbar-expand-lg > .container-fluid {
        padding-right: 15px;
        padding-left: 15px;
    }

    .faq-section {
        max-height: 100% !important;
        overflow: hidden;
    }
}

@media screen and (max-width: 991px) {
    /*.form-section {*/
    /*    align-items: normal !important;*/
    /*}*/

    .menu-mobile-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        min-height: 50px;
        margin-bottom: 20px;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;
        max-width: 420px;
        border-radius: 20px;
        margin-left: auto;
        margin-right: auto;
        background: #F8F9FB;
    }

    .menu-mobile-container a {
        background: white;
        border-radius: 12px;
        opacity: .5;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
    }

    .menu-mobile-container a.active {
        opacity: 1;
        background: white;
    }

    .menu-mobile-container > span {
        display: none;
    }
}

@media (min-width: 993px) {
    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.8);
        visibility: hidden;
        opacity: 0;
    }
}

@media (max-width: 993px) {
    .overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        visibility: hidden;
        opacity: 0;
    }
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

@media (min-width: 993px) {
    .popup {
        position: fixed;
        bottom: 20%;
        left: 0px;
        right: 0px;
        top: 20%;
        margin: 0px auto 0;
        padding: 20px;
        background: white;
        border-radius: 10px 10px 10px 10px;
        width: 30%;
        height: 520px;
        transition: all 5s ease-in-out;
    }
}

@media (max-width: 993px) {
    .popup {
        position: fixed;
        bottom: 0px;
        left: 10px;
        right: 10px;
        top: 20px;
        margin-bottom: 20px !important;
        padding: 20px;
        background: white;
        border-radius: 10px;
        width: 30%;
        margin: auto;
        transition: all 5s ease-in-out;
    }
}

.divider-full-width {
    color: grey;
    margin: 0px -20px 0px;
}

.popup h5 {
    text-align: left;
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 15px;
    right: 20px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #000000;
}

@media (min-width: 993px) {
    .popup .content {
        max-height: 90%;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media (max-width: 993px) {
    .popup .content {
        padding-left: 5px;
        padding-right: 5px;
        max-height: 90%;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media (min-width: 993px) {
    #scrollbar {
        padding: 10px;
    }

    #scrollbar::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: white;
    }

    #scrollbar::-webkit-scrollbar {
        width: 8px;
        border-radius: 10px;
        background-color: white;
    }

    #scrollbar::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #f2f2f2;
    }
}

.form-section {
    display: flex;
    gap: 50px;
    width: auto;
    flex-direction: column;
    align-items: center;
}

.form-control {
    width: 100%;
}

#scrollbar {
    margin-top: 20px
}

.min-w {
    min-width: 332px;
}

.gap-0 {
    gap: 0;
}

.col {
    padding: 0;
}

.login-box {
    height: 100%;
    max-width: 100%;
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: space-around;
}

@media screen and (max-width: 993px) {
    .popup {
        width: 90%;
    }

    .mar-20 {
        margin-top: 20px;
    }

    .login-box {
        display: flex;
        flex-direction: column-reverse;
    }
    .responsive-img {
        max-width: 360px !important;
        width: 100%;
        height: auto;
        padding-top: 5px;
    }
    #mainNav .navbar-nav .nav-item .nav-link {
        padding: 0 !important;
        font-size: 25px;
    }

    .navbar-nav {
        display: flex;
        gap: 15px;
        flex-direction: row;
    }
}

@media (max-width: 900px) {
    .mobile-hidden {
        display: none !important;
    }

    .mobile-show {
        display: flex !important;
    }
}

.mobile-show {
    display: none;
}

.w-100 {
    width: 100%;
}

.m-w-332 {
    min-width: 332px;
}

#about-section {
    width: 100%;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.flex-column {
    gap: 80px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 993px) {
    #scrollbar {
        padding-right: 10px;
        height: 550px;
        background: transparent;
        text-align: justify;
    }

    #scrollbar::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #f2f2f2;
    }

    #scrollbar::-webkit-scrollbar {
        width: 8px;
        border-radius: 10px;
        background-color: #f2f2f2;
    }

    #scrollbar::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: lightgrey;
    }
}

/*a:hover {*/
/*    color: #2975ff !important;*/
/*}*/

.mb-40 {
    margin-bottom: 40px;
}

details {
    background-color: #f8f9fa;
    color: #000;
    font-size: 1.0rem;
    border-radius: 5px;
    margin-bottom: 20px;
}

.slider .items {
    font-size: 0;
    position: relative;
}

.slider .items .item {
    font-size: 16px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #cacaca;
    border-radius: 30px;
    margin: 15px;
}

.slider .items .item img {
    margin: 0 auto;
    width: 100%;
    height: auto;
}

@media screen and (min-width: 1200px) {
    .slider-3 .item {
        width: calc(33.333% - 30px);
    }

    .slider ul {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .slider .items {
        white-space: nowrap;
        overflow-x: hidden;
        width: 100%;
    }

    .slider .items > div {
        position: relative;
    }

    .slider .items .item {
        white-space: normal;
    }

    .slider ul {
        display: block;
        text-align: center;
        padding: 0;
        margin: 3px 0 10px;
    }

    .slider li {
        display: inline-block;
        width: 10px;
        height: 10px;
        padding: 5px;
        border: 1px solid #cacaca;
        border-radius: 20px;
        margin: 0 10px;
    }

    .slider li.active::before {
        content: '';
        background-color: transparent;
        width: 10px;
        height: 10px;
        border-radius: 20px;
        border: 1px solid white;
        position: absolute;
        top: 0;
        left: 0;
    }

    .slider li.active {
        background-color: #157FFF;
        border-color: #157FFF;
        position: relative;
    }
}

@media screen and (min-width: 768.97px) and (max-width: 1199.97px) {
    .slider-3 .item {
        width: calc(50% - 30px);
    }

    .slider-3 ul li:last-child {
        display: none;
    }
}

@media screen and (max-width: 768.97px) {
    .slider-3 .item {
        width: calc(100% - 30px);
    }

    .flash-messages {
        top: 13% !important;
        left: 3% !important;
    }
}

.btn-primary {
    background: #2975ff;

}

@keyframes bodyanim {

    0% {
        background-position: 0%;
    }
    100% {
        background-position: 100%;
    }
}

html {
    overflow-y: scroll;
}

body {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(247, 247, 247, 1) 100%);

}

@media (min-width: 1025px) {
    body {
        background: white !important;
        background-repeat: no-repeat !important;
        height: 100vh;
    }
}


body.white {
    background: white;
}

body.white .navbar-toggler {
    display: none;
}

.error > input {
    border-color: red;
}

div:not(.error) .input-error-msg {
    display: none;;
}

div.error .input-error-msg {
    padding: 10px 0;
    display: block;
    color: red;
}

.form-floating-prefix {
    position: relative;
}

.form-floating-prefix > label {
    position: absolute;
    left: 14px;
    top: 17px;
    opacity: 0.65;
}

.form-floating-prefix input {
    padding: 1rem .75rem 1rem 2rem;
}

.form-control.disabled, .form-control:read-only {
    background-color: white;
}

@media screen and (max-width: 991.97px) {
    .mobile-hide {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .pc-hide {
        display: none;
    }
}

/* -- modal styles start --  */
.tingle-modal-box {
    max-width: 400px;
    width: 100%;
    border-radius: 20px;
}

@media screen and (max-width: 420px) {
    .tingle-modal-box {
        width: 90%;
    }
}

.tingle-modal-box__content {
    padding: 0;
}

.modal-content {
    display: none;
}

/*
.profitModal__inner {
	max-height: 400px;
	overflow-y: auto;
}
*/

.profitModal__inner {
    max-height: 400px;

}

.profitModal__header {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 1rem;
    align-items: center;
}

.profitModal__header h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
}

.profitModal__header .bi {
    font-size: 33px;
    cursor: pointer;
}

.profitModal__none {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 100%;
    text-align: center;
}

/* -- modal styles end --  */

/* -- profits table styles start --  */
.profits {
    width: 100%;
}

.profits .profits__icon {
    width: 38px;
    padding-right: 0;
}

.profits .profits__icon .bi {
    font-size: 30px;
}

.profits tr:first-child td {
    border-top: 1px solid #8f8f8f;
}

.profits tr td {
    border-bottom: 1px solid #8f8f8f;
}

.profits tr:last-child td {
    border-bottom: 0;
}

.profits td {
    padding: 0.5rem 1rem;
}

.profits .profits__type {
    display: block;
}

.profits .profits__info {
    line-height: 1.3;
}

.profits .profits__date {
    color: grey;
}

.profits__amount {
    text-align: right;
    vertical-align: bottom;
    color: green;
    line-height: 1.3;
}

/* -- profits table styles end --  */

.table.investments {
    margin-bottom: 0;
}

.table.investments .investments__period,
.table.investments .investments__interest,
.table.investments .investments__id,
.table.investments .investments__date {
    color: grey;
}

.table.investments .investments__icon .bi {
    font-size: 34px;
}

@media screen and (max-width: 640px) {
    .table.investments .investments__profit,
    .table.investments .investments__period,
    .table.investments .investments__interest,
    .table.investments .investments__id,
    .table.investments .investments__date {
        font-size: 13px;
    }
}

.modal-trigger strong {
    cursor: pointer;
}

.table.investments .investments__icon {
    width: 46px;
    text-align: center;
}

.table.investments .investments__info {
    vertical-align: middle;
}

@media screen and (max-width: 640px) {
    .table.investments .investments__info {
        padding-right: 2rem;
        line-height: 1.2;
    }
}

@media screen and (max-width: 480px) {
    .table.investments .investments__info {
        padding-right: 0rem;
    }
}

@media screen and (max-width: 400px) {
    .table.investments .investments__info {
        width: 240px;
        padding-right: 0;
    }
}

.table.investments .investments__amount {
    vertical-align: middle;
    text-align: right;
    color: green;
    font-size: 22px;
}

@media screen and (max-width: 640px) {
    .table.investments .investments__amount {
        vertical-align: bottom;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .table.investments .investments__amount {
        font-size: 13px;
        padding-left: 0;
    }
}

.table.investments .investments__amount strong {
    white-space: nowrap;
}

@media screen and (max-width: 640px) {
    .table.investments .investments__amount strong {
        display: block;
        margin-bottom: 6px;
    }
}


.table.investments tr:last-child td {
    border-bottom: 0;
}

.panelsSubmenu {
    margin-bottom: 22px;
}

.overviewCards > a > div {
    margin-bottom: 25px;
}

@media screen and (max-width: 580px) {
    .table-date {
        width: 105px;
    }

    .table-iterator {
        width: 40px;
    }
}

@media screen and (max-width: 992px) {
    .body {
        width: 90%;
    }

    .support-img {
        width: 100px;
        height: 100px;
    }
}

/* Zakrytí celého pozadí */
.modal {
    display: none; /* Skryté, dokud se neaktivuje */
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5); /* Poloprůhledný overlay */
    transition: opacity 0.15s linear;
}

/* Kontejner pro obsah modalu */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    transition: transform 0.3s ease-out;
}

/* Obsah modálního okna */
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    padding: 1.5rem;
}

/* Modal header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #000;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 0.75;
}

/* Modal body */
.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem 0;
}

.switch-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    min-height: 30px;
    margin-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    align-items: center;
    max-width: auto;
    border-radius: 25px;
    background: #f2f2f2;
    margin-left: 0px;
    margin-right: 0px;
    border: 1px solid #f2f2f2;
}

.switch-menu a.active {
    font-weight: bold;
    text-decoration: none;
}

.switch-menu a.active {
    opacity: 1;
    background: white;
    padding-left: 0px;
    padding-right: 0px;
}

.switch-menu a {
    background: #transparent;
    border-radius: 25px;
    opacity: .5;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.loading-text {
    font-size: 14px;
    color: #0D92F4;
}

.waiting {
    text-align: center;
    align-items: center;
    gap: 10px;
    color: #0D92F4;
    margin: 20px 0;
}
