﻿
        body {
            /*font-family: Roboto, sans-serif;*/
            font-family:'gill-ssi-regular', sans-serif;
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            overflow: hidden;
        }

        ::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 6px;
    height:6px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	border-radius: 4px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
.progressloading {
        z-index: 99999999999;
        position: absolute;
        top: 30%;
        left: 40%;
        display: none;
    }

        .sidebar {
            width: 300px;
            background-color: #f4f6f8;
            padding: 8px 8px 16px 8px;
            height: 85vh;
            overflow-y: auto;
            border-right: 1px solid #dde2e6;
            font-family: 'gill-ssi-regular', sans-serif;
            font-size: 13px;
        }

            .sidebar h2, .sidebar h3 {
                margin-top: 0;
                margin-bottom: 10px;
                font-size: 13px;
                color: #333;
            }

            .sidebar .toggle-button {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 8px 10px;
                background: linear-gradient(135deg, #0077b6, #00b4d8);
                color: #fff;
                cursor: pointer;
                margin-bottom: 3px;
                border-radius: 5px;
                font-size: 13px;
                font-weight: 600;
                letter-spacing: 0.3px;
                transition: background 0.2s;
                box-shadow: 0 1px 3px rgba(0,0,0,0.12);
            }

            .sidebar .toggle-button > div {
                display: flex;
                align-items: center;
                gap: 8px;
                flex: 1;
            }

            .sidebar .toggle-button > div input[type=checkbox] {
                accent-color: #fff;
                width: 14px;
                height: 14px;
                cursor: pointer;
                flex-shrink: 0;
            }

            .sidebar .toggle-button > div label {
                color: #fff;
                cursor: pointer;
                font-size: 13px;
                font-weight: 600;
                user-select: none;
            }

                .sidebar .toggle-button:hover {
                    background: linear-gradient(135deg, #005f8e, #0096b8);
                }

               .sidebar .layer-item:hover {
                    background-color: #e0f4fb;
                }

                .sidebar .toggle-button .fa-angle-down {
                    transition: transform 0.25s ease;
                    cursor: pointer;
                    font-size: 13px;
                    opacity: 0.9;
                    flex-shrink: 0;
                }

                .sidebar .toggle-button.open .fa-angle-down {
                    transform: rotate(-180deg);
                }

            .sidebar .toggle-content {
                display: none;
                padding-left: 10px;
                border-left: 2px solid #00b4d8;
                margin-left: 6px;
                margin-bottom: 4px;
            }

            .sidebar .toggle-button.open + .toggle-content {
                display: block;
            }

            .sidebar .layer-item {
                display: flex;
                align-items: center;
                margin-bottom: 3px;
                background-color: #fff;
                padding: 6px 8px;
                justify-content: space-between;
                border: 1px solid #e0e4e8;
                font-size: 12.5px;
                border-radius: 4px;
                transition: background-color 0.15s;
                color: #333;
            }

            .sidebar .layer-item > div:first-child {
                display: flex;
                align-items: center;
                gap: 7px;
                flex: 1;
                min-width: 0;
            }

            .sidebar .layer-item > div:first-child label {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                cursor: pointer;
                font-size: 12.5px;
                color: #333;
                user-select: none;
            }

                .sidebar .layer-item input {
                    margin-right: 0;
                    flex-shrink: 0;
                }
                .sidebar input[type=checkbox] {
                    cursor: pointer;
                    accent-color: #0077b6;
                    width: 13px;
                    height: 13px;
                }
                .layer-item i {
                    color: #0077b6;
                    opacity: 0.75;
                    margin-right: 4px;
                    cursor: pointer;
                    font-size: 12px;
                    transition: opacity 0.15s, color 0.15s;
                }
                .layer-item i:hover {
                    opacity: 1;
                    color: #005f8e;
                }

        .maincontent{
            flex: 1;
            display: flex;
            flex-direction: column;
            height: 100vh;
        }


        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #ffffff;
            padding: 10px 16px;
            border-bottom: 2px solid #90d9ef;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }

            .header .left-icons,
            .header .user-controls {
                display: flex;
                align-items: center;
                gap: 4px;
            }

                .header .left-icons button {
                    margin: 0;
                    padding: 6px 10px;
                    background: #f0f8ff;
                    border: 1px solid #cce8f5;
                    cursor: pointer;
                    border-radius: 6px;
                    color: #0077b6;
                    transition: background 0.18s, box-shadow 0.18s;
                    display: flex;
                    align-items: center;
                    gap: 5px;
                    font-size: 13px;
                }

                .header .left-icons i {
                    color: #0077b6;
                    font-size: 16px;
                }

                .header .user-controls i {
                    color: #0077b6;
                    font-size: 14px;
                }

                .header .left-icons button:hover {
                    background: #daf0fb;
                    border-color: #00b4d8;
                    box-shadow: 0 2px 6px rgba(0,119,182,0.15);
                }

                .header .left-icons button:active {
                    background: #c0e8f7;
                }

                #btnChat {
                    background: #0077b6;
                    border: 1px solid #005f8e;
                    color: #fff;
                    font-weight: 600;
                    letter-spacing: 0.3px;
                    border-radius: 20px;
                    padding: 8px 16px;
                }

                #btnChat i {
                    color: #fff;
                }

                #btnChat:hover {
                    background: #005f8e;
                }

                .header .user-controls a {
                    margin: 0;
                    padding: 3px 10px;
                    background: rgba(255,255,255,0.9);
                    border: none;
                    color: #0077b6;
                    cursor: pointer;
                    font-size: 14px;
                    border-radius: 20px;
                    text-decoration: none;
                    transition: background 0.18s, color 0.18s;
                    display: flex;
                    align-items: center;
                    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
                }

                .header .user-controls a:hover {
                    background: #fff;
                    color: #005f8e;
                }


        .sidediv {
            transition: width 0.25s ease;
            overflow: hidden;
            flex-shrink: 0;
        }

        .sidediv.collapsed {
            width: 0 !important;
            min-width: 0 !important;
        }

        .sidebar-toggle {
            width: 10px;
            flex-shrink: 0;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 9999;
            position: relative;
            transition: background 0.18s;
        }

        .sidediv.collapsed ~ .sidebar-toggle::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 4px;
            width: 1px;
            background: #90d9ef;
        }

        .sidebar-toggle i {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 18px;
            height: 18px;
            background: #0077b6;
            color: #fff;
            font-size: 8px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 4px rgba(0,0,0,0.2);
            transition: transform 0.25s ease, background 0.18s;
        }

        .sidebar-toggle:hover i {
            background: #005f8e;
        }

        .sidediv.collapsed ~ .sidebar-toggle i {
            transform: translate(-50%, -50%) rotate(180deg);
        }

        .sidediv .logo img {
            height: 45px;
        }

        .sidediv .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 2px 12px;
            background: #ffffff;
            border-bottom: 2px solid #90d9ef;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }

            .sidediv .logo span {
                font-size: 15px;
                font-weight: 700;
                color: #0077b6;
                letter-spacing: 0.5px;
            }
            .legendsidediv{
                position:absolute;
                left:325px;
                bottom:25px;
                z-index:99999;
                min-width: 220px;
                max-width: 300px;
                background-color:#fff;
                display:none;
                border-radius: 6px;
                box-shadow: 0 4px 16px rgba(0,0,0,0.18);
                border: 1px solid #d0d0d0;
                font-family: 'gill-ssi-regular', sans-serif;
                font-size: 13px;
                color: #333;
            }
            .legendbody{
                padding: 8px 12px 12px 12px;
                max-height: 380px;
                overflow-y: auto;
                line-height: 1.6;
            }
            .legendbody div {
                margin-bottom: 4px;
                font-size: 12px;
                color: #444;
            }
            .legendheader{
                background: linear-gradient(135deg, #0077b6, #00b4d8);
                color: #fff;
                padding: 8px 12px;
                border-radius: 6px 6px 0 0;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            .legendheader h3 {
                margin: 0;
                padding: 0;
                font-size: 14px;
                font-weight: 600;
                letter-spacing: 0.5px;
                color: #fff;
            }
        .map {
            flex: 1;
            background-color: #d8e9f0;
            position: relative;          
        }

            .map img {
                width: 100%;
                height: 100%;
            }

        .footer {
            text-align: center;
            background-color: #f1f1f1;
            padding: 5px;
            font-size: 12px;
        }
    /*#attribute-table { margin-top: 20px; max-height:200px; overflow-y:auto; overflow-x:auto; display:none; }
    table { width: 100%; border-collapse: collapse; }
    th, td { border: 1px solid black; padding: 8px; text-align: left; }
    th { background-color: #f2f2f2; }*/

        .attribute-query {
            width: 300px;
            background: #fff;
            border-radius: 10px 0 0 10px;
            box-shadow: 0 8px 28px rgba(0,0,0,0.16);
            border: 1px solid #cce8f5;
            display: none;
            position: fixed;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            z-index: 9999;
            overflow: visible;
            font-family: 'gill-ssi-regular', sans-serif;
            font-size: 13px;
            transition: transform 0.25s ease, right 0.25s ease;
        }

        .attribute-query.collapsed {
            right: -300px;
        }

        .aq-collapse-tab {
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 48px;
            background: #0077b6;
            border-radius: 6px 0 0 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: -2px 0 6px rgba(0,0,0,0.15);
            transition: background 0.18s;
        }

        .aq-collapse-tab:hover {
            background: #005f8e;
        }

        .aq-collapse-tab i {
            color: #fff;
            font-size: 9px;
            transition: transform 0.25s ease;
        }

        .attribute-query.collapsed .aq-collapse-tab i {
            transform: rotate(180deg);
        }

        .attribute-query .modal-header {
            background: linear-gradient(135deg, #0077b6, #00b4d8);
            padding: 10px 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .attribute-query .modal-header h3 {
            margin: 0;
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.3px;
        }

        .attribute-query .modal-header .closebtnicon {
            color: #fff;
            opacity: 0.85;
            font-size: 18px;
        }

        .attribute-query .modal-header .closebtnicon:hover {
            opacity: 1;
            background-color: rgba(255,255,255,0.15);
            color: #fff;
        }

        .aq-intro {
            margin: 10px 14px 0 14px;
            background: #f0f8ff;
            border: 1px solid #cce8f5;
            border-radius: 7px;
            padding: 10px 12px;
        }

        .aq-intro-item {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 6px;
            font-size: 12px;
            color: #333;
        }

        .aq-intro-item i {
            color: #0077b6;
            font-size: 13px;
            width: 16px;
            flex-shrink: 0;
        }

        .aq-intro-example {
            margin-top: 8px;
            padding: 5px 8px;
            background: #0077b6;
            color: #fff;
            border-radius: 4px;
            font-size: 11px;
            font-style: italic;
            text-align: center;
        }

        #aq-layer-info {
            display: flex;
            align-items: flex-start;
            gap: 7px;
            background: #e8f4fd;
            border-left: 3px solid #0077b6;
            border-radius: 4px;
            padding: 8px 10px;
            margin: 4px 0 2px 0;
            font-size: 12px;
            color: #1a4a6e;
            line-height: 1.4;
        }
        #aq-layer-info i {
            color: #0077b6;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .attribute-query > select,
        .attribute-query > textarea {
            width: calc(100% - 28px);
            margin: 8px 14px 0 14px;
            padding: 7px 10px;
            box-sizing: border-box;
            border: 1px solid #cce8f5;
            border-radius: 6px;
            font-size: 12.5px;
            color: #333;
            background: #f7fbff;
            outline: none;
            transition: border-color 0.15s;
        }

        .attribute-query > select:focus,
        .attribute-query > textarea:focus {
            border-color: #00b4d8;
        }

        .attribute-query textarea {
            resize: none;
            font-size: 12px;
            color: #555;
        }

        .attribute-query .operator-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            padding: 8px 14px 0 14px;
        }

        .attribute-query .operator-buttons button {
            flex: 1;
            min-width: 30px;
            padding: 5px 4px;
            border: 1px solid #cce8f5;
            border-radius: 5px;
            background: #f0f8ff;
            color: #0077b6;
            font-size: 12px;
            cursor: pointer;
            transition: background 0.15s, color 0.15s;
        }

        .attribute-query .operator-buttons button:hover,
        .attribute-query .operator-buttons button:active,
        .bgbtn {
            background: #0077b6 !important;
            color: #fff !important;
            border-color: #0077b6 !important;
        }

        .attribute-query .action-buttons {
            display: flex;
            gap: 8px;
            padding: 10px 14px 14px 14px;
        }

        .attribute-query .action-buttons button {
            flex: 1;
            padding: 8px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            transition: opacity 0.15s;
        }

        .attribute-query .action-buttons button:hover {
            opacity: 0.88;
        }

        .attribute-query .run-button {
            background: #0077b6;
            color: #fff;
        }

        .attribute-query .clear-button {
            background: #e8f4fd;
            color: #0077b6;
            border: 1px solid #cce8f5;
        }

        .attribute-query .load-button {
            background: #0077b6;
            color: #fff;
        }
        #overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }
         .modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            padding: 15px;
            border-radius: 5px;
            z-index: 1000;
            display:none;
            width: 300px;
        }

           .modalnew {
            position: fixed;
            top: 50%;
            right: -10%;
            transform: translate(-50%, -50%);
            background-color: white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            padding: 15px;
            border-radius: 5px;
            z-index: 1000;
            display:none;
            width: 300px;
        }
         /*For Spatial query Box*/
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            /*padding-bottom: 10px;*/
            /*border-bottom: 1px solid #ddd;*/
        }
        .modal-body {
            margin: 15px 0;
            margin-top: 5px;
        }
        .modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        .clshint{
            font-size:13px;
            color:red;
        }
        #type-select-distance{
             display: flex;
             justify-content: space-between;
              align-items: center;
              display:none;
        }
        #spatialdivcontents select, #spatialdivcontents input {
            display: block;
            width: 100%;
            padding: 5px;
            margin-bottom: 15px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
      
         #spatialdivcontents select,#spatialdivcontents label {           
            font-size: 12px;          
        }
         .modal-footer button{
             display: block;
            width: 100%;
            padding: 5px;
            margin-bottom: 15px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 5px;
         }
       
        .btn-load {
            background-color: #007bff;
            color: white;
        }
        .btn-run {
            background-color: #28a745;
            color: white;
        }
        .btn-clear {
            background-color: #dc3545;
            color: white;
        }
        .closebtnicon {
            cursor: pointer;
            background-color: transparent;
            color: #0077b6;
            padding: 2px 6px;
            font-size: 18px;
            line-height: 1;
            border-radius: 3px;
            transition: color 0.15s, background-color 0.15s;
        }
        .closebtnicon:hover {
            color: #005f8e;
            background-color: rgba(0,119,182,0.08);
        }
        .legendheader .closebtnicon,
        .sidediv .logo .closebtnicon {
            color: #fff;
            opacity: 0.85;
        }
        .legendheader .closebtnicon:hover,
        .sidediv .logo .closebtnicon:hover {
            opacity: 1;
            background-color: rgba(255,255,255,0.15);
            color: #fff;
        }
        .basemapsidediv{
               position: absolute;
    top: 54px;
    left: 324px;
    z-index: 999999;
    display: none;
    background-color: white;
    padding:5px;
        }     
