@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.0/font/bootstrap-icons.css");

body{
    font-family: 'Montserrat', sans-serif;
    color: #333;
}
a,
a:hover,
a:focus,
a:active,
button:focus {
    text-decoration: none;
    border: none;
    outline: 0;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ol {
    margin-bottom: 0;
}
select:focus,
select:active {
    box-shadow: none;
    border: 0;
    outline: 0
}
a:focus,
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
}
button{
    cursor: pointer;
}
:focus::-webkit-input-placeholder {opacity:0;}/* webkit */
:focus::-moz-placeholder          {opacity:0;}/* Firefox 19+ */
:focus:-moz-placeholder           {opacity:0;}/* Firefox 18- */
:focus:-ms-input-placeholder      {opacity:0;}/* IE */

textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}
input:focus,
input:active,
textarea:focus{
    border: 1px solid #860001!important;
}
a{
    color: #860001;
}
a:hover{
    text-decoration: underline;
    color: #860001;
}
.index-page-wrapper{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/back-7.jpg) no-repeat center center;
    background-size: cover;
}
img{
    max-width: 100%;
    height: auto;
}
.index-logo{
    display: inline-block;
    color: #000;
    font-size: 28px;
    font-weight: 500;
}
.index-logo img{
    width: 190px;
}
.auth-wrapper{
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.6);
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}
.def-control{
    padding: 10px 15px 10px 40px;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    border: 1px solid #860001;
    border-radius: 3px;
    box-shadow: none !important;
    font-weight: 300;
}
#password{
    padding-right: 40px;
}
.mod-ico {
    position: absolute;
    left: 14px;
    top: 15px;
    font-size: 18px;
    line-height: 1;
    color: #860001;
}
.mod-hide{
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 18px;
    line-height: 1;
    color: #860001;
    cursor: pointer;
}
.pressed-button {
    text-decoration: none;
    outline: none;
    display: inline-block;
    background-image: linear-gradient(45deg, #b50000 0%, #e60404 50%, #860001 100%);
    background-position: 100% 0;
    background-size: 200% 200%;
    color: white;
    border-radius: 3px;
    padding: 12px 40px;
    font-size: 18px;
    transition: .3s;
    border: 1px solid #860001;
    font-weight: 300;
}
.pressed-button:hover {
    background-position: 0 0;
    border: 1px solid #860001;
    color: #fff;
    text-decoration: none;
}
.page-title{
    font-weight: 400;
    font-size: 24px;
}
.auth-form-wrapper {
    margin-top: 30px;
}
.index-loc-wraper{
    position: absolute;
    right: 20px;
    top: 15px;
}
.current-loc{
    cursor: pointer;
}
.current-loc i{
    font-size: 12px;
}
.loc-list{
    text-align: left;
}
.other-loc{
    display: none;
}
.message{
    position: absolute;
    z-index: 5;
    text-align: center;
    width: 100%;
    color: #fff;
    padding: 10px 15px;
    border-bottom: 2px solid #fff;
}
.message.error{
    background: #860001;
}
.message.success{
    background: #017a2e;
}
.hidden{
    display: none;
}
.slide-fon{
    background: url(../img/texture3.png) center center repeat;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.navbar-brand{
    width: 100px;
    padding-top: 4px;
}
.navbar-dark .navbar-text {
    color: #fff;
    margin-right: 15px;
}
.work-container{
    padding: 60px 0 50px 0;
    background-color: #f4f6f9;
    min-height: calc(100vh - 115px);
}
.head-card {
    border-radius: 20px 0;
    border: 1px solid #eeeeee;
    height: 100%;
    padding: 30px 25px;
    background: #fff;
}
.apart-sum{
    font-size: 26px;
    font-weight: 600;
}
.red-color{
    color: #860001;
}
.green-color{
    color: #017a2e;
}
.head-card h5{
    margin-bottom: 15px;
}
.display-7 {
    font-size: 2.25rem;
    font-weight: 300;
    color: #333;
}
.notification-block{
    background: #fff;
    border-radius: 20px 0;
    overflow: hidden;
}
.notification-line {
    display: block;
    border-bottom: 1px solid #eeeeee;
    padding: 20px 10px;
    color: #333;
    transition: background-color 0.3s;
    font-size: 14px;
}
.notification-start-line{
    padding: 20px 40px;
    position: relative;
}
.notification-line:hover{
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eeeeee;
    background-color: #f8f8f8;
}
.env-tr{
    font-size: 28px;
}
.orange-color{
    color: #ff6600;
}
.note-type{
    font-weight: 600;
    font-size: 16px;
}
.note-note{
    font-size: 16px;
    font-weight: 500;
}
.title-img{
    position: absolute;
    right: 35px;
    width: 50px;
    top: -25px;
}
.line-label{
    font-size: 14px;
    font-weight: 500;
    color: #888;
    margin-top: 10px;
}

.dropdown-menu{
    min-width: 50px;
}
.note-line-sum{
    font-size: 16px;
    font-weight: 500;
}
.pay-badge{
    margin-top: 10px;
    padding: 8px 15px;
    font-weight: 600;
}
.payment-line{
    font-size: 14px;
}
.payment-line span{
    font-size: 12px;
    color: #888;
}
.payment-note{
    font-size: 12px;
    color: #888;
    line-height: 1;
}
.payments-block{
    margin-top: 10px;
}
.invoice-link a{
    font-size: 14px;
}
.pay-line-badge{
    font-weight: 600;
    padding: 6px 10px 5px 10px;
}
.pagination li {
    margin-right: 5px;
}
.pagination li a {
    border: 1px solid #860001;
    width: 35px;
    height: 35px;
    display: block;
    text-align: center;
    line-height: 34px;
    border-radius: 7px;
    transition: all 0.3s;
}
.pagination li a:hover{
    text-decoration: none;
    background: rgba(134,0,1,0.1);
}
.pagination li.active a{
    color: #fff;
    background: #860001;
}
.pagination-block{
    margin-top: 20px;
}
.debt-img{
    width: 40px;
    min-width: 40px;
    margin-right: 10px;
}
.debt-title {
    padding: 20px 25px 20px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.debt-title:hover{
    background-color: #f8f8f8;
}
.debt-title-block{
    display: flex;
    align-items: center;
}
.debt-sum{
    float: right;
    margin-top: 7px;
}
.debt-line-one{
    padding: 15px 25px 15px 75px;
    border-bottom: 1px solid #eeeeee;
    background-color: #f8f8f8;
    position: relative;
}
.dedt-badge{
    font-weight: 500;
    margin-left: 5px;
    position: relative;
    bottom: 1px;
}
.dedt-note {
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}
.debt-body{
    display: none;
}
.caret-ico{
    font-size: 14px;
    margin-left: 25px;
}
.dedt-link a{
    font-size: 14px;
}
.info-debt-body .line-label{
    margin-top: 5px;
}
.debt-body-title{
    padding: 10px 25px 10px 80px;
    border-bottom: 1px solid #eeeeee;
    background-color: #f8f8f8;
    font-weight: 500;
}
.edit-line{
    width: 125px;
}
.pay-debt-btn:hover{
    border: 1px solid #157347;
    text-decoration: none;
}
.show-spinner-btn{
    padding: 6px 35px 6px 35px;
    position: relative;
}
.spinner-link{
    position: absolute;
    left: 10px;
    top: 10px;
    display: none;
}
.info-debt-btns{
    margin-top: 10px;
}
.counter-list-title{
    padding: 20px 25px 20px 25px;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
    border-bottom: 1px solid #eeeeee;
}
.counter-list-body{
    padding: 20px 25px 25px 80px;
    border-bottom: 1px solid #eeeeee;
    background-color: #f8f8f8;
    position: relative;
}
.counter-list-data{
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.counter-list-body .counter-list-data:last-child{
    padding: 0;
    margin: 0;
    border: none;
}
.strong-str{
    font-weight: 600;
}
.table-block{
    padding: 20px 25px 20px 25px;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.8);
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgb(255, 255, 255);
}
.note-date{
    color: #6f6f6f;
}
.note-index-block{
    margin-bottom: 30px;
}
.all-notes{
    padding-left: 5px;
}
.remove-note{
    color: #6f6f6f;
    font-size: 26px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -20px;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.3s;
}
.notification-start-line:hover .remove-note{
    opacity: 0.5;
}
.notification-start-line .remove-note:hover{
    opacity: 0.8;
}
.note-start-body{
    margin-top: 5px;
}
.page-nblock{
    padding: 30px 50px;
}
.default-text ul{
    margin: 20px 0 20px 0;
}
.default-text ul li::before {
    content: '';
    display: inline-block;
    margin-right: 10px;
    width: 5px;
    height: 5px;
    background: #860001;
    position: relative;
    bottom: 2px;
}
.warning-block{
    background: #860001;
    color: #fff;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 8px 15px;
}
.index-footer {
    position: absolute;
    z-index: 1;
    background: rgba(0,0,0,0.4);
    padding: 15px 25px;
    text-align: center;
    bottom: 0;
    left: 0;
    width: 100%;
}
.index-footer-nav a{
    color: #ced4da;
}
.index-footer-nav li{
    display: inline-block;
    margin: 0 7px;
}
.index-footer-nav li.nav-sep{
    content: '';
    background: #ced4da;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: relative;
    bottom: 2px;
    margin: 0;
}
.oferta-wrapper{
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    overflow-y: auto;
}
.oferta-block {
    border-radius: 20px 0;
    border: 1px solid #eeeeee;
    padding: 30px 25px;
    background: #fff;
    width: 900px;
    margin: 50px auto 20px auto;
    position: relative;
    text-align: center;
    left: 0;
    right: 0;
    max-width: calc(100% - 30px);
}
.close-modal{
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #6f6f6f;
    font-size: 26px;
    transition: opacity 0.3s;
    opacity: 0.6;
}
.close-modal:hover{
    opacity: 1;
}
.stripe-logo{
    max-width: 250px;
    margin: 10px 0 5px 0;
}
.payments-method-one{
    padding: 15px 25px 25px 25px;
    margin-top: 20px;
    text-align: center;
    border-radius: 20px 0;
}
.payment-sum-wrapper{
    font-size: 26px;
    font-weight: 600;
}
.total-pay-sum-wrapper{
    font-size: 26px;
    font-weight: 600;
}
.payments-method-type{
    font-size: 24px;
    font-weight: 600;
}
.pay-modl-button{
    margin-top: 20px;
}
.oferta-checkboxes{
    margin: 10px 0 20px 0;
    text-align: left;
    padding-left: 25px;
}
.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}
.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #bebebe;
    border-radius: 4px;
    margin-right: 9px;
    background: #ffffff;
}
.custom-checkbox:checked+label::before {
    background: #ffffff url("../img/ico-1.png") 4px center no-repeat;
    background-size: 13px;
}
.oferta-checkboxes .checkbox-wrapper label{
    line-height: 1.3;
}
.soglasie{
    position: relative;
    bottom: 16px;
    display: none;
}
.send-form-pay-btns{
    margin-top: 20px;
}
.send-form-pay-btns .checkbox-wrapper{
    text-align: center;
}
.span-system-check{
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #860001;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}
.sys-checked{
    cursor: default;
}
.sys-checked::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: #860001;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 50%;
}
.oferta-radio-line{
    margin-top: 10px;
}
.link-arrow i{
    position: relative;
    top: 1px;
}
.back-link{
    margin-bottom: 20px;
}


.settings-page{
    padding-top: 35px;
    padding-bottom: 35px;
}
.settings-card{
    padding: 25px;
}
.settings-row{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.settings-label{
    color: #6c757d;
}
.settings-switch .form-check-input{
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}
.user-settings-link{
    margin-right: 12px;
    text-decoration: none;
}
.user-settings-link:hover{
    color: #fff;
    text-decoration: underline;
}
.push-permission-heading{
    display: flex;
    align-items: center;
    min-width: 0;
}
.push-permission-logo{
    width: 40px;
    height: 40px;
    margin-right: 12px;
    object-fit: contain;
    flex-shrink: 0;
}

.modal-content{
    border-radius: 20px 0;
}

@media (max-width: 575.98px){
    #push-permission-modal .modal-body{
        display: flex;
        align-items: center;
        font-size: 1.05rem;
    }
    #push-permission-modal .modal-footer{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    #push-permission-modal .modal-footer .btn{
        width: 100%;
        margin: 0;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}


.user-home-empty-row{
    padding-top: 45px;
    padding-bottom: 45px;
}
.user-home-empty-state{
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px 0;
}
.user-home-empty-logo{
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    object-fit: contain;
}
.user-home-empty-state h3{
    margin-bottom: 12px;
}
.user-home-empty-state p{
    max-width: 560px;
    margin: 0 auto;
    color: #6c757d;
    line-height: 1.6;
}
@media (max-width: 575.98px){
    .user-home-empty-row{
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .user-home-empty-state{
        padding: 30px 20px;
    }
}

/* Keep the page width stable while Bootstrap opens a modal. */
@supports (scrollbar-gutter: stable){
    @media (min-width: 576px){
        html{
            scrollbar-gutter: stable;
        }
        body.modal-open{
            padding-right: 0 !important;
        }
    }
}