@media (max-width:1025px) {
    body{
        background-color: #9C9C9C;
        margin:0;
        padding: 0;
        border: 0;
        height: 100dvh;
        width: 100%;
        min-height: 100vh;
        font-family: "Inter", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
    }
    .main{
        width: 100%;
        height: 100dvh;
        background-color: transparent;
        position: relative;
        margin:0;
        padding: 0;
        border: 0;
        min-height: 100vh;
    }
    .nav-body{
        position: fixed;
    }
    .add-options{
        position: fixed;
    }
    .verify-input{
        position: fixed;
    }
    .fr-options{
        position: fixed;
    }
    .col-options{
        position: fixed;
    }
    .paya-options{
        position: fixed;
    }
    .confirm-buttons{
        position: fixed;
    }
    .af-option{
        position: fixed;
    }
    .ae-option{
        position: fixed;
    }
}

@media (min-width:1025px) {
    body{
        background-color: #9C9C9C;
        margin:0;
        padding: 0;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 100%;
        font-family: "Inter", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
    }
    .main{
        width: 463px;
        height: 100vh;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative
    }
    .nav-body{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
        /*max-width: 100%;*/
    }
    .add-options{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }
    .verify-input{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }
    .fr-options{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }
    .col-options{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }
    .paya-options{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }
    .confirm-buttons{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }
    .af-option{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }

    .ae-option{
        position: absolute;
        /*width: inherit;  /* Inherit width from .main */
       /*max-width: 100%;*/
    }
}

/* A. NAVBAR CSS */

.nav-body{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 86px; /* Adjust height as needed */
    background: #FDFDFD;
    display: flex;
    flex-direction:row;
    gap: 2%;
    justify-content:space-around;
    align-items:center;
}

.nav-button{
    height: 55px;
    width: 46px;
    /*background-size: cover; /* Ensures the image covers the button */
    background-position: center;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent; /* Ensure no background */
    
}

.home-default{
    background-image: url('/image/Home-Default.svg'); /* Replace with your image */
    transition: background 0.3s ease;
}

.home-default:hover{
    background-image: url('/image/Home-Hover.svg'); /* Replace with your image */
}

.groups-default{    
    background-image: url('/image/Groups-Default.svg'); /* Replace with your image */
    transition: background 0.3s ease;
}

.groups-default:hover{
    background-image: url('/image/Groups-Hover.svg'); /* Replace with your image */
}

.history-default{    
    background-image: url('/image/History-Default.svg'); /* Replace with your image */
    transition: background 0.3s ease;
}

.history-default:hover{
    background-image: url('/image/History-Hover.svg'); /* Replace with your image */
}

.add-default{
    background-image: url('/image/Add-Group-Default.svg'); /* Replace with your image */
    transition: background 0.3s ease;
    width: 50px;
    height: 50px;
    background-size: cover; /* Ensures the image covers the button */
    background-position: center;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent; /* Ensure no background */
    margin-bottom: 60px;
}

.add-default:hover{
    background-image: url('/image/Add-Group-Hover.svg'); /* Replace with your image */
    
}

.profile-default{
    background-image: url('/image/Profile-Default.svg'); /* Replace with your image */
    transition: background 0.3s ease;
}

.profile-default:hover{
    background-image: url('/image/Profile-Hover.svg'); /* Replace with your image */
}

.home-default.focus{
    background-image: url('/image/Home-Focus.svg'); /* Replace with your image */
}

.groups-default.focus{
    background-image: url('/image/Groups-Focus.svg'); /* Replace with your image */
}

.profile-default.focus{
    background-image: url('/image/Profile-Focus.svg'); /* Replace with your image */
}

.history-default.focus{
    background-image: url('/image/History-Focus.svg'); /* Replace with your image */
}

.add-default.focus{
    background-image: url('/image/Add-Default.svg'); /* Replace with your image */
    transition: background 0.3s ease;
    width: 50px;
    height: 50px;
    background-size: cover; /* Ensures the image covers the button */
    background-position: center;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent; /* Ensure no background */
    margin-bottom: 60px;
}

.add-options{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;

}
.verify-input{
     width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;
}

.fr-options{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;
}

.col-options{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;
}

.paya-options{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;
}

.add-options.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

.verify-input.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

.fr-options.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}
.col-options.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}
.paya-options.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

