/* --------- FONT --------- */
@font-face {
    font-family: 'Noto Sans';
    src: url("../Fonts/NotoSans-Regular.ttf");
}

/* --------- GLOBAL --------- */
html, body {
    font-family: "Noto Sans";
    height: 100%;
    margin: 0;
    font-size: 14px;
}

/* --------- LEFT SIDE (BG IMAGE) --------- */
.loginbg_image {
    background-image: url("../Images/Bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.heading_name {
    color: #fff;
    font-weight: 600;
    font-size: 50px;
}

.copyrightname {
    position: fixed;
    bottom: 40px;
    color: #fff;
    font-size: 16px;
}

/* --------- RIGHT SIDE (FORM BOX) --------- */
.loginform_wrap {
    height: 100vh !important;
    background: #FFFFFF;
    width: 100% !important;
}

.loginform_wrap .title_container {
    color: #104F9E;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.loginform_wrap label,
#forgotPasswordModal label {
    color: #104F9E;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 13px;
}

.loginform_wrap input::placeholder,
#forgotPasswordModal input::placeholder {
    color: #AAAAAA;
}

/* Inputs */
.loginform_wrap input[type=text],
.loginform_wrap input[type=email],
.loginform_wrap input[type=password],
#forgotPasswordModal input[type=text],
#forgotPasswordModal input[type=email],
#forgotPasswordModal input[type=password] {
    width: 100%;
    padding: 5px 15px 5px 40px;
    height: 50px;
    border: 1px solid #AAAAAA;
    border-radius: 10px;
    color: #AAAAAA;
    font-size: 14px;
    box-sizing: border-box;
}

/* --------- ICONS INSIDE INPUT --------- */
.icon_lock::before {
    content: none;
    position: absolute;
    pointer-events: none;
    margin: 15px 14px auto 15px;
}

.icon_User::before {
    content: url("../Images/UserIcon.png");
    position: absolute;
    margin: 15px 12px auto 12px;
    pointer-events: none;
}

/* --------- SHOW/HIDE PASSWORD ICON --------- */
.icon_showpasscode {
    content: none;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 17px;
    margin: 15px 10px;
    height: 17px;
    cursor: pointer;
}

.icon_hidepasscode.showing {
    content: url("../Images/IconPassshow.png");
}

/* Eye icon wrapper */
.input-group-addon {
    position: relative;
    right: 8px;
    bottom: 48px;
}

/* --------- SUBMIT BUTTON --------- */
.Btn_Submit {
    background: #104F9E;
    border-radius: 10px;
    width: 100%;
    height: 55px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 7px 0;
}

/* --------- FORGOT PASSWORD LINK --------- */
.forgot_password {
    font-size: 14px;
    color: #104F9E !important;
    text-decoration: underline !important;
}

/* --------- ASTERISK --------- */
.Asterik {
    color: #EA4335;
    font-size: 16px;
}

/* --------- RADIO BUTTON --------- */
.loginform_wrap input[type="radio"],
#forgotPasswordModal input[type="radio"] {
  

	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block;
	width: 20px;
	height: 20px;
	padding: 4px;
	background-clip: content-box;
	border: 2px solid #097ADF;
	border-radius: 50%;
	margin: -5px 0;
}

.loginform_wrap input[type="radio"]:checked,
#forgotPasswordModal input[type="radio"]:checked {
    background-color: #104F9E;
	border-radius: 50%;
    margin: -5px 0;
}

 input[type="radio"]:checked+* {
	color: #104F9E;
}

/* --------- TOP-RIGHT LOGO --------- */
.login_logo {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 20px;
    right: 77px;
    z-index: 9999;
}

    .login_logo img {
        width: 200px;
        height: auto;
    }
/* --------- MODAL --------- */
#forgotPasswordModal .modal-content {
    border-radius: 10px;
}



/* --------- LOGIN PAGE CSS ENDS --------- */


/* --------- SIDEBAR / FOOTER PAGE CSS STARTS --------- */

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: transparent !important;
}

.sidebar-wrapper {
    height: calc(100vh - 330px);
    overflow-y: auto;
    overflow-x: hidden;
}

    .sidebar-wrapper::-webkit-scrollbar {
        width: 6px;
        height: 5px;
    }

    .sidebar-wrapper::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background-color: #F36F21;
    }

    .sidebar-wrapper::-webkit-scrollbar-track {
        background-color: #d9d9d9;
        border-radius: 5px;
    }
