@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* theme color: #00bcd4 */
/* background color: #f4f7f6 */
/* Text color: #333 */

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  background-color: #f4f7f6;
  color: #333;
}

#top-bar,
#left-bar,
#right-bar {
  position: absolute;
  background-color: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.07);
}

#main-view {
  position: absolute;
  top: 55px;
  left: 220px;
  right: 150px;
  height: calc(100% - 55px);
  overflow: hidden;
}

#top-bar {
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
  z-index: 10;
}

#top-bar p {
  margin: 0;
  font-weight: 300;
  color: #666;
}

#left-bar {
  top: 55px;
  left: 0;
  width: 220px;
  height: calc(100% - 55px);
  border-right: 1px solid #e0e0e0;
}

#left-bar ul {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

#left-bar li a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 400;
  transition: background-color 0.3s, color 0.3s;
}

#left-bar li a i {
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

#left-bar li a:hover {
  background-color: #00bcd4;
  color: white;
}

#right-bar {
  top: 55px;
  right: 0;
  width: 150px;
  height: calc(100% - 55px);
  border-left: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 30px;
  gap: 18px;
  box-sizing: border-box;
}

#right-bar button {
  width: 80%;
  padding: 12px;
  border: 1px solid #00bcd4;
  background-color: transparent;
  color: #00bcd4;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#right-bar button:hover {
  background-color: #00bcd4;
  color: white;
}

#right-bar button:active {
  transform: scale(0.98);
}

#shape-toolbox {
  width: 80%;
  padding: 16px 14px 18px;
  border: 1px solid rgba(0, 188, 212, 0.35);
  border-radius: 10px;
  background-color: #f8fbfc;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.toolbox-title {
  font-size: 0.9em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00a2b8;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.toolbox-title i {
  font-size: 1.05em;
}

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

.toolbox-grid button {
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.14), rgba(0, 188, 212, 0.04));
  color: #00bcd4;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2em;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 188, 212, 0.08);
}

.toolbox-grid button:nth-child(odd) {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.18), rgba(0, 188, 212, 0.06));
}

.toolbox-grid button:hover {
  background: #00bcd4;
  color: white;
  transform: translateY(-2px);
}

.toolbox-grid button:active {
  transform: translateY(0);
}

.toolbox-grid button i {
  pointer-events: none;
}