/*==================================================
  RentXPrime Payment UI
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f4f7fc;

    color:#1c1c1c;

    overflow-x:hidden;

    min-height:100vh;

    padding-bottom:90px;

}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

.page-wrapper{

    width:100%;

    min-height:100vh;

}

/*==========================
HEADER
==========================*/

.top-header{

    background:linear-gradient(135deg,#0d6efd,#0064e0);

    border-bottom-left-radius:35px;

    border-bottom-right-radius:35px;

    padding:35px 15px 70px;

    position:relative;

    overflow:hidden;

}

.top-header:before{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    right:-60px;

    top:-70px;

}

.top-header:after{

    content:"";

    position:absolute;

    width:150px;

    height:150px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    left:-50px;

    bottom:-40px;

}

.header-card{

    position:relative;

    z-index:5;

    text-align:center;

}

.logo-box{

    width:90px;

    height:90px;

    margin:auto;

    background:#fff;

    border-radius:24px;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.logo-box img{

    width:65px;

}

.welcome-text{

    color:#fff;

    font-size:28px;

    font-weight:700;

    margin-top:18px;

}

.welcome-text span{

    display:block;

    font-size:24px;

    margin-top:6px;

}

.sub-text{

    color:rgba(255,255,255,.85);

    font-size:15px;

    margin-top:12px;

}

/*==========================
LOADER
==========================*/

.loading-card{

    background:#fff;

    border-radius:25px;

    margin-top:-35px;

    padding:45px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.loading-card h5{

    font-weight:600;

}

/*==========================
ERROR
==========================*/

.error-card{

    background:#fff;

    margin-top:-35px;

    padding:45px;

    text-align:center;

    border-radius:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.error-card i{

    font-size:60px;

    color:#dc3545;

    margin-bottom:20px;

}

.error-card h5{

    font-weight:700;

    margin-bottom:12px;

}

.error-card p{

    color:#777;

    margin-bottom:25px;

}

/*==========================
EMPTY
==========================*/

.empty-card{

    background:#fff;

    margin-top:-35px;

    border-radius:25px;

    text-align:center;

    padding:45px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.empty-card i{

    font-size:60px;

    color:#0d6efd;

    margin-bottom:20px;

}

.empty-card h5{

    font-weight:700;

}

.empty-card p{

    color:#777;

    margin-top:10px;

}

/*==========================
BILLS WRAPPER
==========================*/

#billContainer{

    margin-top:-45px;

    position:relative;

    z-index:20;

}

/*==========================
COMMON CARD
==========================*/

.bill-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    margin-bottom:22px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.bill-card:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.bill-header{

    background:linear-gradient(135deg,#0d6efd,#4e9bff);

    padding:18px 22px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#fff;

}

.bill-month{

    font-size:20px;

    font-weight:700;

}

.bill-room{

    font-size:14px;

    opacity:.95;

}

.bill-body{

    padding:22px;

}




/*==================================================
    BILL DETAILS
==================================================*/

.row-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px dashed #e9ecef;
}

.row-item:last-child{
    border-bottom:none;
}

.row-item span{
    color:#666;
    font-size:14px;
    font-weight:500;
}

.row-item strong{
    color:#0b6b5d;
    font-size:15px;
    font-weight:700;
}

.total-row{
    margin-top:12px;
    padding-top:16px;
    border-top:2px solid #f1f3f5;
}

.total-row span{
    font-size:17px;
    color:#111;
    font-weight:700;
}

.total-row strong{
    font-size:24px;
    color:#0b6b5d;
    font-weight:800;
}

/*==================================================
    DUE DATE
==================================================*/

.due-date{
    margin-top:18px;
    font-size:14px;
    color:#666;
}

.due-date span{
    font-weight:700;
    color:#222;
}

.due-badge{
    display:inline-block;
    margin-top:12px;
    padding:6px 14px;
    background:#d8f3dc;
    color:#1b7f3a;
    font-size:12px;
    font-weight:600;
    border-radius:30px;
}

/*==================================================
    STATUS BADGE
==================================================*/

.bill-header .badge{
    background:#e53935 !important;
    color:#fff;
    font-size:12px;
    padding:8px 14px;
    font-weight:600;
    border-radius:30px;
}

/*==================================================
    PAY BUTTON
==================================================*/

.pay-btn{
    margin-top:22px;
    height:52px;
    border:none;
    border-radius:14px;
    background:#0b6b5d;
    color:#fff;
    font-size:17px;
    font-weight:600;
    transition:.30s;
}

.pay-btn:hover{
    background:#095549;
    transform:translateY(-2px);
}

.pay-btn:active{
    transform:scale(.98);
}

.pay-btn i{
    margin-right:8px;
}

/*==================================================
    FOOTER
==================================================*/

footer{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:999;
    background:#0b6b5d;
    box-shadow:0 -6px 18px rgba(0,0,0,.15);
}

.footer-box{
    height:64px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:17px;
    font-weight:600;
    letter-spacing:.5px;
}

/*==================================================
    BUTTONS
==================================================*/

.btn-primary{
    background:#0b6b5d;
    border-color:#0b6b5d;
}

.btn-primary:hover{
    background:#095549;
    border-color:#095549;
}

/*==================================================
    SCROLLBAR
==================================================*/

::-webkit-scrollbar{
    width:6px;
}

::-webkit-scrollbar-thumb{
    background:#0b6b5d;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#eef2f4;
}

/*==================================================
    CARD ANIMATION
==================================================*/

.bill-card{
    animation:fadeUp .45s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*==================================================
    SHADOW EFFECTS
==================================================*/

.bill-card:hover{
    box-shadow:0 18px 40px rgba(11,107,93,.18);
}

.logo-box{
    transition:.35s;
}

.logo-box:hover{
    transform:rotate(4deg) scale(1.03);
}

/*==================================================
    UTILITIES
==================================================*/

.text-green{
    color:#0b6b5d !important;
}

.bg-green{
    background:#0b6b5d !important;
}

.rounded-20{
    border-radius:20px;
}

.shadow-soft{
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}



/*==================================================
    RESPONSIVE DESIGN
==================================================*/

/* Large Desktop */
@media (min-width:1400px){

    .page-wrapper{
        max-width:500px;
        margin:auto;
        background:#f4f7fc;
        min-height:100vh;
        box-shadow:0 0 40px rgba(0,0,0,.12);
    }

}

/* Desktop */
@media (min-width:992px){

    .container{
        max-width:500px;
    }

    body{
        background:#dfe8e4;
    }

}

/* Tablet */
@media (max-width:991px){

    .container{
        max-width:500px;
    }

}

/* Large Mobile */
@media (max-width:768px){

    .top-header{
        padding:30px 15px 65px;
        border-bottom-left-radius:30px;
        border-bottom-right-radius:30px;
    }

    .logo-box{
        width:82px;
        height:82px;
    }

    .logo-box img{
        width:58px;
    }

    .welcome-text{
        font-size:24px;
    }

    .welcome-text span{
        font-size:22px;
    }

    .bill-card{
        border-radius:20px;
    }

}

/* Standard Mobile */
@media (max-width:576px){

    body{
        font-size:14px;
    }

    .top-header{

        padding:28px 15px 60px;

    }

    .logo-box{

        width:74px;

        height:74px;

        border-radius:18px;

    }

    .logo-box img{

        width:50px;

    }

    .welcome-text{

        font-size:22px;

    }

    .welcome-text span{

        font-size:20px;

    }

    .sub-text{

        font-size:13px;

    }

    .loading-card,
    .error-card,
    .empty-card{

        padding:35px 20px;

        border-radius:20px;

    }

    .bill-header{

        padding:16px;

    }

    .bill-body{

        padding:18px;

    }

    .bill-month{

        font-size:18px;

    }

    .bill-room{

        font-size:13px;

    }

    .row-item{

        padding:9px 0;

    }

    .row-item span{

        font-size:13px;

    }

    .row-item strong{

        font-size:14px;

    }

    .total-row span{

        font-size:16px;

    }

    .total-row strong{

        font-size:22px;

    }

    .pay-btn{

        height:48px;

        font-size:16px;

    }

    .footer-box{

        height:60px;

        font-size:16px;

    }

}

/* Small Phones */
@media (max-width:430px){

    .container{

        padding-left:14px;

        padding-right:14px;

    }

    .top-header{

        padding-top:22px;

    }

    .logo-box{

        width:70px;

        height:70px;

    }

    .logo-box img{

        width:46px;

    }

    .welcome-text{

        font-size:20px;

    }

    .welcome-text span{

        font-size:18px;

    }

    .bill-card{

        border-radius:18px;

    }

    .bill-header{

        padding:15px;

    }

    .bill-body{

        padding:16px;

    }

    .pay-btn{

        border-radius:12px;

    }

}

/* iPhone SE / 320px */
@media (max-width:360px){

    .logo-box{

        width:62px;

        height:62px;

    }

    .logo-box img{

        width:40px;

    }

    .welcome-text{

        font-size:18px;

    }

    .welcome-text span{

        font-size:17px;

    }

    .sub-text{

        font-size:12px;

    }

    .bill-month{

        font-size:16px;

    }

    .bill-room{

        font-size:12px;

    }

    .row-item span{

        font-size:12px;

    }

    .row-item strong{

        font-size:13px;

    }

    .total-row strong{

        font-size:20px;

    }

    .pay-btn{

        height:44px;

        font-size:15px;

    }

}

/*==================================================
    SKELETON LOADER
==================================================*/

.skeleton{

    position:relative;

    overflow:hidden;

    background:#e9ecef;

    border-radius:10px;

}

.skeleton::after{

    content:"";

    position:absolute;

    inset:0;

    transform:translateX(-100%);

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.6),
        transparent
    );

    animation:skeleton-loading 1.3s infinite;

}

@keyframes skeleton-loading{

    100%{

        transform:translateX(100%);

    }

}

.skeleton-title{

    height:24px;

    width:55%;

    margin-bottom:15px;

}

.skeleton-line{

    height:14px;

    width:100%;

    margin-bottom:10px;

}

.skeleton-line.short{

    width:65%;

}

.skeleton-button{

    height:48px;

    border-radius:12px;

    margin-top:20px;

}

/*==================================================
    TRANSITIONS
==================================================*/

*{

    transition:
        background-color .25s,
        color .25s,
        box-shadow .25s,
        transform .25s;

}

/*==================================================
    FOCUS STATES
==================================================*/

button:focus,
.btn:focus{

    box-shadow:0 0 0 .25rem rgba(11,107,93,.18);

}

input:focus{

    box-shadow:0 0 0 .25rem rgba(11,107,93,.15);

}

/*==================================================
    SAFE AREA SUPPORT
==================================================*/

footer{

    padding-bottom:env(safe-area-inset-bottom);

}

body{

    padding-bottom:calc(90px + env(safe-area-inset-bottom));

}

/*==================================================
    FINAL POLISH
==================================================*/

.bill-card{

    overflow:hidden;

}

.bill-header{

    position:relative;

}

.bill-header::after{

    content:"";

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    height:1px;

    background:rgba(255,255,255,.18);

}

.pay-btn{

    letter-spacing:.3px;

}

.bill-card:hover{

    transform:translateY(-2px);

}

.logo-box{

    cursor:pointer;

}

.footer-box{

    user-select:none;

}



