/* ---------- Tabs Styling (ANANTAYA Style) ---------- */
.ant-tabs .ant-tabs-tab {
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: #f0f9fd;
  font-weight: 500;
  font-size: 15px;
  color: #1b1b1b;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.ant-tabs .ant-tabs-tab:hover {
  background: #d5f1fb;
  color: #007bff;
}

.ant-tabs .ant-tabs-tab-active {
  background: #2aa7e2 !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ant-tabs .ant-tabs-tab-btn {
  z-index: 2;
  transition: color 0.3s;
}

.ant-tabs .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #ffffff;
  text-shadow: none;
}

.ant-tabs-tab::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  border-left: 25px solid #f0f9fd;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 10px;
  height: 100%;
  width: 0;
  transition: all 0.2s ease-in-out;
  z-index: 0;
}

.ant-tabs-tab-active::before,
.ant-tabs-tab:hover::before {
  border-left: 25px solid #2aa7e2;
}

.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
  margin: 0;
  padding: 10px 20px;
  border: none;
  background: #f0f9fd;
  transition: all 0.3s ease-in-out;
  border-radius: 0;
}

.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active {
  background-color: #2aa7e2;
  color: white;
}

.ant-tabs .ant-tabs-ink-bar {
  background: #2aa7e2 !important;
  height: 3px;
  border-radius: 3px;
}

/* ---------- Keyboard Styling ---------- */
.keyboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 240px;
  margin: 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.key {
  padding: 16px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  background-color: #ebf8fc;
  border: 1px solid #c6e6f5;
  border-radius: 12px;
  text-align: center;
  color: #14557b;
  transition: all 0.25s ease-in-out;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.key:hover {
  background-color: #d5f1fb;
  color: #2aa7e2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.key:active {
  background-color: #b6e2f7;
  color: white;
  transform: scale(0.97);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 480px) {
  .ant-tabs .ant-tabs-tab {
    width: 100%;
    font-size: 14px;
  }

  .keyboard {
    max-width: 100%;
    padding: 15px;
  }

  .key {
    font-size: 16px;
    padding: 14px;
  }
}
