/*Older css starts */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
.dashboard-container {
    display: flex;
}
.sidebar {
    width: 250px;
    background: #2d5a80;
    padding: 15px;
    height: 100vh;
    color: white;
}
.add-widget{
    display: none;
}
.widget-list {
    display: block;
    background: #2d5a80;
    padding: 10px;
    position: absolute;
    left: 20px;
    width: 200px;
    z-index: 10;
}
.widget-option {
    background: white;
    color: black;
    padding: 8px;
    margin-bottom: 5px;
    cursor: grab;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.dashboard {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: calc(100% - 250px);
    height: fit-content;
    max-height: 100%;
    min-height: 100px;
}
.widget {
    background: #0c3d5c;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    width: 300px;
    height: 120px;
    position: relative;
    cursor: grab;
}
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.widget-settings {
    background: white;
    color: black;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
    min-width: 200px;
    width: 100%;
    height: 100%;
    top: 0;
}
.widget-settings select {
    width: 100%;
}
.delete-widget {
    color: red;
    cursor: pointer;
}
.add-widget {
    background: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
}
.widget-list i{
    font-size: medium;
}
.portlet-header{
    display: none;
}

.widget-settings .delete-widget i{
    font-size:medium;
    color:#BA0021;
    padding:5px;
    border-radius:50%;
}
.widget-settings .delete-widget i:hover{
    color:white;
    background-color:#BA0021;
}
.widget-settings label{
    display:flex;
    justify-content:space-evenly;
}
button.settings-btn{
    background:transparent;
    border:none;
    font-size:medium;
}
.ui-resizable-handle.ui-resizable-se.ui-icon.ui-icon-gripsmall-diagonal-se {
    background-color:white !important;
    border-radius:50%;
}

.dashboard-container {
    height: 90vh;
}

#loader:after {
    border-top-color: #BA0021 !important;
}
#loader:before {
    border-top-color: #0c3d5c !important;
}
#loader {
    border-top-color: #007bff !important;
}

div.save-btn-container {
    display:flex;
    justify-content:space-around;
    float:right;
    gap:10px;
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #D3D3D3;
    padding:20px;
    padding-left:0px;
    border-radius:5px;
    border-top-left-radius:50%;
    border-bottom-left-radius:50%;
    border-left:2px solid;
}
div.save-btn-container button {
    padding:10px;
    font-size:medium;
    font-weight:bolder;
    border-radius:5px;
    display: block;
}
div.save-btn-container button.save-btn{
    color:#2d5a80;
    border:2px solid #2d5a80;
}
div.save-btn-container button.save-btn:hover{
    color:white;
    background-color:#2d5a80;
}
div.save-btn-container button.cancel-btn{
    color:grey;
    border:2px solid grey;
}
div.save-btn-container button.cancel-btn:hover{
    color:white;
    background-color:grey;
}
div.btn-container-pull{
    /*padding-left:5px;
    padding-top:5px;
    padding-bottom:5px;
    border-top:10px solid transparent;
    border-top-left-radius:50%;
    border-bottom-left-radius:50%;
    background-color:grey;
    color:white;*/
    font-size:large;
    cursor:pointer;
    line-height: 3;
}
div.btn-container-pull:hover{
    background-color:transparent;
    color:grey;
}
div.save-btn-container button.hide{
    display:none;
}

/* Extra Css */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
}

.dashboard-container {
    display: flex;
}

.sidebar {
    width: 250px;
    background: white;
    padding: 20px;
    color: grey;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    margin-bottom: 20px;
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
}

.add-widget {
    width: 100%;
    padding: 10px;
    background: #2575fc;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.add-widget:hover {
    background: #6a11cb;
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color:white;
    /* justify-content: center; */
    /* align-items: center; */
    /* width: 100%; */
    position: relative;
    width: 100%;
    left: 0;
}

.widget-option {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: grab;
    transition: transform 0.2s ease, background 0.3s ease;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    display: flex;
    gap: 10px;
    /* justify-content: center; */
    width: 100%;
}

.widget-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.dashboard {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-content: flex-start;
    overflow-y: auto;
}

.widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.widget-header {
    padding: 15px;
    background: linear-gradient(145deg, #6a11cb, #2575fc);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius:15px;
}

.widget-header span {
    font-size: 1.2em;
}

.settings-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2em;
}

.widget-body {
    padding: 15px;
}

.widget-settings {
    padding: 10px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    display: none;
}

