* {
  box-sizing: border-box;
}

.wrap {
  display: flex;
  width: 100vw;
  flex-grow: 1;
  position: relative;
}

.placeholder {
  width: 100%;
  max-width: 500px;
  border-radius: 0.5em;
  background: #eee;
  padding: 2em;
  text-align: center;
}

.placeholder p {
  font-size: 1.2rem;
  color: #999;
}

.viewer {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  position: absolute;
  top: 0;
  z-index: 0;
}

.axes {
  width: 100px;
  height: 100px;
  margin: 20px;
  padding: 0px;
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 10;
  pointer-events: none;
}

.flex-grow {
  flex-grow: 1;
}

.gui-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.gui-wrap > .main {
  pointer-events: all;
  max-height: 100%;
  overflow: auto;
}

.dg li.gui-stats:not(.folder) {
  height: auto;
}

.performance-gui {
  position: relative !important;
}

/******************************************************************************
   * CSS Spinner
   *
   * http://tobiasahlin.com/spinkit/
   */

.spinner {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px;

  background-color: #333;

  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

.container-info {
  display: flex;
  flex-direction: column;
}

.info-title {
  margin-bottom: 4px;
}

* {
  box-sizing: border-box;
}

.wrap {
  display: flex;
  width: 100vw;
  flex-grow: 1;
  position: relative;
}

.placeholder {
  width: 100%;
  max-width: 500px;
  border-radius: 0.5em;
  background: #eee;
  padding: 2em;
  text-align: center;
}

.placeholder p {
  font-size: 1.2rem;
  color: #999;
}

.viewer {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  position: absolute;
  top: 0;
  z-index: 0;
}

.axes {
  width: 100px;
  height: 100px;
  margin: 20px;
  padding: 0px;
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 10;
  pointer-events: none;
}

.flex-grow {
  flex-grow: 1;
}

.gui-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.gui-wrap > .main {
  pointer-events: all;
  max-height: 100%;
  overflow: auto;
}

.dg li.gui-stats:not(.folder) {
  height: auto;
}

.performance-gui {
  position: relative !important;
}

/******************************************************************************
   * CSS Spinner
   *
   * http://tobiasahlin.com/spinkit/
   */

.spinner {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px;

  background-color: #333;

  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

.container-info {
  display: flex;
  flex-direction: column;
}

.info-title {
  margin-bottom: 4px;
}

.model-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loader-spinner {
  width: 230px;
  height: 120px;
}

.loader-text {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.arrow {
  visibility: visible;
}

.GridItem.dragging .arrow {
  visibility: hidden;
}

.GridItem.dragging {
  z-index: 10;
} 

html,
body {
  width: 100%;
  height: 100%;
}
body {
  padding-right: 0 !important;
  margin: 0 !important;
  background-color: #c2c1c1;
  overflow: auto !important;
}

.fullscreen {
  height: 100%;
}

* {
  font-family: sans-serif;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}
button {
  border: none;
  outline: none;
  background-color: #04aa6d;
  color: white;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  padding: 6px 25px;
  margin-top: 4px;
  border-radius: 5px;
  margin-bottom: 30px;
  cursor: pointer;
}

/* Reset Material UI styles */
.MuiDataGrid-cell,
.MuiDataGrid-cell:focus,
.MuiDataGrid-cell:active {
  outline: none !important;
}

.MuiDataGrid-columnHeader,
.MuiDataGrid-columnHeader:focus,
.MuiDataGrid-columnHeader:active {
  outline: none !important;
}

.MuiButton-root.MuiButton-text {
  text-transform: none;
}

/* Dashboard grid layout */
.layout { 
  min-height: 250px;
}

/* Dashboard chart axis */
.chart-axis {
  font-size: 1em !important;
}

.custom-row-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed !important;
}
