﻿.menu-proj {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .menu-proj > li {
        position: relative;
        border: 1px solid #ddd;
        margin-bottom: 5px;
    }

    .menu-proj a {
        display: block;
        padding: 6px;
        text-decoration: none;
        color: #333;
        background-color: #f4f4f4;
    }

        .menu-proj a:hover {
            background-color: #eaeaea;
        }


.mud-collapse-container .mud-navmenu {
    margin-left: 4%;
}

    .mud-collapse-container .mud-navmenu .mud-link {
        margin-left: 10%;
        display: block;
        padding: 6px;
        font-size: 13px;
        text-decoration: none;
        color: #333 !important;
        background-color: #f4f4f4;
    }

        .mud-collapse-container .mud-navmenu .mud-link .mud-link-underline-hover:hover {
            text-decoration: none !important;
        }

.w150px {
    width: 150px;
}

.w200px {
    width: 200px;
}

.w200px-col {
    padding: 6px 12px;
    width: 200px;
    text-align: center;
    background-color: #615c5c;
    forced-color-adjust: auto;
    color: white;
    border-radius: 4px;
}

.hpTabs {
    background-color: #f0f3e75e !important;
}

.dvDash {
    margin: 8px 16px;
    /*  border: 1px solid #ffd800;
    border-radius: 6px;*/
    display: flex;
    flex-flow: row;
    background-color: #ddd;
    justify-content: center;
    align-items: center; /* Vertical centering */
    padding: 20px;
    flex-wrap: wrap;
    /* background-color:#ddd;*/
}

.item {
    width: 200px;
    height: 100px;
    margin: 10px;
    background-color: #4CAF50;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* HTML: <div class="loader"></div> */
.loader {
    width: 25px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #514b82;
    -webkit-mask: repeating-conic-gradient(#0000 0deg,#000 1deg 70deg,#0000 71deg 90deg), radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l5 1s infinite;
}

@keyframes l5 {
    to {
        transform: rotate(.5turn)
    }
}

.dvButton {
    border-radius: 7px;
    width: 210px;
    font-size: 20px;
    margin: 8px 12px;
    padding: 8px 12px;
    font-size: 15px;
    vertical-align: middle;
    background-color:white;
    text-align: center;
    color: #616368;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 7px 13px -5px, rgba(0, 0, 0, 0.3) 0px 8px 10px -8px;
}

    .dvButton:hover {
        transform: scale(1.05);
        transition: 0.3s;
    }

.card-0 {
    background-color: #4CAF50; /* Green */
    color: white;
}

.card-1 {
    background-color: #2196F3; /* Blue */
    color: white;
}

.card-2 {
    background-color: #FF9800; /* Orange */
    color: white;
}

.card-3 {
    background-color: #9C27B0; /* Purple */
    color: white;
}

.card-4 {
    background-color: #F44336; /* Red */
    color: white;
}

.card-5 {
    background-color: #009688; /* Teal */
    color: white;
}

.card-6 {
    background-color: #3F51B5; /* Indigo */
    color: white;
}

.card-7 {
    background-color: #00BCD4; /* Cyan */
    color: white;
}


.card-icon {
    font-size: 40px;
    margin-bottom: 8px;
    color: white;
    background-color:#4CAF50;
    width:30px;
    height:30px;
    padding:3px;
    border-radius:50%;
}

.dvButton, .flxb {
    width: 230px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.card-btn {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    text-align: center;
}

.card-title {
    font-weight: bold;
    font-size: 15px;
    margin-left:12px;
    white-space: nowrap;
    overflow: hidden;
    color: #364368;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-overflow: ellipsis;
    text-align: center;
}
.tab-ico-col-1 {
    background-color: #bda3a0;
}
.tab-col-1 {
    background-color: #e3d6d5;
}
.tab-ico-col-2 {
    background-color: #dee0d3;
}

.tab-col-2 {
    background-color: #a5a897;
}
.tab-ico-col-3 {
    background-color: #8da4b3;
}

.tab-col-3 {
    background-color: #bac5cc;
}
.tab-ico-col-4 {
    background-color: #a79ab8;
}

.tab-col-4 {
    background-color: #cac1d6;
}
.tab-ico-col-5 {
    background-color: #b898a4;
}

.tab-col-5 {
    background-color: #f0d5df;
}
.tab-ico-col-6 {
    background-color: #a9c9bc;
}

.tab-col-6 {
    background-color: #e4f5ee;
}
.tab-ico-col-7 {
    background-color: #9793ab;
}

.tab-col-7 {
    background-color: #d7cffc;
}

.dsh-btn-label {
    display: flex;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 18px;
}
.card-btn > div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card-btn div:last-child {
    font-size: 16px;
}

.typo5 {
    width: 100%;
    background-color: #e6ebe9;
    padding: 13px;
    border-radius: 5px;
    border-left:3px solid #173470;
    font-size: 18px;
    color: #615c5c;
}

.panel-header-colored .mud-expand-panel-header {
    background-color: #f7efe0;
    color: #004d40; /* text color */
}

.usrimg {
    width: 120px;
    border-radius: 7%;
    margin-right: 8px;
    vertical-align: middle;
}

.sppath {
    font-weight: bold;
    color: #216235;
    margin-left:16px;
    font-size: 13px;
    padding-bottom:12px;
}

.submenu-proj {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

    .submenu-proj li {
        border-top: 1px solid #ddd;
        padding: 6px 9px;
    }

    .submenu-proj a {
        padding: 4px 7px;
        background-color: #f9f9f9;
    }

.menu-proj li.expanded .submenu-proj {
    max-height: 600px; /* Adjust based on the height of submenu items */
}
/* Shared/RecentVisitsOverlay.razor.css */
.recent-overlay {
    position: fixed; /* switch to absolute if you prefer */
    right: 1rem;
    bottom: 1rem;
    width: 450px;
    max-height: 40vh;
    overflow: auto;
    z-index: 10000;
    background-color: rgba(255,255,255,0.6);
}

.semitr {
    background-color: rgba(255,255,255,0.6);
}

.dvinside {
    z-index: 500;
    margin: 15px 3px;
    border: 1px solid #615c5c;
    border-radius: 4px;
}

.tblmp {
    width: 100%;
}

.tbheight1 {
    height: 18px !important;
    font-size: 13px !important;
    padding: 3px 4px !important;
    margin: 0;
    width: 70%;
}

.tbheight2 {
    height: 18px !important;
    font-size: 13px !important;
    padding: 3px 4px !important;
    margin: 0;
}

.hide {
    display: none;
}

.visited-popup {
    position: fixed;
    border: 1px solid black;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    bottom: 60px;
    right: 25px;
    width: 350px;
    height: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 1100;
    padding: 12px 10px 10px 10px;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
    opacity: 0.8;
}


    .visited-popup,
    .visited-popup * {
        color: black !important;
    }


.dvvisited {
    position: fixed;
    bottom: 20px;
    width: 340px;
    right: 25px;
    max-height: 240px;
    overflow: auto;
}



.visited {
    position: fixed;
    bottom: 12px;
    right: 20px;
    padding: 12px;
    font-size: 16px;
    z-index: 9999;
    top: auto;
    left: auto;
    cursor: pointer;
    z-index: 500;
    color: darkgray;
}

.visited-popup {
    position: fixed;
    bottom: 50px;
    right: 40px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 5px;
    width: 290px;
    height: 290px !important;
    z-index: 9999;
}

.btnclose {
    float: right;
    border: none;
    background: transparent;
    color: #555;
    font-size: 16px;
    cursor: pointer;
}

.mnlinks {
    width: 200px;
    color: #747576;
    margin: 2px 10px;
    padding: 1px 4px;
    font-family: Brush Script MT, cursive;
    min-height: 20px; /* control overall height */
    line-height: 1.2;
}

    .mnlinks > div {
        padding: 2px 3px;
    }

    .mnlinks > button {
        padding: 2px 3px;
    }

.visited-popup .dvinside {
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.profile-popover {
    padding: 0;
}

/* Main Outer Box – width reduced */
.profile-box {
    background: rgb(50 50 93 / 15%);
    border: 1px solid #ab4141;
    border-radius: 5px;
    padding: 8px 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.20);
    font-family: 'Segoe UI', sans-serif;
}

/* Detail + Image Row */
.profile-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Details Left Side */
.profile-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Text styling */
.profile-item {
    font-weight: 700;
    font-size: 11px; /* 👈 smaller font for compact */
    color: #514b82;
}

/* Image Style */
.user-photo {
    width: 70px; /* 👈 smaller */
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    border: 1.5px solid #000;
}

/* Email Section (divider added below details) */
.profile-email {
    /* margin-top: 6px;*/
    font-size: 12px;
    /*font-weight: 700;*/
    color: #333;
    word-wrap: break-word;
    padding-bottom: 4px;
    border-bottom: 1px solid #ccc; /* 👈 same divider line */
}

/* Action Buttons row */
.profile-buttons {
    /*margin-top: 6px;*/
    display: flex;
    justify-content: space-between;
}

    /* Buttons */
    .profile-buttons .mud-button-root {
        min-height: 26px !important;
        padding: 0 6px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }


.vis-name {
    width: 75%;
}

.vis-time {
    width: 25%;
    text-align: right; /* optional but looks nicer */
    white-space: nowrap;
}

.gen-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 5px 6px;
    /*    border:1px solid #514b82;
*/
}

    .gen-flex > div {
        margin: 4px 6px;
        width: 150px;
    }
/*<div style="color:red;">CHECK BODY</div>*/

.chat-dialog {
    width: 420px !important;
    height: 520px !important;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

/* HEADER */
.chat-header {
    background: #f3f3f3;
    padding: 10px;
}

.chat-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BODY */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #fafafa;
}

/* EMPTY */
.chat-empty {
    text-align: center;
    margin-top: 120px;
    color: gray;
}

/* MESSAGE ROW */
.chat-row {
    display: flex;
    margin: 5px 0;
}

    .chat-row.user {
        justify-content: flex-end;
    }

    .chat-row.bot {
        justify-content: flex-start;
    }

/* BUBBLE */
.chat-bubble {
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 75%;
}

.chat-row.user .chat-bubble {
    background: #1976d2;
    color: white;
}

.chat-row.bot .chat-bubble {
    background: #e0e0e0;
}

/* FOOTER */
.chat-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    background: #f3f3f3;
}

/* INPUT */
.chat-input-wrapper {
    flex: 1;
}

/* ICONS */
.chat-refresh {
    color: gray;
}

.chat-send {
    background: #1976d2;
    color: white;
    border-radius: 50%;
}

.chat-body {
    flex: 1 !important;
    min-height: 200px; /* 🔥 ye add karo */
    overflow-y: auto;
    padding: 10px;
    background: #fafafa;
}

.chat-footer {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 10px;
}

.mud-dialog {
    display: flex !important;
    background-color: rgb(0 0 0 / 20%) !important;
    flex-direction: column !important;
}

.mud-dialog-content {
    flex: 1 1 auto !important;
    overflow: auto !important;
}

.mud-dialog-actions {
    flex-shrink: 0 !important;
}

.mud-dialog {
    display: flex !important;
    flex-direction: column !important;
}

.mudpaper-dialog {
}
.mud-dialog-content {
    background-color: rgba(255, 255, 255, 0.7) !important;
    flex: 1 !important;
/*    background-color: rgb(0 0 0 / 20%) !important;
*/    overflow-y: auto !important;
}

.mud-dialog-actions {
    flex-shrink: 0 !important;
}

.mud-input-root {
    border-radius: 20px !important;
}

/*.mud-overlay {
    backdrop-filter: blur(4px);
}
*/
.mud-dialog {
    border-radius: 8px !important;
    background-color: white !important;
    color: #1f1d1d !important;
    
}
/*.chat-float-btn {
    position: fixed !important;
    right: 25px !important;
    bottom: 90px !important;*/ /* visited ke upar */
/*z-index: 9999 !important;
}

    .chat-float-btn .mud-icon-button {
        background-color: #4a7cf3 !important;
        color: white !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }*/
.chat-float-btn {
    position: fixed;
    right: 25px;
    bottom: 90px;
    z-index: 9999;
}

.chat-img-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.2s;
}

    .chat-img-btn:hover {
        transform: scale(1.1);
    }


  