.add-options-header{
    width: 93%;
    height: 94px;
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: solid 1px #E9EAEB;
}

.add-icons{
    width: 100%;
    height: 44px;
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 0;
}

.x-button{
    background-image: url('/image/Button-close-X.svg'); /* Replace with your image */
    transition: background 0.3s ease;
    width: 44px;
    height: 44px;
    background-size: cover; /* Ensures the image covers the button */
    background-position: center;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent; /* Ensure no background */
    padding: 0;
}

.header-text{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-items: center;
    align-content: center;
}

h3{
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

p{
    margin: 0;
    font-weight: 300;
    font-size: 14px;
}

button{
    font-size: 16px;
    font-weight: 550;
    cursor: pointer;
}

a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 550;
    cursor: pointer;

}

.add-options-buttons{
    width: 100%;
    height: 196px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.verify-input-opps{
    width: 80%;
    height: 196px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.resend-but{
    all: unset;
    cursor: pointer;
    color: black;
    text-decoration: underline;
    font-weight: 200;
    font-size: 12px;

}

.add-button{
    width: 93%;
    height: 44px;
    border-radius: 8px;
    ;
}

.new-expense{
    background-color: #19C594;
    color: black;
    border: solid 1px #19C594
}

.new-group{
    background-color: black;
    color: white;
}

.new-friend{
    background-color: white;
    color: black;
    border: solid 1px #19C594
}

.af-option{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; 
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.1s ease-in-out, opacity 0.3s ease-in-out;
    display: none;

}

.ae-option{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; 
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.1s ease-in-out, opacity 0.3s ease-in-out;
    display: none;

}

.af-option.active{
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

.ae-option.active{
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

.af-header{
    width: 93%;
    height: 45px;
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
    align-content: space-between;
    border-bottom: solid 1px #E9EAEB;
}

.ae-header{
    width: 93%;
    height: 45px;
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
    align-content: space-between;
    border-bottom: solid 1px #E9EAEB;
}

.af-form{
    width: 100%;
    max-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
    overflow-y: auto;
    
}

.ae-form{
    width: 100%;
    max-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
    overflow-y: auto;
    
}

.af-input-container{
    width: 94.8%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
    gap: 8px;
    

}

.af-first-input{
    width: 100%;
    height: 54px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
}

.af-form .af-input{
    width: 66.3%;
    height: 40px;
    border: none;
    border-bottom: solid 1px #D5D7DA;

}

.af-add-more{
    border: none;
    padding:none;
    margin:none;
    background-color: transparent;
    text-decoration: underline;
    font-weight: 200;
    font-size: 14px;
    color: #9C9C9C;
}

.confirm-buttons{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 86px; /* Adjust height as needed */
    background: #FDFDFD;
    display: flex;
    flex-direction:row;
    gap: 2.5%;
    justify-content:center;
    align-items:center;

}

.btn{
    width: 42.7%;
    height: 44px;
    border-radius: 8px;
    border:solid 1px #19C594;
}
.cancel-btn{
    background-color: #FFFFFF;
    
}

.add-btn{
    background-color: #19C594;
    color:#FFFFFF
}

.remove-btn{
    background-image: url('/image/fi-rr-cross-circle.svg');
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    background-color: transparent;
    padding-left: 20%;
}

.none{
    transform: translateY(0);
    display: none;
}

.si-bg-color{
    width: 100%;
    height: 100vh;
    background-color: #FE885C;
    border: solid 10px white;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content:flex-end;
    align-items: center;
}

.astro-img{
    width: 155.52px;
    height: 158.68px;
    padding-bottom: 20px;
}

.cow-img{
    width: 149.05px;
    height: 178px;
    padding-bottom: 0px;
    margin-top: 20px;
}

.logo{
    width: 80px;
    height: 50px;
    padding-bottom: 15px;
}

.sii-form{
    width: 100%;
    height: fit-content;
    background-color: white;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0px 20px 24px -4px rgba(10, 13, 18, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 32px;
    gap: 10px
}

.siu-form{
    width: 100%;
    height: fit-content;
    background-color: white;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0px 20px 24px -4px rgba(10, 13, 18, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 32px;
    gap: 10px
}

h2{
    margin: 0;
    font-size: 20px;
    font-weight: 450;
}


/* B. SIGNIN/SIGNUP CSS */


.si-header{
    color: #1C3177;
}

.si-subtext{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    margin-bottom: 5px;
    gap: 4px;
}

.si-subtext #t1{
    margin: 0;
    font-size: 16px;
    font-weight: 180;
}

.si-subtext #t2{
    margin: 0;
    font-size: 16px;
    font-weight: 350;
    background:none;
    border:none;
    color: #1C3177;
}

.si-form-main{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.si-form{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: fit-content;
    justify-content: center;
    align-items: center;
}

.si-title{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    gap: 6px;
    width: 81.4%;
    height: fit-content;
}

.si-title label{
    margin: 0;
    font-size: 16px;
    font-weight: 350;
    color: #1C3177;
}

.si-title input{
    width: 100%;
    height: 40px;
    font-size: 14px;
    font-weight: 220;
    color: black;
    border-radius: 8px;
    border: solid 1px #1C3177;
    padding-left: 14px;
    padding-right: 0px;
    box-sizing: border-box;
}

.si-title input::placeholder{
    color: #D9D9D9;
    width: 80%;
}

.si-form .submit-btn{
    box-sizing: border-box;
    background-color: #1C3177;
    border: solid 1px #1C3177;
    border-radius: 8px;
    height: 40px;
    font-size: 16px;
    font-weight: 460;
    width: 81.4%;
    color: white;
    margin-top: 5px;
    box-shadow: 0px 4px 4px 0px rgba(10, 13, 18, 0.1);
    margin-bottom: 20px;
    cursor: pointer;
    box-shadow: none;
}

.line{
    display: flex;
    justify-content: center;
    align-content: center;
    flex-shrink: 0;  /* Prevents the lines from shrinking */
    margin: 6px;
    
}

.si-subtext .text {
    margin: 0;  /* Removes default margin of the <p> element */
    font-size: 14px;
    font-weight: 350;
    color: #1C3177;
}

.gg-si-btn{
    box-sizing: border-box;
    background-color: white;
    border: solid 1px #1C3177;
    border-radius: 8px;
    height: 40px;
    width: 81.4%;
    color: #1C3177;
    box-shadow: 0px 4px 4px 0px rgba(10, 13, 18, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    text-align: center;
    align-items: center;
    gap: 6px;
    box-shadow: none;
    margin-bottom: 35px;
}

.gg-si-btn img{
    width: 30px;
    height: 30px;
}

.gg-si-btn p{
    text-align: center;
    margin: 0;
    font-size: 16px;
    font-weight: 460;
}

/* C. GROUPS CSS */
.gr-bg-color{
    background: linear-gradient(#FFFFFF, #E8E8E8);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: 30px;
    padding-left: 5.4%;
    padding-right: 5.4%;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-content:flex-start;
    gap: 20px;
    
}

.header{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    align-content: center;
}

.page-header{
    width: 85%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content:flex-start;
    gap: 7px;
}


.page-header h1{
    margin: 0;
    font-size: 28px;
    font-weight: 450;
}

.page-header p{
    margin: 0;
    font-size: 14px;
    font-weight: 200;
}

.convert-btn{
    background-image: url('/image/convert-btn.svg'); 
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent;
}

.gr-overview-grid{
    width: 105.4%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-content:flex-start;
    background-color: transparent;
    box-shadow: 0px 4px 4px 0px rgba(10, 13, 18, 0.1);
    border-top-left-radius: 15px ;
    border-bottom-left-radius: 15px;
}

.ov-block-flex-left{
    width: 45%;
    height: 141px;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-content:flex-start;
    background-color: transparent;
}

.ov-block-flex-right{
    width: 53.85%;
    height: 141px;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-content:flex-start;
    background-color: #19C594;
    gap: 5px;
    color: white;
    margin-left: 3px;
}

.ov-friend-list{
    width: 100%;
    height: 60px;
    background-color: #C596FE;
    color: black;
    gap: 5px;
    border-top-left-radius: 15px;
    
}

.ov-payable{
    width: 100%;
    height: 76px;
    background-color: black;
    color: white;
    gap: 9px;
    border-bottom-left-radius: 15px;
}

.ov-grid-item{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-items: flex-start;
    align-content: flex-start;
    box-shadow: 0px 4px 4px 0px rgba(10, 13, 18, 0.1);
    
}

.ov-grid-item .upper{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content:space-between;
}

.arr-black-btn{
    background-image: url('/image/arrow-black.svg');
    height: 20px;
    width: 20px;
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    cursor: pointer;
}

.arr-white-btn{
    background-image: url('/image/arrow-white.svg');
    height: 20px;
    width: 20px;
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    cursor: pointer;
}

h5{
    margin: 0;
    font-size: 12px;
    font-weight: 320;
    padding-top: 2px;
}

.fr-icon-list{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    padding-left: 10px;
    align-self: center;
    align-items: center;
    justify-items: center;
}

.fr-icon{
    width: 25px;
    height: 25px;
    border-radius: 12.5px;
    background-color: #FE885C;
    border: solid 1px white;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-items: center;

}

.fr-icon p{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    align-content: center;
    margin: 0;
    font-size: 10px;
    font-weight: 380;
    color: white;
}

.fr-icon img{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    align-content: center;
}

.ov-amount{
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.ov-amount p{
    margin: 0;
    font-size: 20px;
    font-weight: 380;
}

.ov-payable .ov-amount{
    padding-top: 7px;
}

.ov-block-flex-right .ov-amount{
    padding-bottom: 30px;
}

.settle-up-btn{
    width: 80px;
    height: 26px;
    background-color: black;
    border: none;
    color: white;
    border-radius: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 380;
    margin-bottom: 10px;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.1);
}

.gr-list{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 8px;
}

.gr-list-header{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 8px;
    padding-left: 10px;
}

.gr-number{
    width: 29px;
    height: 22px;
    background-color: #FE885C;
    color: white;
    margin: 0;
    font-size: 12px;
    font-weight: 180;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top:2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 8px;
    border-radius: 8px;
}

.gr-search{
    width: 100%;
    height: 44px;
    background-color: #FDFDFD;
    border: solid 1px #D9D9D9;
    border-radius: 12px;
    background-image: url('/image/search-icon.svg');
    background-position-x: 16px;
    background-position-y: center;
    background-repeat: no-repeat;

}

.gr-search::placeholder{
    padding: 40px;
}

.gr-item-list{
    width: 100%;
    max-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 11px;
    overflow-y: auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-bottom:25vh;
}

.gr-item{
    background-color: #FDFDFD;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 11px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 19px;
    padding-bottom: 19px;
    border: solid 1px #CCCCCC;
    border-radius: 15px;
}

.gr-item-header{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-content: flex-start;
}

.item-header{
    width: 89%;
    height: 39px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content: flex-start;
    gap: 3px;
}

.gr-item-date{
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-content: flex-start;
    gap: 3px;
}

.gr-item-date p{
    margin: 0;
    font-size: 12px;
    font-weight: 180;
}

h4{
    margin: 0;
    font-size: 18px;
    font-weight: 380;
}

.gr-item-ill{
    width: 39px;
    height: 39px;
}

.gr-item-balance{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-content:center;
}

.gr-item-bal{
    width: 50%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-content:center;
    justify-content: center;
    font-size: 15px;
    font-weight: 280;
}

.gr-item-bal .amount{
    display: flex;
    flex-direction: row;
    align-content:center;
    justify-content: center;
    padding-top: 10px;
    gap: 1px;
    
}

.gr-item-budget{
    align-items: flex-start;
}

.gr-item-budget .amount{
    color: #19C594;
}

.gr-item-spent{
    align-items: flex-end;
}

.gr-item-spent .amount{
    color: #B2B0B0;
}

.progress-bar{
    width: 100%;
    height: 5px;
    border-radius: 20px;
    background-color: #D9D9D9;
}

.progress-spent{
    height: 5px;
    border-radius: 20px;
    background-color: black;
}

/* D. HOME CSS */

.hm-bg-color{
    background: #1C3177;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: 30px;
    padding-left: 5.4%;
    padding-right: 5.4%;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content:center;
    align-items: center;
    gap: 20px;
    
}

.hm-bg-color p{
    margin: 0;
    font-size: 18px;
    font-weight: 180;
    color: white;
}

/* E. CREATGROUP CSS */

.break-page{
    width: 100%;
    height: 1px;
    border-top: solid 1px #D7D7D7
}

.create-group-form{
    width: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    padding-bottom: 420px;


}

.group-name{
    width: 100%;
    height: 114px;
    border-radius: 15px;
    background-color: #FE885C;
    display: flex;
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-right: 14px;
    padding-left: 14px;
    padding-top: 12px;
    padding-bottom: 24px;
}

.group-name label{
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.group-name input{
    width: 98%;
    height: 40px;
    border: none;
    border-bottom: solid 1px #000000;
    background-color: transparent;
    margin: 0;
    font-size: 16px;
    font-weight: 500;

}

.group-name input::placeholder{
    color:#000000;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

.qa-input{
    width: 100%;
    height:fit-content;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: flex-start;
}

.qa-input label{
    margin: 0;
    font-size: 15px;
    font-weight: 300;
    color:#414651;
}

.qa-input input{
    width: 100%;
    height: 44px;
    margin: 0;
    font-size: 15px;
    font-weight: 300;
    color:#414651;
    border-radius: 8px;
    border: solid 1px #D5D7DA;
    background-color: transparent;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-right: 14px;
    padding-left: 14px;
    cursor: pointer;
}

.qa-input-price{
    width: 100%;
    height: 44px;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 6px;
}

.qa-input-price #gr-bgt-crr{
    width: 90px;
    height: 100%;
    cursor: pointer;
}

.qa-input-price #gr-budget-amt{
    cursor: text;
}

.option {
    padding: 10px;
    cursor: pointer;
    margin: 0;
    font-size: 15px;
    font-weight: 300;

}

.option:hover {
    font-weight: 500;
}

.option.active {
    font-weight: 500;
}

.grtype-selector{
    width: 100%;
    max-height: 240px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
    overflow-y: auto;
    
}

.ae-input-container{
    width: 100%;
    max-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
    overflow-y: auto;
    
}

.grtype-selector-all-item{
    width: 97%;
    max-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    gap: 4px;
}

.grtype-selector-item{
    width: 80%;
    max-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.collectAmt1 {
    height: 100%;
    width: 40%;
    border: solid 1px #D5D7DA;
    border-radius: 8px;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content:flex-end;
    align-items: center;
    font-size: 15px;
    font-weight: 900;
    padding-right: 3px;
    padding-left: 5px;
    border: none;
}

.gr-selector-item{
    width: 100%;
    max-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.gr-selector-item.active{
    width: 100%;
    max-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.gr-selector-item.active .gr-option {
    font-weight: 500;
}


.grtype-selector-1{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;

}

.grtype-selector-1.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-between;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

.user-selector-1{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;

}

.user-selector-1.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

.curr-selector-1{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;
}

.curr-selector-1.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

#selectedTags{
    width:100%;
    height:fit-content;
    display:flex;
    flex-direction: column;
    align-content:flex-start;
    justify-content:flex-start;
    gap: 4px;
}

.tag-wrapper{
    width:100%;
    height:fit-content;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 4px;
    gap: 5px;

}

.tag-wrapper button{
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:10px;
    border-radius: 12.5px;
    background-color: transparent;
    border: solid 0.5px #9C9C9C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 10;
}

#searchInput{
    width: 93%;
    height: 40px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:12px;
    margin: 14px;
    border-radius: 8px;
    border: solid 0.5px #9C9C9C;
    
}

/* F. GROUP DETAILS */

.page-header-gd{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    align-content:space-between;
    gap: 7px;
}

.page-header-gd h1{
    max-width: 240px;
    height: fit-content;
    margin: 0;
    font-size: 28px;
    font-weight: 450;
    color: #9C9C9C;
    white-space: nowrap;   
    overflow: hidden;
    text-overflow: ellipsis
}

.page-header-gd button{
    min-width: 105px;
    height: fit-content;
    border: none;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    gap: 1px;
    justify-content:flex-start;
    align-items: center;
    align-content:center;
    padding: 0px;
    
}

.page-header-gd button p{
    margin: 0;
    font-size: 17px;
    font-weight: 10;
}

.action-bar-gd{
    width: 100%;
    height: 266px;
    border: solid 1px #19C594;
    background-color: #EFF0F2;
    display: flex;
    flex-direction: column;
    gap: 21px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-right: 16px;
    padding-left: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
    justify-content:flex-start;
    align-items: center;
    align-content:center;
    border-radius: 15px;

}

.action-bar-gd-header{
    width: 100%;
    height: 28px;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    align-content:center;
}

.action-bar-gd-header p{
    margin: 0;
    font-size: 14px;
    font-weight: 280;
}
.action-bar-gd-header p span{
    margin: 0;
    font-size: 21px;
    font-weight: 500;
    margin-left: 10px;
    display: inline;
}

.action-bar-gd-header button{
    width: 40px;
    height: 25px;
    border: solid 1px black;
    background-color: #D9D9D9;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 280;
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    align-content:center;

}

.action-bar-gd-main{
    width: 100%;
    height: 178px;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
    align-content:space-between;
    gap: 15px;

}

.ab-gd-main{
    width: 100%;
    height: 83px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    align-content:flex-start;
    gap: 15px;
}

.ab-gd-blk{
    width: 48%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    align-content:flex-start;
    gap: 11px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-left: 20px;
    padding-right: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 20px;
    background-color: #FFFFFF;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.1);
    cursor: pointer;
}

.ab-gd-blk:hover{
    margin-bottom: 2px;
}

#stk{
    width: 7px;
    height: 68%;
}

.blk-budg #stk{
    background-color: #C596FE;
}

.blk-mem #stk{
    background-color: #D9D9D9;
}

.blk-owed #stk{
    background-color: #19C594;
}

.blk-owe #stk{
    background-color: #FE885C;
}

#gd-cont{
    margin: 0px;
    width: 95%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-content:flex-start;
    align-items: flex-start;
    gap: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

#gd-cont h6{
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: 360;
}

#gd-cont p{
    margin: 0px;
    font-size: 17px;
    font-weight: 380;
    white-space: nowrap;
    max-width: 90%;   
    overflow: hidden;
    text-overflow: ellipsis;
}

#gd-mem-list{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    align-content:flex-start;
    gap: 3px;
    margin-bottom: 12px;
}