/* Sidebar Toggle Arrow */
.Arrow_Change {
    position: absolute;
    top: 50%;
    right: -12px;
    z-index: 9;
    width: 20px;
    height: 30px;
    border-radius: 0px 8px 8px 0px;
    background: #102D6A;
    cursor: pointer;
    transform: none;
}

.sidebar.closed .Arrow_Change img {
    transform: rotate(-180deg);
}

/* Logo */

.logo-image-collapse {
    display: none;
}

.sidebar.closed .logo-image-collapse {
    display: block;
    width: 160px;
    position: relative;
    top: 12px;
    left: 15px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 80px;
    background: #102D6A;
    padding: 12px 0 12px 12px;
}

    .sidebar.closed {
        width: 260px;
    }

/* Sidebar Nav */
.sidebar-nav {
    border: none;
}

    .sidebar-nav a {
        display: flex;
        align-items: center;
        width: 52px;
        height: 52px;
        padding: 14px;
        margin: 7px 0px;
        border-radius: 0.375rem;
        cursor: pointer;
        background-color: transparent !important;
    }

        .sidebar-nav a.active {
            border: none !important;
        }

.sidebar.closed .sidebar-nav a {
    width: 235px;
}

.nav-link-text {
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
}

.sidebar.closed .nav-link-text {
    opacity: 1;
    visibility: visible;
    position: relative;
    left: 20px;
    color: #fff;
}

/* Icons */
.nav-link {
    width: 24px;
    height: 24px;
}

/* Icon Images */
.Img_Home::before {
    content: url('../Images/SidebarIcons/Home_Img.png');
}

.Img_Account::before {
    content: url('../Images/SidebarIcons/Account_Img.png');
}

.Img_Sales::before {
    content: url('../Images/SidebarIcons/Sales_Img.png');
}

.Img_Invoice::before {
    content: url('../Images/SidebarIcons/Invoice_Img.png');
}

.Img_Ageing::before {
    content: url('../Images/SidebarIcons/Outstanding_Img.png');
}

.Img_Balance::before {
    content: url('../Images/SidebarIcons/Balance_Img.png');
}

.Img_Claim::before {
    content: url('../Images/SidebarIcons/Icon_Claim.png');
}

.Img_Submit::before {
    content: url('../Images/SidebarIcons/Icon_Submission.png');
}

.Img_Catalogue::before {
    content: url('../Images/SidebarIcons/Icon_Catalogue.png');
}

.Img_Crop::before {
    content: url('../Images/SidebarIcons/Icon_Crop.png');
}

.Img_Promotion::before {
    content: url('../Images/SidebarIcons/Icon_Promotions.png');
}

.Img_LogOut::before {
    content: url('../Images/SidebarIcons/Icon_LogOff.png');
}

.Img_Profile::before {
    content: url('../Images/SidebarIcons/Profile.png');
    right: 13px;
    position: relative;
}

.Img_Notify::before {
    content: url('../Images/SidebarIcons/ImgNotificn.png');
    left: 3px;
    position: relative;
}

.Img_More::before {
    content: url('../Images/SidebarIcons/Icon_More.png');
}

/* Dropdown Arrow */
.Img_More::after {
    content: url(../Images/DownArrow.png);
    float: right;
    position: relative;
    left: 50px;
}

/* More Dropdown */
.myDropdown {
    display: none;
    background-color: #00205b;
    z-index: 1;
    width: 314px;
    border-radius: 8px;
}

    .myDropdown::before {
        content: url('../Images/Icon_Angle.png');
        position: absolute;
        left: -15px;
        bottom: 67px;
    }

    .myDropdown ul {
        padding: 8px;
    }

        .myDropdown ul li a {
            width: 100%;
            height: 40px;
            padding: 5px 10px;
        }

            .myDropdown ul li a span {
                font-size: 13px;
                margin-left: 5px;
            }

/* Notification Drop */
.DropMenu {
    display: none;
    margin-left: 20px;
}

    .DropMenu .link {
        padding: 5px 0;
        cursor: pointer;
    }

/* Footer */
.footer {
    color: #fff;
    font-size: 14px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #F36F21;
    text-align: center;
    height: 42px;
    line-height: 40px;
}




/* --------- SIDEBAR / FOOTER PAGE CSS ENDS --------- */



