/* Outer container box */
.page-box {
  border: 5px solid #3a2d4a;
  border-radius: 25px;
  padding: 30px;
  background: linear-gradient(135deg, #f3d9ff, #e9abff);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  max-width: 1400px;
  margin: 30px auto;
}

/* Keep main layout inside page-box */
.main-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 20px auto 0;
}

/* Adjust side + center */
.center-content {
  flex: 2;
}

.side-box {
  flex: 1;
  border: 3px solid #3a2d4a;
  padding: 15px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e0b3ff, #c577e0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 300px;
  height: 720px;
  overflow-y: auto; /* scroll if content gets long */
}

/* Responsive */
@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
    align-items: center;
  }

  .side-box {
    max-width: 100%;
    height: auto;
  }
}

.calculator-links {
  border: 4px solid #3a2d4a;
  border-radius: 20px;
  padding: 25px;
  margin: 25px auto;
  max-width: 600px;
  background: linear-gradient(135deg, #e0b3ff, #c577e0);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: center;
}

.calculator-links h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #3a2d4a;
  font-weight: 600;
}

.calculator-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.calculator-links li {
  margin: 12px 0;
}

.calculator-links a {
  display: block;
  padding: 12px 20px;
  border-radius: 15px;
  text-decoration: none;
  background: linear-gradient(135deg, #9d4edd, #c577e0);
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
}

.calculator-links a:hover {
  background: linear-gradient(135deg, #7b2cbf, #9d4edd);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