#gd-mem-list img{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* centers text horizontally */
    background-color: #FE885C;
    border-radius: 12.5px; /* better for perfect circle */

}

#gd-mem-list p{
    width: 25px;
    height: 25px;
    border-radius: 12.5px;
    margin: 0px;
    font-size: 9px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #FE885C;
}

.list-exp-gd{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
    align-content:center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    gap: 0px;
}

.list-exp-header{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    align-content:center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.list-exp-header button{
    width: 40px;
    height: 25px;
    border: solid 1px #19C594;
    background-color: #19C594;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 280;
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    align-content:center;
}

.list-exp{
    width: 100%;
    max-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    align-content:flex-start;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    gap: 10px;
    padding-bottom: 100px;
    overflow-y: auto;
}

.exp-item{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    align-content:flex-start;
    gap: 10px;
}


.exp-month-year{
    margin: 0;
    font-size: 15px;
    font-weight: 480;
    padding-top: 19px;
}

.exp-item-i{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-start;
    align-content:flex-start;
    gap: 3%;
}

.exp-item-i:hover {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-start;
    align-content:flex-start;
    gap: 3%;
    color: #7F56D9;
    cursor: pointer;
}

.exp-time{
    width: 14%;
    height: fit-content;
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    padding-left: 10px;
    padding-top: 2px
}
.exp-name-desc{
    width: 55%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    align-content:flex-start;
    gap: 1px;
}

.exp-name{
    margin: 0;
    font-size: 14px;
    font-weight: 480;
}

.exp-desc{
    margin: 0;
    font-size: 12px;
    font-weight: 300;
}

.exp-type-amt{
    width: 25%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    justify-items: flex-start;
    align-items: flex-end;
    align-content:flex-start;
    gap: 5px;
}

.exp-type{
    margin: 0;
    font-size: 10px;
    font-weight: 250;
}

.exp-amt{
    margin: 0;
    font-size: 14px;
    font-weight: 390;
}

/* G. ADD EXPENSE */
.ax-grname{
    border: solid 1px #FE885C;
    background-color: #EFF0F2;
}

.payer-selector-1{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 443px; /* Adjust height as needed */
    background: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: none;

}

.payer-selector-1.active{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    border-radius: 30px;
    transform: translateY(0);    
    opacity: 1;
    visibility: visible;
}

#selectedPaidUser{
    width:100%;
    height:fit-content;
    display:flex;
    flex-direction: column;
    align-content:flex-start;
    justify-content:flex-start;
    gap: 4px;
}

