:root {
            --primary-purple: #2196d2;
            --header-black: #263746;
            --bg-light: #F4F4F4;
            --text-dark: #11142D;
            --text-grey: #808191;
            --white: #FFFFFF;
            --sidebar-width: 0px;
            --sidebar-width-right: 1%;
            --orange: orange;
            --yellow: yellow;
            --purple: purple;

            --blue: #1976d2;
            --grey: #f5f5f5;
            --black1: #222;
            --black2: #999;
            --pink: #ff004a;
            --green: rgb(0, 200, 150);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif, system-ui;
            text-transform: capitalize;
        }

        body {
            background-color: var(--bg-light);
            display: flex;
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        a
        {
            text-decoration: none;
        }

        input::-webkit-inner-spin-button,
        input::-webkit-outer-spin-button
        {
            -webkit-appearance: none;
        }


    
        html
        {
            scrollbar-width: normal;
            scrollbar-color: #777 #555;
        }
        html::-webkit-scrollbar
        {
            width: 10px;
        }
        html::-webkit-scrollbar-thumb
        {
            background-color: rgba(0, 100, 200, 0.4);
            border-radius: 20px;
        }
        html::-webkit-scrollbar-track
        {
            background-color: rgba(0, 100, 200, 0.2);
        }
        
        .navigation ul
        {
            scrollbar-width: normal;
            scrollbar-color: #777 #555;
        }
        .navigation ul::-webkit-scrollbar
        {
            width: 10px;
        }
        .navigation ul::-webkit-scrollbar-thumb
        {
            background-color: rgba(0, 50, 100, 0.7);
            border-radius: 20px;
        }
        .navigation ul::-webkit-scrollbar-track
        {
            background-color: rgba(0, 50, 100, 0.4);
        }


        .button
        {
            float: right;
            margin-right: 3%;
            margin-bottom: 2vh;
            background-color: var(--pink);
            border-color: transparent;
            color:#fff;
            height:35px;
            width:fit-content;
            padding: 5px 15px;
            font-weight: 400;
            font-size: 15px;
            cursor: pointer;
            margin-left: 15px;
            border-radius:5px;
            box-shadow: 0 0 5px #ddd, 0 0 7px #ccc, 0 0 20px #aaa;
        }





        /* HEADER */
        .header.active
        {
            width: calc(100% - 80px);
            left: 80px;
        }
        .header
        {
            position: fixed;
            width: calc(100% - 240px);
            left: 240px;
            background: var(--white);
            transition: 0.5s;
        }
        .topbar
        {
            width: 100%;
            height: 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;background: #263746;
            padding: 0px 10px;
            box-shadow: 0 0 5px #ccc, 0 0 7px #bbb, 0 0 15px #263746;
        }
        .toggle
        {
            position: relative;
            top: 0;
            width: 50px;
            height: 40px;
            background: #ddd;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.8em;
            cursor: pointer;
        }
        .search
        {
            position: relative;
            width: 400px;
            margin: 0px 10px;
        }
        .search label
        {
            position: relative;
            width: 100%;
        }
        .search label input
        {
            width: 100%;
            height: 35px;
            border-radius: 35px;
            padding: 5px 20px;
            padding-left: 35px;
            outline: none;
            font-size: 12px;
            border: 1px solid var(--black2);
        }
        .search label svg
        {
            position: absolute;
            top: 0;
            left: 10px;
            width: 1.1em;
        }
        .header-wallet
        {
            height: 46px;
            padding: 0 10px;
            color: var(--white);
            background: transparent;
            border-radius: 10px;
            margin-top: 1px;
            margin-right: 10px;
            border: 3px solid var(--green);
            cursor: pointer;
        }
        .user
        {
            position: relative;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            overflow: hidden;
            cursor: pointer;
        }
        .user img
        {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }







        /* SIDE BAR */
        .container
        {
            position: relative;
            width: 100%;
        }
        .navigation
        {
            position: fixed;
            width: 240px;
            height: 100%;
            background: var(--blue);
            border-left: 10px solid var(--blue);
            transition: 0.5s;
            overflow: hidden;
        }
        .navigation.active
        {
            width: 80px;
        }
        .navigation ul
        {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow-x: hidden;
            overflow-y: auto;
        }
        .navigation ul li
        {
            position: relative;
            width: 200%;
            list-style: none;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;
        }
        .navigation ul li:hover,
        .navigation ul li.hovered
        {
            background: var(--white);
            font-weight: 600;
        }
        .navigation ul li:nth-child(1)
        {
            margin-bottom: 10px;
            pointer-events: none;
        }
        .navigation ul li a
        {
            position: relative;
            display: block;
            width: 100%;
            display: flex;
            text-decoration: none;
            color: var(--white);
        }
        .navigation ul li:hover a ,
        .navigation ul li.hovered a
        {
            color: var(--blue);
        }
        .navigation ul li a .icon
        {
            position: relative;
            display: block;
            min-width: 60px;
            height: 50px;
            line-height: 60px;
            text-align: center;
        }
        .navigation ul li a .icon svg
        {
            width: 1.5em;
        }
        .navigation ul li a .title
        {
            position: relative;
            display: block;
            padding: 0 10px;
            height: 55px;
            font-size: 16px;
            line-height: 50px;
            text-align: start;
            white-space: nowrap;
        }
        .navigation ul li a .title svg
        {
            width: 20px;
            margin-top: 10px;
        }
        .navigation ul li:hover a::before,
        .navigation ul li.hovered a::before
        {
            content: '';
            position: absolute;
            right: 0;
            top: -50px;
            width: 50px;
            height: 50px;
            background: transparent;
            border-radius: 50%;
            box-shadow: 35px 35px 0px 10px var(--white);
            pointer-events: none;
        }
        .navigation ul li:hover a::after,
        .navigation ul li.hovered a::after
        {
            content: '';
            position: absolute;
            right: 0;
            bottom: -50px;
            width: 50px;
            height: 50px;
            background: transparent;
            border-radius: 50%;
            box-shadow: 35px 35px 0px 10px var(--white);
            pointer-events: none;
        }
        #sign_out
        {
            width: 100%;
            background: transparent;
            border: transparent;
            color: white;
            cursor: pointer;
        }
        #sign_out:hover
        {
            color: var(--blue);
        }










        /* MAIN */
        .main.active
        {
            width: calc(100% - 80px);
            left: 80px;
        }
        .main
        {
            position: absolute;
            width: calc(100% - 240px);
            top: 50px;
            left: 240px;
            min-height: calc(100vh - 50px);
            background: var(--white);
            transition: 0.5s;
        }

        /* LOADING */

    /* Loading Bar */
    #loadingbar
    {
      position: fixed;
      left: 0;
      top: 0px;
      width: 0;
      height: 3px;
      background: purple;
      z-index: 1001;
      transition: all 1s;
    }
    /* Loading Box */
    #loadingbox
    {
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(200,200,200,0.5);
      z-index: 1000;
      transition: all 1s;
    }

























        /* --- Main Content Section --- */
        .content {
            margin-left: var(--sidebar-width);
            margin-right: var(--sidebar-width-right);
            flex: 1;
            padding: 24px 40px;
            min-height: calc(100vh - 50px);
        }

        /* --- Company Grid --- */
        .company-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
        }

        .company-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            transition: all ease 0.5s;
            cursor: pointer;
            box-shadow: 5px 10px 7px rgba(0,0,0,0.2);
        }

        .company-card:hover { 
            transform: translateY(-4px);
            box-shadow: 7px 15px 10px var(--primary-purple);
        }

        .img-container {
            height: 200px;
            width: 100%;
            background: #ddd;
            position: relative;
        }

        .img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .company-info {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .title-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .company-title {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 16px;
        }

        .price-tag {
            background: #EBEBFF;
            color: var(--primary-purple);
            padding: 4px 12px;
            border-radius: 6px;
            font-weight: 700;
            font-size: 14px;
        }

        .location {
            color: var(--text-grey);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 4px;
        }



























        .cardbox
        {
            position: relative;
            width: 100%;
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-gap: 30px;
        }
        .cardbox .card
        {
            position: relative;
            background: var(--white);
            padding: 30px;
            border-radius: 20px;
            display: flex;
            justify-content: space-between;
            cursor: pointer;
            box-shadow: 0px 7px 25px rgba(0, 0, 0, 0.4);
        }
        .cardbox .card .numbers
        {
            position: relative;
            font-weight: 500;
            font-size: 1.5em;
            color: var(--blue);
            white-space: nowrap;
        }
        .cardbox .card .cardname
        {
            color: #505050;
            font-size: 1em;
            margin-top: 10px;
        }
        .cardbox .card .iconbx
        {
            font-size: 3em;
            color: var(--black2);
        }
        .cardbox .card:hover
        {
            background: var(--blue);
        }
        .cardbox .card:hover .numbers,
        .cardbox .card:hover .cardname,
        .cardbox .card:hover .iconbx
        {
            color: var(--white);
        }



















        





        /* The clickable Landscape image */
        #banner_Display {
            width: 25vw;
            height: calc(0.5625 * 25vw);
            border-radius: 15px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid #ddd;
            transition: opacity 0.3s;
        }
        #banner_Display:hover { opacity: 0.8; }












        #add_box label
        {
            float: left;
            margin-left: 2%;
            margin-bottom: 5px;
        }