.basemaptdbg{   
   display: flex;
    margin: 5px;
    border: 0;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}
.bmicon{
    height:80px;
    width:80px;
    margin:5px;
}

      
        .measure-content {
            padding: 10px;
        }
        .measure-content label {
            display: block;
            margin-bottom: 5px;
        }
        .measure-content input,
        .measure-content select {
            width: 100%;
            padding: 5px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 3px;
            font-size:13px;
        }
        .measure-container .buttons {
            display: inline-block;
            float:right;
            padding: 10px;
            border-top: 1px solid #ccc;
            /*background-color: #f9f9f9;*/
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
        }
        .ui-widget-header {
             border-top:0 !important;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
     border-left: 1px solid #dddddd;
     /*background: #fff;*/
    color: #333333;
    font-weight: bold;
   }
        .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #d1cdcd;
    background: #ffffff;
    font-weight: normal;
    /* color: #454545; */
  }
        .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #454545;
    text-decoration: none;
}
       .measure-container .button {
            padding: 10px 20px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }
       .measure-container .button.start {
            background-color: #28a745;
            color: #fff;
        }
        .measure-container .button.clear {
            background-color: #dc3545;
            color: #fff;
        }
        .tabrow{
            display:flex;
            column-gap: 10px;
            justify-content:space-between;
            align-items:center;
        }
        .lblsmall{
            font-size:14px;
        }
         .lblsmall2{
            font-size:14px;
            font-weight:600;
        }

        #att_tbl_holder {
            position: fixed;
            bottom: 0;
            right: 320px;
            width: auto;
            max-width: 30%;
            min-width: 280px;
            height: auto;
            display: none;
            overflow-y: hidden;
            background: #fff;
            border-top: 2px solid #90d9ef;
            box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
            z-index: 99999;
            font-family: 'gill-ssi-regular', sans-serif;
        }

        #maximize {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 34px;
            width: 100%;
            cursor: pointer;
            background: linear-gradient(135deg, #0077b6, #00b4d8);
            text-decoration: none;
            color: #fff;
            border: none;
        }

        #maximize:hover {
            background: linear-gradient(135deg, #005f8e, #0096b8);
        }

        #spntblname {
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            letter-spacing: 0.3px;
            margin-right: 8px;
        }

        #maximize .fa-chevron-up {
            color: #fff;
            font-size: 12px;
            opacity: 0.85;
        }

        #lnkspclose {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            color: #fff;
            opacity: 0.85;
            cursor: pointer;
            padding: 2px 6px;
            border-radius: 3px;
            transition: opacity 0.15s;
        }

        #lnkspclose:hover {
            opacity: 1;
            background: rgba(255,255,255,0.15);
        }

        #attribute-table {
            padding: 0;
            background: #fff;
            max-height: 200px;
            transition: max-height 0.4s ease-in-out;
            overflow-y: auto;
            overflow-x: auto;
        }

        #attribute-table table {
            width: auto;
            min-width: 100%;
            border-collapse: collapse;
            font-size: 12.5px;
        }

        #attribute-table thead tr {
            background: linear-gradient(135deg, #0077b6, #00b4d8);
            color: #fff;
            position: sticky;
            top: 0;
            z-index: 1;
        }

        #attribute-table th {
            padding: 8px 12px;
            font-weight: 600;
            font-size: 12px;
            letter-spacing: 0.3px;
            text-align: left;
            white-space: nowrap;
            border-right: 1px solid rgba(255,255,255,0.2);
        }

        #attribute-table td {
            padding: 6px 12px;
            border-bottom: 1px solid #e8f4fb;
            border-right: 1px solid #e8f4fb;
            color: #333;
            white-space: nowrap;
        }

        #attribute-table tbody tr:nth-child(even) {
            background: #f4faff;
        }

        #attribute-table tbody tr:hover {
            background: #daf0fb;
        }




