@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');* {
  font-family:'Inter', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

a {
  text-decoration: none; }
#root{
  display: flex;
}
/* #root>div:nth-child(2){
  flex: 1 1 auto;
} */
body, html, #root {
  box-sizing: border-box;
  height: 100%; }

  .blue-button {
    background-color: #63C7CF;
    display: flex; 
    justify-content: center;
    align-items: center;
    border-radius: 20px; /* add border-radius property to make the button rounded */
  }
  
.add-btn{
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #63C7CF;
  color: white;
  font-size: 1rem;
  font-weight: 400;
}

.green-button {
    background-color: #32CD32; }

button {
  box-sizing: border-box;
  border: none;
  font-weight: 400;
  box-shadow: 0 0 5px #ddd;
  padding: 10px; }
  button:focus {
    outline: none;
    box-shadow: none; }
  button:hover {
    cursor: pointer; }

.container {
  box-sizing: border-box;
  padding: 0px 0; }

fieldset {
  border: 0; }

.checkbox-grid {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 33% 33% 33%; }

.gray-background {
  box-sizing: border-box;
  background-color: #ececec;
  padding: 10px 15px; }

input[type=checkbox] {
  margin-right: 5px; }

input[type=range] {
  width: 100%; }
.navbar.collapsed+.parent-container{
  margin-left: 50px;
  width: calc(100vw - 50px);
}
.parent-container{
  overflow: scroll;
  padding:0 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 250px;
  animation: fadeIn 300ms ease-in-out forwards;
  background-color: white;
  width: calc(100vw - 250px);
  transition: margin-left 200ms ease-in-out;
}
.parent-container > .container {
  /* padding: 10px; */
  margin:10px 0 20px 0;
}

nav {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between; 
}


progress {
  width: 100%; }

.select-dropdown {
  display: inline-block;
  min-width: 200px; 
  width: max-content;
  margin: 0 10px;
}

.css-yk16xz-control{
  height: 100%;
}
table {
  border-collapse: collapse;
  text-align: center;
  width: 100%; }
  table td, table th {
    box-sizing: border-box;
    text-align: left;
    height: 60px;
    padding: 10px 15px 10px 15px; }
  table tr:nth-child(odd) {
    background-color: #ececec; }

textarea {
  display: block;
  resize: none;
  margin-top: 10px;
  padding: 15px;
  width: 100%; }

.toggable {
  cursor: pointer; }
  .toggable i {
    margin: 5px; }
section.container:first-of-type{
  position: relative;
  z-index: 12;
}

.page-title{
  margin-bottom: 5px;
}
.page-sub-title{
  color: gray;
}
.svg-btn{
  display: flex;
  justify-content: center;
  width: max-content;
  align-items: center;

}
.svg-btn svg{
  margin-right: 10px;
}
.notification-panel-container{
  position: fixed;
  top:0;
  left:0;
  right: 0;
  z-index: 10;
}

.notification-panel{
  padding:10px;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  position: relative;
  animation:slideDown 1000ms ease-in-out;

  /* background-color: #dd6264; */

}
.notification-panel.error{
  background-color: #dd6264;
}
.notification-panel.success{
  background-color: #3db778;
}
.notification-panel svg{
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.notification-panel .type{
  font-weight: 600;
  margin-right: 5px;
}
.notification-panel .close{
  position: absolute;
  right: 0;
  top:50%;
  transform: translate(0,-50%);
  cursor: pointer;
}
.flex{
  display: flex;
}
@keyframes slideDown{
  from{
    transform: translateY(-500px);
  }
  to{
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}
