.comment-card {
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.comment-card:hover {
  transform: translateY(-2px);
}

.status-badge {
  font-size: 0.9em;
  padding: 5px 10px;
  color: white;
}

.comment-time {
  font-size: 0.8em;
  color: #6c757d;
}

.footer-item h5 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links li a {
  text-decoration: none;
  color: #ffffff;
}

.footer-links li a:hover {
  color: #f1c40f;
  text-decoration: underline;
}
.table-responsive {
  margin: 20px 0;
}

.status-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.table th {
  background-color: #f8f9fe;
  font-weight: 600;
}

.table td {
  vertical-align: middle;
}

.table-row {
  display: none;
}

.table-row.active {
  display: table-row;
}

.pagination {
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 5px;
}

@media (max-width: 768px) {
  .pagination {
    gap: 2px;
  }

  .pagination .page-link {
    padding: 0.4rem 0.7rem;
    font-size: 14px;
  }

  .pagination-container {
    overflow-x: auto;
    padding: 10px 0;
  }

  .pagination-container::-webkit-scrollbar {
    display: none;
  }
}

/* Warning box styling */
.warning-box {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.warning-box h3 {
  color: #856404;
  margin-bottom: 15px;
  font-weight: bold;
}

.warning-box p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
}

.warning-box strong {
  color: #856404;
}

/* Base form styles */
.form-container {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 12px;
  height: auto;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
  outline: none;
}

/* Radio button styling */
.radio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.radio-label {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 120px;
  margin: 0;
}

.radio-label:hover {
  background: #e9ecef;
}

.radio-label input[type="radio"] {
  margin-right: 8px;
}

/* Button styling */
.submit-btn {
  background: #007bff;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .form-container {
    padding: 15px;
  }

  .radio-container {
    flex-direction: column;
  }

  .radio-label {
    width: 100%;
    justify-content: flex-start;
  }

  .form-group {
    margin-bottom: 1rem;
  }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* For Safari and older browsers that don't support scroll-behavior */
body {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Optional: Add smooth scroll for specific elements with overflow */
.scroll-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Optional: Add custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