.layer-select, .query-mode-select {
  padding: 10px;
  /*border-bottom: 1px solid #ccc;*/
  background-color: #f9f9f9;
}

.layer-select label,
.query-mode-select label {
  font-size: 14px;
  margin-right: 8px;
  font-weight: 500;
  color: #333;
}

.layer-select select,
.query-mode-select select {
  padding: 6px 10px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
}


.askAIDiv {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 500px;
    font-family: Arial, sans-serif;
    z-index: 1000;
    display:none;
}

.chat-container {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.chat-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.chat-body {
    display: none;
    max-height: 400px;   
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
}

/*.chat-messages {
    max-height: 200px;
    min-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}*/

.chat-input {
    display: flex;
    gap: 5px;
}

.chat-input input {
    flex-grow: 1;
    padding: 5px;
}

.chat-input button {
    padding: 5px 10px;
    background: green;
    color: white;
}

.query-mode-select,
.layer-select {
    margin-bottom: 10px;
}

/* Chat message styles */
.message {
    margin: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    max-width: 80%;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message {
    background-color: #d1e7dd;
    align-self: flex-end;
    text-align: right;
    border-top-right-radius: 0;
}

.bot-message {
    background-color: #f8d7da;
    align-self: flex-start;
    text-align: left;
    border-top-left-radius: 0;
}

/* Chat container flex for alignment */
.chat-messages {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    font-size:12px;
}

/* Clear button styles */
.chat-controls {
    text-align: right;
    margin: 8px;
}

#clearBtn {
    padding: 6px 12px;
    font-size: 14px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#clearBtn:hover {
    background-color: #c82333;
}
#spn_spatial_hint{
    font-size: 12px;
    color: #4068e3;
    font-weight: 600;
}