.widget-settings label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-settings button {
    background: #2575fc;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.widget-settings button:hover {
    background: #6a11cb;
}

.save-btn-container {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.save-btn, .cancel-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}



/* Specific Widget Styles */
#chart {
    background: white;
    border-radius: 5px;
}

.ag-theme-quartz {
    border-radius: 5px;
}

video {
    border-radius: 5px;
}
.sidebar {
    background-color:white;
    color:grey;
    border-radius:20px;
    margin:20px;
    height: calc(100vh - 20vh);
}

.skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f3f3f3 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 5px;
    width: 250px;
    height: 100px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.widget-settings .HeaderName {
    display:flex;
    justify-content:space-between;
    margin-top:5%;
}

span.delete-widget {
    display:flex;
    justify-content:space-between;
}
span.delete-widget i:last-child:hover{
    background-color:#2575fc;
}
span.delete-widget i:last-child{
    color:#2575fc;
}

/* Custom Settings */
.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.custom-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 20px;
}

.custom-checkbox .slider:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.custom-checkbox input:checked + .slider {
    background-color: #4CAF50;
}

.custom-checkbox input:checked + .slider:before {
    transform: translateX(20px);
}

.custom-textbox {
    max-width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd !important;
    border-radius: 5px !important;
    outline: none;
    transition: 0.3s;
}

.custom-textbox:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

/* Custom Color Input */
.custom-color {
    appearance: none;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 0;
}

.custom-color::-webkit-color-swatch {
    border-radius: 8px;
    border: none;
}

.custom-color::-moz-color-swatch {
    border-radius: 8px;
    border: none;
}

/* Older css ends */


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
body {
    height: 100vh;
    background-color: #f4f4f4;
}
#wizard {
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    margin-top: 2%;
    padding: 10px;
}
.card {
    /* background: white; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    transition: transform 0.3s;
    color:black;
    opacity: 0.5;
    background-color: #04244e;
    color: #fafafa;
    margin-bottom: 0.5rem !important;
    background: linear-gradient(90deg, #255fa6 20%, #3067a9 60%, #3c90ff 100%) !important;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.card-content {
    padding: 15px;
    text-align: center;
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.card-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}
.card-button {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.card-button:hover {
    background: #0056b3;
}

#wizard .card.selected{
    background-color:lightgreen;
    color:white;
}

.selection-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.selection-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
.radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    cursor: pointer;
}
.radio-group input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
}
.radio-group input[type="radio"]:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    background: green;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#wizard .card.selected {
    background-color: #04244e;
    opacity: 1;
}
 
.radio-group input[type="radio"]:checked::before{
    background: #058acf;
}
 
.radio-group label{
    color:white;
    font-size: 14px;
}

div.save-btn-container{
	background: linear-gradient(145deg, #6a11cb, #2575fc);
    border-left: 2px solid #255fa6;
	padding: 5px;
}
.btn-container-pull .fa-solid{
    color: white !important;
}
div.save-btn-container button{
	padding:5px;
	font-size: 13px;
	height: 35px;
       margin-top: 9px;
}
div.save-btn-container button.save-btn {
    color: #290000;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    background: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}
div.save-btn-container button.cancel-btn {
    color: #290000;
    background: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}
button.settings-btn {
    float:right;
}
/* Modal CSS */
#dialog .charts-side-nav {
    width:200px;
    /* position: fixed;
    left: 120px; */
    background-color:white;
    color:#04244e;
    height:auto;
    border-radius:20px;
    padding:20px;
    z-index: 99;
}
#dialog .charts-side-nav ul li{
    font-size:large;
    font-weight:bold;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
#dialog .charts-side-nav ul li.active{
    background-color:#04244e;
    color:white;
}
#dialog .charts-main-container{
    display:flex;
    flex-direction:row;
}
#dialog .chart-body{
    display:flex;
    overflow-x:auto;
    position: relative;
    /* left: 250px; */
    width: 100%;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
}
.ui-widget.ui-widget-content {
    position: absolute !important;
    height: auto !important;
    width: 90% !important;
    top: 59px !important;
    /*left: 100px !important;*/
    border-radius:30px !important;
}
.ui-dialog .ui-widget-header {
    background-color:#04244e !important;
    border-top-left-radius:30px;
    border-top-right-radius:30px;
}
.ui-dialog .ui-dialog-buttonpane.ui-widget-content {
    background-color:#04244e !important;
    border-bottom-left-radius:30px;
    border-bottom-right-radius:30px;
}
.ui-dialog .ui-dialog-buttonpane.ui-widget-content button{
    color:#04244e;
    margin-right:20px;
}

