﻿
/* Drawer Styles */
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 600px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease;
    z-index: 9999;
}

    .drawer.open {
        right: 0;
        transition: right 0.5s ease;
    }

.closbtn {
    border: none;
    background: no-repeat;
    padding: 0;
}

.noscroll {
    height: 100vh;
}

.noscroll {
    overflow: hidden;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #888 #f0f0f0;
    /* Chrome, Safari */
}

/* Card Styles */
.cardcontect {
    background-color: #fff;
    /* border-radius: 12px;*/
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
   /* max-width: 300px;*/
    overflow: hidden;
    transition: transform 0.6s;
    /* margin: 1rem auto;*/
}

.cardcontectheader {
    background-color: #5d5de2;
    color: white;
    padding: 8px 16px;
    font-size: 1.25em;
    display: flex;
    justify-content: space-between
}

.iconclose {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.cardbody {
    height: calc(100vh - 4rem);
    overflow-y: auto;
}

    /* Optional: customize scrollbar (for WebKit browsers) */
.cardbody {   
    overflow-y: auto;
    scrollbar-width: thin; /* For Firefox */   
}

    /* For Chrome, Edge, Safari */
    .cardbody::-webkit-scrollbar {
        width: 8px;
    }

    .cardbody::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .cardbody::-webkit-scrollbar-track {
        background: #f0f0f0;
    }

/* Responsive adjustments */
@media (min-width: 768px) {
    .drawer {
        width: 50%;
        max-width: 500px;
    }

    .cardcontect {
        max-width: 450px;
    }
}

@media (min-width: 1024px) {
    .drawer {
        width: 40%;
    }

    .cardcontect {
        max-width: 500px;
    }
}


.powered-by {
    display: none !important
}

.fserv-button-submit {
    background: #5d5de2 !important
}

.zcwf_lblLeft .zcwf_col_fld input[type=text], input[type=password], .zcwf_lblLeft .zcwf_col_fld textarea {
    width: 100% !important;
    border: 1px solid #c0c6cc !important;
    resize: vertical;
    border-radius: 2px;
    float: left;
}

.zcwf_lblLeft .zcwf_col_fld {
    float: left;
    width: 100% !important;
    padding: 0px 6px 0px;
    position: relative;
    margin-top: 5px;
}

.zcwf_lblLeft .zcwf_col_fld_slt {
    width: 100% !important;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    font-size: 12px;
    float: left;
    resize: vertical;
    padding: 10px 5px !important;
}