.payer-wrapper{
    width:100%;
    height:fit-content;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 4px;
    gap: 5px;
}

.payer-wrapper button{
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:10px;
    border-radius: 12.5px;
    background-color: transparent;
    border: solid 0.5px #9C9C9C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 10;
}

.payer-wrapper input{
    width: 28%;
    height: 100%;
}

#searchPayerInput{
    width: 93%;
    height: 40px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:12px;
    margin: 14px;
    border-radius: 8px;
    border: solid 0.5px #9C9C9C;
    
}

.tag-wrapper input{
    width: 28%;
    height: 100%;
}

input::placeholder {
    color: rgba(0, 0, 0, 0.3); /* A lighter color for placeholder text */
}

.split-equally {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-top: 8px;
}

#split-equally {
    appearance: none; /* For modern browsers */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
  
    width: 16px;
    height: 16px;
    border: 1px solid #7F56D9;
    border-radius: 4px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-items: center;
  }

/* Checked state styling */
#split-equally:checked {
    background-color: #F9F5FF;
    background-image: url('/image/check.svg');  
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: 4px; 
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}
  
/* Checkmark */
#split-equally:checked::after {
    background-image: url('/image/check.svg'); 
    background-color: #F9F5FF;
    font-size: 12px;
    position: absolute;
    top: 0;
    left: 2px;
    line-height: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
  }