.linechart, .barchart, .piechart{
    opacity: 1;
    pointer-events: all;
}

.linechart.chart_Unselected, .barchart.chart_Unselected, .piechart.chart_Unselected{
    opacity: 0.3;
}

#dialog .dialog-header {
    font-size:medium;
    text-align:center;
}

.SQLcontainer {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.CodeMirror {
    border: 1px solid #ccc;
    height: 200px !important;
}
/*.CodeMirror-scroll {
    background: ghostwhite;
    color: black;
}*/
button.SQLAddBtn{
    background-color: #04244e;
    color: white;
    border: 2px solid white;
    font-size: medium;
    border-radius: 5px;
    padding: 10px;
    float: right;
}
.CodeMirror.cm-s-material-darker {
    background-color:white;
    border:none;
}
.SQLcontainer{
    display:flex;
    overflow-y:auto;
    flex-wrap:wrap;
    max-height:60vh;
}
.SQLcontainer .textarea-container{
    width: 100%;
}
pre.CodeMirror-line {
    font-size:large !important;
}

.SQLcontainer button.remove-icon {
    border:none;
    font-size:large;
    text-align:center;
    width:29px;
    background-color:#212121;
    color:white;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
}

.SQLcontainer span.sample_query {
    font-size:medium;
    color:grey;
    margin-left:5px;
}

.card {
    cursor:pointer;
}

div#content-container .content-body{
    display:flex;
    flex-wrap:wrap;
    gap:50px;
    padding: 0px 20px;
}

div#content-container{
    margin:0px 50px;
    overflow-y:auto;
    max-height:70vh;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;;
}
@keyframes flipIn {
    0% {
      opacity: 0;
      transform: rotateY(90deg);
    }
    100% {
      opacity: 1;
      transform: rotateY(0);
    }
}
  
#content-container .content-body.hascontent,.card {
    animation: flipIn 0.6s ease-out;
}
  
.video-container, #grid {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card.active::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 40%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #04244e;
}

/*sql container css starts*/
.chart-name-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    /* background: #f8f9fa; */
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
    max-width: 100%;
    min-width:100%;
}

.chart-name-container label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.chart-name-container input, .chart-name-container textarea {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
    max-width:100%;
    width:100%;
    min-width:400px;
}

.chart-name-container input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.CodeMirror{
    min-height:150px !important;
    max-height:250px;
}
.sql_conatiner_vars{
    width:100%;
}

.textarea-container{
    width: 80% !important;
}

.sql_conatiner_vars {
    display:flex;
    gap:50px;
}
/* .user-generic-container{
    border:1px solid grey;
    height:fit-content;
    padding:20px;
    border-radius:10px;
    position:relative;
    top:10%;
    max-height:250px;
    overflow-y:auto;
} */
.user-generic-container .user_Data{
    font-size:15px;
    background: #f8f9fa;
    border:1px solid grey;
    margin-bottom:5px;
    padding:10px;
    border-radius:10px;
}

.user-generic-container .vars {
    border: 1px solid #ccc;
    height: fit-content;
    padding: 20px;
    border-radius: 10px;
    max-height: 250px;
    overflow-y: auto;
}
.user-generic-container label{
    font-size:18px;
    text-align:center;
    color:grey
}

div.newBtn-table-container button.newBtn-table {
    padding:10px;
    border:2px solid #04244e;
    border-radius:10px;
    background-color:#04244e;
    color:white;
    font-size:15px;
    font-weight:bold;
}
div.newBtn-table-container button.newBtn-table:hover{
    background-color:white;
    color:#04244e;
}
div.newBtn-table-container{
    text-align: right;
}
.grid-container .grid-header {
    display:flex;
    justify-content:space-between;
    padding:0 30px;
}
.grid-container .grid-header label.grid-header-label{
    font-size:15px;
    font-family:monospace;
    font-weight:bold;
    color:#04244e;
    line-height: 5;
}
.grid-container .grid-header div.grid-btns-container button{
    font-size:15px;
    font-family:monospace;
    font-weight:bold;
    color:#04244e;
    border:none;
    background:transparent;
}
.grid-container .grid-header div.grid-btns-container button i{
    border:2px solid #04244e;
    padding:5px;
    border-radius:50%;
}
.grid-container .grid-header div.grid-btns-container button:hover i{
    background-color: #04244e;
    color:white;
    border-radius:50%;
}

