@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body{
background-color: white;
font-family: "Inter", sans-serif;
margin: 0;
overflow: auto;
}

ul {
    list-style-type: none;
}

nav{
    width: 20%;

    position: fixed;
}

.main{
    width: 100%;
    height: 100%;
    margin-top: 50px;
    float: right;
    z-index: 1;
}

.card{
    width: 80%;
    box-shadow: 0px 4px 4px #AEAEAE;
    border-radius: 6px;
    border-style: solid;
    border-width: 1px;
    border-color: #E5E7EB;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 20px;
}

h6{
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14pt;
    margin-bottom: 0px;
    margin-top: 20px;
}

p{
    font-family: "Inter", sans-serif;
    font-weight: 200;
    font-size: 14pt;
}

.card p{
    margin-top: 5px;
}

.author_tag{
    color: #64748B;
    font-weight: 200;
    font-size: 12pt;
}

.image{
    height: 40px;
    width: 40px;
    border-radius: 100px;
    background-color: black;
}

.chart{
    height: 60%;
    border-bottom:  3px solid rgb(0, 0, 0);
    border-left:  3px solid rgb(0, 0, 0);
    margin-top: 20px;
}

button{
    background-color: black;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding-left: 16px;
   padding-right: 16px;
   padding-top: 10px;
   padding-bottom: 10px;
   margin: 10px;
   font-family: "Inter", sans-serif;
   font-weight: 400;
   font-size: 12pt;
   cursor: pointer;
}

select{
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12pt;
    border-color: #CBD5E1;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
 }

select:focus{
    outline:none;
 }

.holder{
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
 }

.float-right{
    float: right;
    margin-right: 0;
 }

input[type=text] {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12pt;
    border: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

input[type=text]:focus {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12pt;
    border-color: #CBD5E1;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
    outline:none;
    background-color: #F1F5F9;
  }

a{
    text-decoration: none;
    color: white;
  }

textarea{
    resize: none;
    margin-top: 10px;
  }

.author{
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12pt;
    border-left: none;
    border-right: none;
    border-top: none;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

button:disabled{
    cursor: auto;
    background-color: #CBD5E1;
  }

.visualization__chart-two{
    height: 600px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.enlarged-image {
    max-width: 90%;
    max-height: 90%;
}

.dropdown{
width: 100%;
padding: 20px;
  box-shadow: 0px 4px 4px #AEAEAE;
  border-radius: 6px;
  border-style: solid;
  border-width: 1px;
  border-color: #E5E7EB;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.scatter-chart-container{
  max-height: 500px;
  max-width: 500px;
}

.nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  background-color: #fff;
  
}

.side{
  background-color: black;
  height: 100vh;
  z-index: 1000;
 


}

h4{
  color: white;
}

.library-view {
  background-color: white;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 20px;
  overflow: auto;
  box-sizing: border-box;
  
}

.library-view .filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.library-view .filter select,
.library-view .filter input {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  width: 30%;
}

.library-view .filter button {
  background-color: black;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.library-view .cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.library-view .card {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform 0.2s;
  cursor: pointer;
}

.library-view .card:hover {
  transform: translateY(-5px);
}

.library-view .card .card-image {
  width: 100%;
  height: 150px;
  background-color: #000;
  border-radius: 6px;
}

.library-view .card .card-content {
  margin-top: 10px;
  width: 100%;
}

.library-view .card .card-content h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
}

.library-view .card .card-content p {
  font-size: 14px;
  color: #64748B;
  margin: 5px 0;
}

.library-view .card .card-content .author {
  font-size: 12px;
  color: #94A3B8;
}

.library-view button {
  background-color: black;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-start;
}

.library-view button:disabled {
  cursor: not-allowed;
  background-color: #CBD5E1;
}

.library-view select:focus,
.library-view input:focus {
  outline: none;
  background-color: #F1F5F9;
}

/* Center the entire PlaygroundView component */

.playground-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 1.5rem; /* Add spacing between rows */
  background-color: white; /* Matches body background */
  font-family: "Inter", sans-serif; /* Reuse the global font */
}

/* Row for Inflate and Deflate buttons */

.button-row {
  display: flex;
  gap: 1rem; /* Space between buttons */
}

/* Single button row for Fully deflate */

.single-button {
  display: flex;
  justify-content: center;
}

/* Slider container */

.slider-container {
  width: 200px; /* Ensures the slider aligns with buttons */
}

/* Button styles (reuse existing button base) */

.playground-button {
  background-color: black;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  cursor: pointer;
  width: 200px; /* Ensures consistent size with the slider */
}

/* Range slider */

.playground-slider {
  -webkit-appearance: none; /* Remove default styling */
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}

.playground-slider:hover {
  background: #d1d5db; /* Slightly darker on hover */
}

.playground-slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Customize the thumb */
  width: 20px;
  height: 20px;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.user-profile {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  cursor: pointer;
  padding: 5;
}

.user-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  padding-left: 5;
}

.user-name {
  margin-top: 4px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-card {
  border: 4px solid black;
}

.nav-center{
  background-color: #fff;
  padding: 0;
  margin: 0;
  color: #000;
}

h2{
  margin: 0;
}

.nav-left{
  color: #000;
  font-size: 50;
  background-color: transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;

}

.button_side{
  border: 2px solid white;
  background-color: #fff;
  color: #000;
  font-weight: 600;
}

.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full height of the viewport */
  width: 100%;
}

.circular-chart {
  width: 80%;
  height: 80%;
  max-width: 600px;
  max-height: 600px;
}

.tooltip {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  pointer-events: auto; /* Ensures the tooltip is clickable */
  z-index: 9999;
  cursor: pointer; /* Change the cursor to indicate the tooltip is clickable */
}

.tooltip-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.tooltip-image {

  height: 100px;
  margin-bottom: 10px;
}

.tooltip-description {
  font-size: 14px;
  color: #333;
}

.drop-zone {
  border: 2px dashed #aaa;
  padding: 20px;
  text-align: center;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #f9f9f9;
  cursor: pointer;
}

.drop-zone.dragover {
  background-color: #e0f7ff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.thumbnail {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.upload-zone {
  padding: 1rem;
  margin: 1rem 0;
  border: 2px dashed #ccc;
  text-align: center;
  border-radius: 8px;
  background: #f9f9f9;
  font-size: 0.9rem;
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /* Equal columns */
  gap: 16px; /* Space between elements */
  padding: 12px;
  align-items: center; /* Vertical alignment */
}

.playground-slider,
.playground-button {

  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

.playground-button {
  cursor: pointer;
}

.playground-table {
  display: grid;
  row-gap: 8px;
  margin-bottom: 24px;
  padding: 12px;
}

.playground-header,
.playground-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /* 4 columns: pad, time, velocity, action */
  gap: 16px;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
}

.playground-header {
  font-weight: bold;
  background-color: #e0e0e0;
  border-radius: 4px;
}

.playground-row {
  background-color: #f9f9f9;
  border-radius: 4px;
}

.grid-button{
background-color: #f9f9f9;
color: #000;
padding: 0;
font-weight: bold;
}

