@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');

/* === Global Layout & Typography === */
body {
  background: linear-gradient(to right, #fce3ec, #f9fce3);
  font-family: 'Fredoka', 'Comic Sans MS', cursive, sans-serif;
  color: #333;
  margin: 0;
  padding-top: 0;
  min-height: 100vh;
  position: relative;
  font-weight: 500;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === NAVBAR === */
.navbar {
  background-color: #f9fce3 !important;
  border-bottom: 1px solid #eee;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  font-weight: 700;
  color: #2b4c7e !important;
}

.navbar-nav .nav-link {
  color: #4a4a4a;
  margin-right: 12px;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.navbar-nav .nav-link:hover {
  background-color: #ffe6f0;
  color: #d63384 !important;
}

/* === CONTAINER === */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 24px;
  background: transparent;
  border-radius: 20px;
}

/* === FOOTER === */
footer.footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
  color: #5c4330;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem 0;
  margin-top: auto;
  position: static;
}

footer.footer a {
  color: #219ebc;
  text-decoration: none;
}
footer.footer a:hover {
  text-decoration: underline;
}

/* === Headings === */
h1, h4 {
  color: #333;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  color: #2b4c7e;
}

/* === Input Fields === */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 18px;
  font-size: 1rem;
  background-color: #f8fbfd;
  transition: 0.2s ease-in-out;
}

input:focus {
  border-color: #8ecae6;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(142, 202, 230, 0.3);
}

/* === Buttons === */
button, .btn {
  background-color: #ff90b3;
  color: white;
  font-size: 1.05rem;
  font-weight: bold;
  padding: 12px 26px;
  border: none;
  border-radius: 30px;
  font-family: 'Fredoka', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover {
  background-color: #ff6d9f;
  transform: scale(1.04);
}

button:disabled, .btn:disabled {
  background-color: #f2cbd6;
  cursor: not-allowed;
  color: #fff;
  opacity: 0.8;
}

/* === Validation === */
.text-danger {
  color: #e76f51;
  font-size: 0.9rem;
}

/* === Modals === */
.modal-content {
  background-color: #fff0f6;
  border-radius: 1.5rem;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.modal-header {
  border-bottom: none;
}
.modal-footer {
  border-top: none;
}
.modal-header .modal-title {
  font-size: 1.25rem;
  color: #d63384;
  font-weight: bold;
}
.btn-close {
  background: none;
  border: none;
}

/* === Landing Page Enhancements === */
.feature-card {
  border: none;
  border-radius: 20px;
  padding: 20px;
  background-color: #ffffffdd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
}
.feature-card:hover {
  transform: scale(1.03);
}

.emoji {
  font-size: 2rem;
  display: block;
}

.btn-start {
  background-color: #ff90b3;
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 12px 30px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
}
.btn-start:hover {
  background-color: #ff6d9f;
}

.highlight {
  color: #ff6d9f;
}

/* === Dashboard Buttons === */
.dashboard-button {
  display: block;
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  background: linear-gradient(to right, #ffb3c6, #ffd6e0);
  color: #6a0572;
  font-size: 1.1rem;
  font-weight: bold;
  font-family: 'Fredoka', sans-serif;
  border: none;
  border-radius: 40px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, transform 0.2s ease;
}
.dashboard-button:hover {
  background: linear-gradient(to left, #ffe6a6, #ffefc2);
  transform: scale(1.03);
  color: #4a015a;
}

/* === Table Style === */
.dashboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Fredoka', sans-serif;
  margin-top: 24px;
}
.dashboard-table th {
  background-color: #2b2d42;
  color: white;
  padding: 14px;
  font-size: 1rem;
  text-align: left;
}
.dashboard-table td {
  padding: 12px 14px;
  font-size: 1rem;
  background-color: #ffffffcc;
  border-bottom: 1px solid #ccc;
}
.dashboard-table tr:last-child td {
  border-bottom: none;
}

/* === Action Button (Details) === */
.table-action-button {
  background-color: #ffb3c6;
  color: #6a0572;
  border: none;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: bold;
  font-family: 'Fredoka', sans-serif;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}
.table-action-button:hover {
  background-color: #ffe6a6;
  color: #3d0066;
  transform: scale(1.05);
}

/* === Chore Cards === */
.chore-card {
  background: #ffffffee;
  border: 2px solid #ffd6e0;
  border-left: 10px solid #ff90b3;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 24px;
  font-family: 'Fredoka', sans-serif;
}

body:not(.modal-open) .chore-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.chore-card h4,
.chore-card .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4a015a;
  margin-bottom: 8px;
}

.chore-card .card-sub {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 10px;
}

.chore-card .card-label {
  font-weight: bold;
  color: #333;
}

.chore-card .card-status-approved {
  color: #2b9348;
  font-weight: bold;
}

.chore-card .card-status-pending {
  color: #f77f00;
  font-weight: bold;
}

.chore-card .card-status-declined {
  color: #ed0000;
  font-weight: bold;
}

.chore-card .card-muted {
  color: #999;
  font-style: italic;
}

/* === Utility Classes === */
.bg-chorechamp-light {
  background-color: #f9ecd5 !important;
}

.rounded-circle {
  border-radius: 50%;
  border: 3px solid #ff90b3;
}

.text-pink {
  color: #d63384;
}

.img-proof {
  max-width: 50%;
  height: auto;
  border-radius: 16px;
  border: 2px solid #ff90b3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.proof-wrapper {
  margin: 20px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #ff90b3;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  max-width: 50%;
}

.proof-full {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

ol {
  padding-left: 1.5rem;
}
ol li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.btn-light {
  background-color: #ff90b3;
  color: #fff;
  border: none;
  border-radius: 999px;
}
.btn-light:hover {
  background-color: #ff6d9f;
  color: #fff;
}

.chore-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
}