/* FOOTER */


/* Pop up Massage */
#toast-box {
    position: fixed;
    bottom: 1%;
    left: -100%; /* Hidden by default */
    width: auto;
    max-width: 300px;
    padding: 15px 25px;
    background: #fff;
    color: #333;
    border-radius: 10px;
    font-family: sans-serif;
    font-weight: 500;
    z-index: 9999;
    transition: left 0.5s ease-in-out;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

/* Class to slide it in */
#toast-box.show {
    left: 1%;
}


















        /* --- Mobile Responsiveness --- */
@media (max-width: 991px)
    {
        .content {
            margin-left: 0;
            padding: 20px;
        }
        .navigation
        {
            left: -240px;
        }
        .navigation.active
        {
            width: 240px;
            left: 0;
        }
        .header
        {
            width: 100%;
            left: 0;
        }
        .header.active
        {
            left: 240px;
        }
        .main
        {
            width: 100%;
            left: 0;
        }
        .main.active
        {
            left: 240px;
        }


        #banner_Display {
            width: 40vw;
            height: calc(0.5625 * 40vw);
        }


        .cardbox
        {
            grid-template-columns: repeat(2, 1fr);
        }
    }





        @media (max-width: 600px) {
            .company-grid {
                grid-template-columns: 1fr; /* Full width stack */
            }
            .img-container {
                height: 240px; /* Taller aspect ratio for mobile */
            }


            #banner_Display {
                width: 55vw;
            height: calc(0.5625 * 55vw);


                .table-container {
                    overflow-x: auto;
                }
            }


            .details
            {
                grid-template-columns: repeat(1, 1fr);
            }
        }






    @media (max-width: 480px)
    {
        .user
        {
            min-width: 40px;
        }
        .navigation
        {
            width: 100%;
            left: -100%;
            z-index: 50;
        }
        .navigation.active
        {
            width: 100%;
            left: 0;
        }
        .toggle
        {
            z-index: 51;
        }
        .main.active .toggle
        {
            position: fixed;
            right: 0;
            left: initial;
            color: var(--white);
        }


        #banner_Display {
            width: 70vw;
            height: calc(0.5625 * 70vw);
        }


        
        .cardbox
        {
            grid-template-columns: repeat(1, 1fr);
        }
        .cardheader h2
        {
            font-size: 20px;
        }
    }