/* --------- USER MANAGEMENT PAGE CSS STARTS --------- */

.EditAction {
    content: url('../Images/EditIcon.png');
    cursor: pointer;
    vertical-align: bottom;
}

.ResetAction {
    content: url('../Images/ResetIcon.png');
    cursor: pointer;
    vertical-align: bottom;
}

.BlockAction {
    content: url('../Images/BlockIcon.png');
    cursor: pointer;
    vertical-align: bottom;
}

.UnblockAction {
    content: url('../Images/UnBlockIcon.png');
    cursor: pointer;
    vertical-align: bottom;
}

.AllocateAction {
    content: url('../Images/AllocateIcon.png');
    cursor: pointer;
    vertical-align: bottom;
}

/* -------------------- ACCOUNT SECTION -------------------- */
.AccountSection {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

/* -------------------- PAGE TITLE -------------------- */
.title_name {
    font-size: 20px;
    font-weight: 600;
    color: #2F3A4C;
}



/* -------------------- CUSTOM SELECT -------------------- */

.CustomSelect {
    border: 1px solid #E4E4E4;
    border-radius: 5px;
    box-shadow: 1px 1px 4px -2px rgba(0, 0, 0, 0.3);
    padding: 5px 8px;
    color: #097ADF;
    outline: none !important;
    cursor: pointer;
    margin-bottom: 20px;
}
/* -------------------- SEARCH BOX -------------------- */
.IconSearch {
    position: relative;
}

    .IconSearch::before {
        content: url('../Images/Search_Img.png');
        position: absolute;
        right: 8px;
        margin-top: 11px;
    }

/* -------------------- STATUS BOX -------------------- */
.StatusBox {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 500;
}

.ActiveBox {
    background: #E8F6EC;
    color: #7FAC15;
    border: 1px solid #7FAC15;
}

.UnallocatedBox {
    background: #FFF6E6;
    color: #F3A221;
    border: 1px solid #F3A221;
}

.BlockedBox {
    background: #FFE6E6;
    color: #DA3E4E;
    border: 1px solid #DA3E4E;
}

.InactiveBox {
    background: #f0ebeb;
    color: #878787;
    border: 1px solid #878787;
}

/* -------------------- GREY TEXT -------------------- */
.txt_grey {
    color: #7B7B7B;
    font-size: 14px;
}

/* -------------------- TABLE -------------------- */


thead tr {
    background: #E8E8E8 !important;
    height: 38px !important;
}

thead th {
    padding: 8px 16px !important;
    font-size: 14px;
    font-weight: 600;
    color: #231F20;
}

tbody td {
    padding: 8px 16px !important;
    color: #231F20;
    border-bottom: 3px solid #E8E7E8;
    vertical-align: middle !important;
    height: 45px !important;
}



/* -------------------- PDF BUTTON -------------------- */
.Btn_PDF {
    background: #104F9E;
    color: white;
    padding: 5px 13px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    height: 40px;
}

.BackArrow {
    content: url('../Images/BackArrow.png');
    vertical-align: middle;
    margin-right: 12px;
    cursor: pointer;
}


/* Modal box styling */
.UserModalBox {
    padding: 10px 15px;
    border-radius: 15px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #104F9E;
}

/* Labels */
label {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 6px;
    color: #828282;
}

/* Inputs */
.form-control, select {
    height: 40px;
    border-radius: 8px;
    border: 1px solid #D2D2D2;
    font-size: 14px;
}

/* Web Activities */
.SectionHeading {
    font-size: 17px;
    font-weight: 600;
    color: #1F4E8C;
}

.ActivityItem {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin: 5px 10px;
}

/* Buttons */
.BtnCancel {
    background: #fff;
    border: 2px solid #1F4E8C;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 15px;
}

.BtnUpdate {
    background: #1F4E8C;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 15px;
    border: none;
}
/* Activity box container */
.ActivityBox {
    margin-bottom: 12px;
}


/* Header row */
.ActivityHeader {
    display: flex;
    cursor: pointer;
}

/* + icon */
.ExpandIcon {
    font-size: 22px;
    color: #1F4E8C;
    font-weight: bold;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8eff9;
    user-select: none;
}

    /* When expanded */
    .ExpandIcon.active {
        background: #1F4E8C;
        color: #fff;
        transform: rotate(45deg); /* + becomes x */
    }

/* Sub items */
.SubActivityList {
    margin-top: 12px;
    padding-left: 37px;
    display: none;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

    .SubActivityList label {
        display: flex;
        gap: 10px;
        align-items: center;
        font-size: 14px;
        color: #344767;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------- USER MANAGEMENT PAGE CSS ENDS --------- */

/* --------- Dealer PAGE CSS starts --------- */

.ViewAction {
    content: url('../Images/ViewIcon.png');
    cursor: pointer;
    vertical-align: bottom;
}

/* 覧覧 PROFILE CARD 覧覧 */
.ProfileSection {
    border-radius: 10px;
    border: 0.5px solid #E4E4E4;
    box-shadow: 1px 1px 4px 1px #0000000D;
}

.IconProfile {
    width: 110px;
    height: 110px;
    background: url("../Images/ProfileIcon.png") no-repeat center;
    background-size: contain;
}

.IconEditProfile {
    width: 25px;
    height: 25px;
    background: url("../Images/ProfileEdit.png") no-repeat center;
    background-size: cover;
    cursor: pointer;
    position: absolute;
    right: 120px;
    top: 76px;
}

/* 覧覧 SECTION TITLES 覧覧 */
.ProfileTitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #102D6A;
}

.Border_Bottom {
    border-bottom: 1px solid #B7B7B7;
    margin-bottom: 30px;
}

/* 覧覧 FORM 覧覧 */
.Add_User_Form label {
    color: #828282;
    font-size: 13px;
    font-weight: 500;
}

.Add_User_Form input.form-control {
    height: 45px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #D1D1D1;
    box-shadow: none !important;
    outline: none !important;
    color: #231F20;
    font-weight: 500;
}

/* --------- Dealer PAGE CSS ends --------- */


/* ------------ Product Catalogue page css starts here ---- */

.Prodgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


    .Prodgrid .card img {
        width: 100%;
        height: 200px;
        object-fit: contain;
    }


    .Prodgrid .card p {
        font-size: 13px;
        color: #777;
    }

    .Prodgrid .card {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        position: relative;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    }

    .Prodgrid .image-wrap {
        position: relative;
        text-align: center;
    }

        .Prodgrid .image-wrap img {
            width: 100%;
            height: 200px;
            object-fit: contain;
        }

    .Prodgrid .status {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: #07940E;
        color: #fff;
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 4px;
        box-shadow: 0px 3px 4px 0px #0000000A;
    }

    .Prodgrid .card h4 {
        margin: 12px 0 8px;
        font-size: 14px;
        color: #231F20 !important;
        font-weight: 600;
    }

    .Prodgrid .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 0px !important;
    }

    .Prodgrid .desc {
        font-size: 11px;
        color: #8D8D8D !important;
        line-height: 1.4;
        max-width: 75%;
    }

    .Prodgrid .price {
        font-weight: 600;
        white-space: nowrap;
        color: #231F20 !important;
    }


/* ------------ Product Catalogue page css ends here ---- */



/* Floating chat icon */
.chat-icon::before {
    content: url('../Images/messaging.png');
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Chat container */

/* Floating chat icon */
.chat-icon::before {
    content: url('../Images/messaging.png');
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Chat container */
.chat-container {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 600px;
    z-index: 999;
    height: 350px;
    background: #fff;
    border-radius: 8px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Left user list */
.chat-users {
    width: 35%;
    border-right: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px;
    margin-right: 10px;
    box-shadow: 1px 2px 4px 2px #00000026;
}

.dealeruser {
    padding: 12px;
    cursor: pointer;
}

    .dealeruser:hover {
        background: #eee;
    }

    .dealeruser.active {
        background: #097ADF;
        color: white;
    }

/* Right chat box */
.chat-box {
    width: 65%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 2px 4px 2px #00000026;
    border-radius: 8px;
    border-left: 1px solid #ddd;
}

    .chat-box textarea {
        flex: 1;
        resize: none;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .chat-box button {
        margin-top: 10px;
        align-self: flex-end;
        padding: 8px 20px;
        background: #097ADF;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

.dealersection {
    padding: 12px 12px 0px 12px;
}

.manager-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.manager-role {
    font-size: 11px;
    color: #777;
}

.dealer-title {
    font-size: 11px;
    color: #888;
    margin: 0px 12px 12px 12px;
    text-transform: uppercase;
}
/* Chat container END */