div.grid-btns-container{
    display:flex;
    gap:10px;
}

div.video-add-btn-container {
    position: fixed;
    right: 5%;
    margin-top:10px;
}


div.video-add-btn-container button {
  padding: 14px 28px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

div.video-add-btn-container button:after{
   content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

 div.video-add-btn-container button:hover {
   box-shadow: inset 4px 4px 8px #b8bec7,
                inset -4px -4px 8px #ffffff;
}


/*sql container css ends*/
.load-table-body {
    display:flex;
    flex-wrap:wrap;
    /* max-height:400px; */
}

/* file uplaod starts */
.upload-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: linear-gradient(135deg, #1e1e2f 0%, #2a2a3b 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

.upload-area {
    position: relative;
    padding: 40px 20px;
    border: 2px dashed #5e5e8d;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #7b7bff;
    background: rgba(123, 123, 255, 0.1);
}

.upload-area.dragover {
    border-color: #7b7bff;
    background: rgba(123, 123, 255, 0.2);
}

.upload-input {
    display: none;
}

.upload-label {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0;
    display: block;
}

.upload-icon {
    font-size: 40px;
    color: #7b7bff;
}

.file-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ffffff;
    display: none;
}

.file-info.show {
    display: block;
}

.file-name {
    color: #7b7bff;
    font-weight: 500;
    word-break: break-all;
}

.file-size {
    color: #cccccc;
    font-size: 14px;
    margin-top: 5px;
}

.upload-btn {
    background: #7b7bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.upload-btn:hover {
    background: #6464ff;
}
/*  file uplaod ends*/

div.newBtn-table-container {
    margin:10px 0;
}

div.newBtn-chart-container {
    width:100%;
}

div.newBtn-chart-container button{
    float:right;
    margin:10px 0;
    border:2px solid #04244e;
    padding:10px 10px;
    border-radius:10px;
    color:#04244e;
    background:transparent;
    font-size:14px;
    font-weight:bold;
}

div.newBtn-chart-container button:hover{
    background:#04244e;
    color:white;
}

/* chart container css starts */
div.chart-remove-btn-container {
    display:flex;
    justify-content:space-between;
    gap: 15px;
}

div.chart-remove-btn-container button{
    background:transparent;
    border:none;
    font-size:15px;
    color:#04244e;
}

div.chart-remove-btn-container button i{
    border:2px solid #04244e;
    padding:5px;
    border-radius:50%;
}

div.chart-remove-btn-container button:hover i{
    background:#04244e;
    color:white;
}

div.chart-wrapper{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius:10px;
    padding:30px;
}
/* chart container css ends */

.table-main-container{
    width: 100%;
}

/* card Creation css starts */

.creator-container {
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

input, select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="color"] {
    padding: 2px;
    width: 60px;
    height: 34px;
    cursor: pointer;
}

.body-editor {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f8f9fa;
}

.line-group {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.word-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.word-input {
    flex: 1;
    min-width: 100px;
}

.size-select, .weight-select {
    width: 80px;
}

.icon-input {
    width: 120px;
}

.align-select, .image-position-select {
    width: 100%;
    margin-top: 5px;
}

.image-upload {
    padding: 8px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    background: #f8f9fa;
}

.image-upload:hover {
    background: #e9ecef;
}

.card-preview {
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    height: fit-content;
}

.card-body {
    padding: 15px;
    min-height: 100px;
    color: #333;
    line-height: 1.5;
}

.card-body img {
    max-width: 100%;
    border-radius: 5px;
}

.card-body.aside {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.card-body.aside img {
    max-width: 50%;
    margin: 0;
}

.card-line {
    margin-bottom: 10px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 5px 0;
}

button:hover {
    background: #0056b3;
}

button.remove-image {
    background: #dc3545;
}

button.remove-image:hover {
    background: #b02a37;
}

.image-size-slider {
    width: 100%;
    margin-top: 10px;
}

div.newBtn-views-container {
    width:100%;
    display:flex;
    justify-content:flex-end;
}

div.newBtn-views-container button{
    border:2px solid #04244e;
    background:transparent;
    color:#04244e;
    border-radius:10px;
    font-size:15px;
    font-weight:bold;
}

div.newBtn-views-container button:hover{
    color:white;
    background:#04244e;
}

div#dialog.views-dialog-container .dialog-body{
    display:flex;
    justify-content:space-evenly;
    max-height: 600px;
    overflow-y: auto;
}

.creator-container{
    height:fit-content;
    max-height: 600px;
    overflow-y: auto;
}

.card-line, #contentCardBody .content-card-line{
    max-width: 100%;
}
#cardBody, #contentCardBody{
    width:fit-content;
    max-width:fit-content;
    height:fit-content;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#cardBody img,#contentCardBody img{
    max-width:300px !important;
}

/* Card Creation css ends */

/* Chart new container css starts */

#dialog .charts-side-nav{
    width:250px;
}
#dialog .charts-side-nav input, #dialog .charts-side-nav textarea, #dialog .charts-side-nav select{
    width:100%;
    border:1px solid grey;
    border-radius:5px;
}
#dialog .charts-side-nav input:focus, #dialog .charts-side-nav textarea:focus, #dialog .charts-side-nav select:focus{
    border:none;
    outline:none;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}
