
* {
  box-sizing: border-box;
  font-size: clamp(14px, 1vw, 16px);
}

body {
  margin: 0;
  font-family: inter, sans-serif;
  background-color: #e7e0e0;
}

.page {
  display: flex;
  justify-content: center;
  padding: 20px ;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  width: 1000px;
  min-height: 600px;
}

.card-top {
  padding: 30px 0px 0 0;
}

.card-body {
  display: flex;
  align-items: stretch;
}

.accent-line {
  height: 4px;
  background-color: #A88BC6;
  width: 100%;
  display: block;
}

.sidebar {
  flex: 0 0 200px;
  padding: 0 0 0 0px;
  border-radius: 0px 0px 0px 12px;
  position: sticky;
  background-color: #eceaea;
  box-sizing: border-box;
  font-family: 'inter';
  z-index: 1000;
  min-height: 600px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-button,
.active {
  text-decoration: none;
  padding: 15px;
  color: #2e2d2d;
  background-color:#ccc6c6;
  transition: background-color 0.5s ease, transform 0.5s ease;
}

.active {
  background-color: #A88BC6;
  font-weight: bold;
}

.nav-button:hover {
  background-color: #CBB7DF ;
  color: white
}

.tools {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tool-card {
  background: #fcfcfc;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tool-header {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ececec;
}

.tool-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tool-pannel{
  padding: 10px;
  display: flex;
  flex-direction: row; 
  border-radius: 8px;
  background: white;
  border: 1px solid #ececec;
  box-sizing: border-box;
  font-size: 14px;
  padding: 20px;
  font-weight: 500;
  transition: all 0.2s ease;
  align-items: center;
  justify-content: center;
  text-align: center;

}

.tool-pannel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}


.tool-header {
  border-bottom: 2px solid #CBB7DF;
}


@media (max-width: 900px) {

  .page {
    padding: 10px;
  }

  .card {
    width: 100%;
    min-height: auto;
  }

  .card-body {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    width: 100%;
    min-height: auto;
    border-radius: 0;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-button,
  .active {
    flex: 1 1 auto;
    text-align: center;
  }

  .content {
    padding: 20px;
  }

}

