/* Page-specific styles for SIP Calculator.
   Shared navbar/footer styles come from css/style.css */
.sip-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  padding: 20px;
}
.sip-container {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  width: 100%;
  transition: 0.3s;
}
.sip-controls {
  flex: 1 1 300px;
}
.sip-controls label {
  display: block;
  margin-top: 20px;
  font-weight: 500;
  color: #333;
}
.sip-controls input[type="range"] {
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
  accent-color: #4f46e5;
}
.value-box {
  display: inline-block;
  margin-left: 10px;
  background: #eef2ff;
  color: #4338ca;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.sip-result {
  margin-top: 25px;
  background: #f9fafb;
  border-radius: 10px;
  padding: 15px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}
.sip-result span {
  display: block;
  margin-top: 8px;
}
.sip-result strong {
  color: #111827;
}
.sip-chart-container {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sip-chart-container canvas {
  width: 260px !important;
  height: 260px !important;
}

@media (max-width: 768px) {
  .sip-container {
    flex-direction: column;
    text-align: center;
  }
  .sip-controls label {
    text-align: left;
  }
}
