/* =====================================
   Parent Care Unified Flow Styles
   Used for: Sign In, OTP Verify, Set PIN, Profile
   ===================================== */

body {
  background-color: #f8fdf9;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* Common Section Styling */
.parent-flow-section {
  background-color: #ffffff;
  border-radius: 16px;
  max-width: 480px;
  margin: 3rem auto;
  padding: 2.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

/* Headings */
.parent-flow-section h2 {
  color: #2e7d32;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Paragraphs */
.parent-flow-section p {
  color: #4f4f4f;
  font-size: 1rem;
  line-height: 1.6;
}

/* Input fields */
.parent-flow-section input.form-control {
  border-radius: 10px;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.75rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #c8e6c9;
}

.parent-flow-section input.form-control:focus {
  border-color: #43a047;
  box-shadow: 0 0 10px rgba(67, 160, 71, 0.3);
}

/* Buttons */
.parent-flow-section .btn-success {
  background-color: #43a047;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.parent-flow-section .btn-success:hover {
  background-color: #2e7d32;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Links */
.parent-flow-section a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 500;
}

.parent-flow-section a:hover {
  text-decoration: underline;
}

/* Alert messages */
.alert {
  border-radius: 10px;
}

/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@@media (max-width: 576px) {
  .parent-flow-section {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .parent-flow-section h2 {
    font-size: 1.4rem;
  }

  .parent-flow-section .btn-success {
    padding: 0.5rem 1.5rem;
  }
}