#dialog .charts-side-nav button{
    /* width:100%; */
    background:#04244e;
}

#dialog .charts-side-nav button:focus{
    background:var(--theme-color) !important;
}

label.chartName-error-message {
    color:#AA0000;
}

.content-chart-name {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 2;
    text-align: left;
    padding-bottom: 5px;
}

.content-chart-desc {
    display: block;
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.5;
    word-wrap: break-word;
    border-radius: 6px;
    margin-top: 10px;
    max-width: 500px;
}

/* chart new container css ends */

span.grid-desc-label{
    width: 500px;
    display: block;
    padding: 0 15px;
    font-size: 14px;
}

.radio-group {
    display:none !important;
}

/* Latest Css starts */
.card {
    background: linear-gradient(90deg, #255fa6 20%, #3067a9 60%, #3c90ff 100%) !important;
}

body{
    /* background:#E1EBEE; */
}

div#content-container{
    background:transparent ;   
    box-shadow:none;
}

.chart-wrapper{
    /* background:white; */
    box-shadow:none !important;
}

div.card.active::after{
    border-top-color:#255fa6;
}

::-webkit-scrollbar {
    width: 8px; 
    height: 8px; 
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px; 
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2, #d3e0f0);
    border-radius: 4px; 
    transition: background 0.3s ease; 
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2e6ab0, #a3c1e5);
}

* {
    scrollbar-width: thin; 
    scrollbar-color: #4a90e2 #d3e0f0; 
}


.scrollable-container {
    max-height: 400px;
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

button.newBtn-table{
    background:linear-gradient(90deg, #255fa6 20%, #3067a9 60%, #3c90ff 100%) !important;
    border:none !important;
}

button.newBtn-table:hover{
    background:white !important;
    border:none !important;
}

div.SQLcontainer {
    background:transparent;
    box-shadow:none;
}

div.user-generic-container{
    position:relative;
    top:5%;
}

button.remove-icon {
    background:transparent !important;
    color:#04244e !important;
}

div.card {
    border:none !important;
}
/* Latest Css ends */

/*  Dialog chart Css starts*/
.ui-widget.ui-widget-content.chart-dialog{
    width:fit-content !important;
}

.chart-dialog #dialog .dialog-header{
    display:none;
}

.chart-dialog #dialog .charts-side-nav {
    width:100%;
    background-color:transparent;
}

.charts-main-container .chart-body {
    /* display:block; */
}

.charts-main-container .charts-btn-container{
    display:flex;
    justify-content:space-between;
}

.charts-main-container .charts-btn-container button {
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.charts-main-container .charts-btn-container button:first-child {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border: 2px solid #ccc !important;
}

.charts-main-container .charts-btn-container button:first-child:hover {
    background-color: #e0e0e0 !important;
    border-color: #999 !important;
}

.charts-main-container .charts-btn-container button:last-child {
    background-color: #04244e;
    color: white;
    border: 2px solid #04244e;
}

.charts-main-container .charts-btn-container button:last-child:hover {
    background-color: #0056b3;
    border-color: #004999;
}

.ui-widget.ui-widget-content.chart-dialog {
    /* width:50% !important; */
    /* left:35% !important; */
}

.charts-main-container .charts-side-nav input{
    width:400px !important;
}

.ui-widget.ui-widget-content.chart-dialog .ui-dialog-buttonpane,.ui-widget.ui-widget-content.chart-dialog .ui-resizable-handle{
    /* display:none; */
}
/*  Dialog Chart Css ends*/

/* table and chart responsive starts*/
.load-table-body .grid-container {
    max-width:45%;
    min-width:45%;
    height: fit-content;
}

.load-table-body{
    gap:50px;   
}

.chart-wrapper {
    width:45%;
    margin:1%;
}

/* table and chart responsive ends*/


/* updated chart and table css starts */
.card-title {
    margin-bottom:0px !important;
    font-size:16px !important;
}
 
#wizard {
    margin-top:1% !important;
}
 