.payer-option {
    max-width: 75%;
    white-space: nowrap;   
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-option{
    max-width: 75%;
    white-space: nowrap;   
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-payamount{
    width: 30px;
    height: inherit;
    
}

.collectAmt{
    width: 20px;
    height: inherit;
    
}
  
/* G. PROFILE */

.pf-main{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    gap: 20px;
    padding-top: 10px;
}

.pf-main-1{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    align-content:center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.pf-btn{
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.pf-signout-btn{
    width: 80px;
    height: 26px;
    background-color: black;
    border: none;
    color: white;
    border-radius: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 450;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.1);
}

.pf-edit-btn{
    width: 40px;
    height: 25px;
    border: solid 1px black;
    background-color: #D9D9D9;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 450;
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    align-content:center;
}

.pf-main-2{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    align-content:center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    gap:10px
}

.pf-main-2-left{
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    align-content:center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    gap: 0px;
}

.pf-pic{
    width: 100px;
    height: 100px;
    border: none;
    background-color: transparent;
}

.pf-pic img{
    width: 100%;
    height: 100%;
}

.pf-main-2-left ul{
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    margin: 0px;
    padding: 0px;
}

ul li{
    padding: 0px;
    margin: 0px;
    font-size: 15px;
    font-weight: 450;
    color: #27A17E;
}

.pf-main-2-right{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
    align-content:center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    gap: 20px;
    margin: 0px;
    padding: 0px;
}

.pf-main-2-right .si-title{
    width: 100%;
    height: 100%;
    gap: 10px;
}

.pf-main-2-right .si-title label{
    padding: 0px;
    margin: 0px;
    font-size: 14px;
    font-weight: 350;
    color: #414651;
}

.pf-main-2-right .si-title input{
    border: solid 1px #D9D9D9;
    background-color: transparent;
}

.fr-selector{
    width: 100%;
    max-height: 540px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    padding-bottom: 10px;
    gap: 8px;
    overflow-y: auto;
    
}

.avar-selector{
    width: 100%;
    max-height: 300px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 10px;
    gap: 8px;
    overflow-y: auto;
    
}

.avar-selector-item{
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.avar-selector-item.active{
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
    border: solid 2px #1C3177;
    border-radius: 55px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 2px;
}

.avar-selector-item img{
    width: 100%;
    height: 100%;
}

.avar-confirm-buttons{
    width: 100%;
    bottom: 0;
    left: 0;
    height: 90px; /* Adjust height as needed */
    background: #FDFDFD;
    display: flex;
    flex-direction:row;
    gap: 2.5%;
    justify-content:center;
    align-items:center;

}

/*H. History */
.his-list-exp{
    width: 100%;
    max-height: 690px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    align-content:flex-start;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    gap: 10px;
    padding-bottom: 100px;
    overflow-y: auto;
}

.his-gr-bg-color{
    background: linear-gradient(#FFFFFF, #E8E8E8);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: 30px;
    padding-left: 5.4%;
    padding-right: 5.4%;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-content:flex-start;
    gap: 0px;
    
}

.his-break-page{
    margin-top: 20px;
    width: 100%;
    height: 1px;
    border-top: solid 1px #D7D7D7;
}

.his-payment-tittle{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-start;
    align-content:flex-start;
    gap: 4px;
}

.his-exp-name{
    max-width: 60%;
    height: fit-content;
    margin: 0;
    font-size: 14px;
    font-weight: 480;
    white-space: nowrap;   
    overflow: hidden;
    text-overflow: ellipsis;
}

.his-group-name {
    max-width: 40%;
    height: fit-content;
    margin: 0;
    font-size: 10px;
    font-weight: 300;
    color: #C596FE;

    /* Text truncation */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* Bullet control */
    list-style-position: inside;
    padding-left: 0;      /* no default UL indent */
    padding-top: 4px;
}


.his-group-name li.tight {
    padding-left: 1em; /* keep small space between bullet and text */
}

/*G. Expense detail*/
.ed-page-header{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-content:end;
    gap: 7px;
}

.ed-page-header h1{
    max-width: 60%;
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-content:flex-end;
    justify-content:flex-end;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-page-header p{
    max-width: 40%;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color:#C596FE;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-content:flex-end;
    justify-content:flex-end;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-body{
    max-width: 100%;
    height: 75%;
    display: flex;
    flex-direction: column;
    align-content:flex-start;
    justify-content:flex-start;
    gap: 16px;
    padding-bottom: 100px;
    overflow-y: auto;
}
.ed-item{
    width: 100%;
    height: 24px;
    display: flex;
    flex-direction: row;
    align-content:center;
    justify-content:space-between;
}

.grtype-selector-ed-x{
    width: 100%;
    max-height: 240px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 0px;
    gap: 8px;
    overflow-y: auto;
    
}

.grtype-selector-all-item-ed-x{
    width: 100%;
    max-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    gap: 0px;
}

.grtype-selector-item-ed-x{
    width: 70%;
    max-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.collectAmt1-ed-x {
    height: 100%;
    width: 50%;
    /*border: solid 1px #9C9C9C;*/
    border-radius: 8px;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content:flex-end;
    align-items: center;
    font-size: 15px;
    font-weight: 900;
    padding-right: 3px;
    padding-left: 5px;
}

.create-message{
    height: 48px;
    width: 100%;
    border: solid 1px #D9D9D9;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    gap: 3px;
    margin-top: 10px;
}

.create-message input{
    height: 80%;
    width: 90%;
    border: none;
    background: none;
    background-color: transparent;
    margin-left: 15px;
}

.create-message button{
    height: 47px;
    width: 47px;
    /*background-size: cover; /* Ensures the image covers the button */
    background-position: center;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent; /* Ensure no background */
}

.no-mess{
    padding: 10px;
    color: #9C9C9C;
    font-size: 12px;
    font-weight: 300;
}

.mess-ul{
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-content: center;
    padding-inline-start: 0;
}

.mess-li{
    list-style: none;
    height:fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content:flex-start;
    align-items: flex-start;
}

.mess-li.right{
    list-style: none;
    height:fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content:flex-end;
    align-items: flex-end;
}

.mess-li-name{
    max-width: 80%;
    width:fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:5px;
}

.mess-li-name.right{
    max-width: 80%;
    width:fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap:5px;
}

.mess-li-name p{
    color: #9C9C9C;
    font-size: 13px;
    font-weight: 600;
}

.mess-li-content{
    max-width:80%;
    width: fit-content;
    height: fit-content;
    display: flex;
    word-wrap: break-word;       /* Break long words */
    overflow-wrap: break-word;   /* Modern equivalent */
    white-space: normal;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border: solid 1px #FE885C;
    border-radius: 8px;
    background-color:#F0F4FF;
    color: #9C9C9C;
    font-size: 14px;
    font-weight: 400;
}

.mess-li-content.right{
    max-width:80%;
    width: fit-content;
    height: fit-content;
    display: flex;
    word-wrap: break-word;       /* Break long words */
    overflow-wrap: break-word;   /* Modern equivalent */
    white-space: normal;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border: solid 1px #19C594;
    border-radius: 8px;
    background-color:#F0F4FF;
    color: #9C9C9C;
    font-size: 14px;
    font-weight: 400;
}

.mess-li-time{
    max-width:80%;
    width: fit-content;
    height: fit-content;
    color: #9C9C9C;
    font-size: 10px;
    font-weight: 200;
}