.card.active::after {
    bottom: -10px;
}
 
div.chart-wrapper {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    padding: 15px;
}
 
.content-chart-name {
    margin: 0 0 0px 0;
    font-size: 16px;
    line-height: 2.5;
}
 
.content-chart-desc {
    margin-top: 0px;
    font-size: 14px;
}
 
div.chart-remove-btn-container button {
    font-size: 12px;
    color: #4e4f52;
}
div.chart-remove-btn-container button i {
    border: 2px solid #4e4f52;
}
div.chart-remove-btn-container button{
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
div.newBtn-chart-container button{
    margin-bottom:0px !important;
}
div#content-container .content-body {
    gap: 25px;
}
div#content-container {
    margin: 0px 0px;
}
/* updated chart and table css ends */

.CodeMirror.inValidQuery:before{
    content:"Please Provide the valid query";
    color:#AA0000;
    font-size:15px;
}


/* Chart New Dialog starts */
.ui-widget.ui-widget-content.chart-dialog {
    min-width:90%;
    max-width:90%;
    /* max-height: 80%; 
    min-height:80%; */
}

.chart-dialog .charts-main-container .charts-side-nav input, .chart-dialog .charts-main-container .charts-side-nav textarea, .chart-dialog .charts-main-container .charts-side-nav select {
    width:40% !important;
    min-height:3rem;
}

.chart-dialog .charts-main-container .charts-side-nav label{
    /* margin-top:4%; */
    display:flex;
    justify-content:flex-start;
    width:40%;
    font-size:15px;
    font-weight:bold;
}

.chart-dialog .charts-main-container .charts-side-nav{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-height:100% !important;
    max-height:100% !important;
    height:100% !important;
}

.chart-dialog .charts-main-container .charts-btn-container{
    display:flex;
    justify-content:space-evenly;
    width:100%;
    position:relative;
    bottom:0;
    max-height:100%;
    padding: 0 4%;
}

.chart-dialog  .charts-main-container{
    min-height:100%;
    max-height:100%;
}

.chart-dialog  #dialog{
    min-height:100%;
    max-height:100%;
}

.chart-dialog .charts-main-container .sql_conatiner_vars{
    min-width:90%;
    max-width:90%;
}
.chart-dialog .charts-main-container .CodeMirror{
    max-width:100%;
    min-width:100%;
}

.chart-dialog .charts-main-container .chart-sql-body{
    max-width:100%;
    min-width:100%;
    overflow-y:auto;
}

.grid-container{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}
    
.grid-container .grid-header{
    padding: 0 15px;
}
    
#grid{
    margin: 0px !important;
    background-color: #f4f4f4;
    margin: 0px;
    padding: 0px 5px;
}
    
.grid-container .grid-header label.grid-header-label{ 
    line-height: 3;
}
/* Chart New Dialog ends */

/* latest chart popup changes starts */
.charts-side-nav label, .chart-dialog .charts-main-container .charts-side-nav input, .chart-dialog .charts-main-container .charts-side-nav textarea, #dialog .charts-main-container .charts-side-nav select{
    width:80% !important;    
}

.charts-btn-container {
    justify-content:flex-end !important;
    gap:5%;
}

.chart-dialog .charts-main-container .sql_conatiner_vars{
    min-width:100%;
    max-width:100%;
}

.SQLcontainer button.remove-icon{
    font-size:14px !important;
}
 
.SQLcontainer span.sample_query{
    font-size:14px !important;
}
 
pre.CodeMirror-line,
.chart-name-container input,
.chart-name-container textarea{
  font-size:14px !important;  
}
/* latest chart popup changes ends */

#grid .ag-watermark{
    display: none;
}

.video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 47%;
    max-width: 47%;
}

.textarea-container button.bind-lookUp {
    background:#04244e;
    font-size:14px;
    font-weight:bold;
    float:right;
}

.application-query{
    width:100%;
    text-align:center;
}

.application-query div select {
     width:100%;
     height:50px;
     font-size:16px;
}

.application-query div select:focus{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    outline:none;
}

.application-query div label{
    text-align:left;
    font-size:16px;
}


.default-organization-site-name{
    font-size: 17px;
    font-weight: bold;
}