/* Modern Style CSS for Help and Offer Platform
   Based on the About page design, to be applied across all pages
*/

/* Common section styling */
.page-container {
  padding-top: 0;
  padding-bottom: 50px;
}

.page-header {
  background-color: rgba(248, 237, 227, 0.7);
  padding: 40px 0;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-header h1 {
  color: #7D6E83;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-header p.lead {
  font-size: 1.2rem;
  color: #333;
}

.content-section {
  background-color: rgba(248, 237, 227, 0.7);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-section h3 {
  color: #7D6E83;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid #D0B8A8;
  padding-bottom: 10px;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Form styling */
.modern-form {
  background-color: rgba(248, 237, 227, 0.7);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.modern-form .form-control {
  border-radius: 10px;
  border: 1px solid #D0B8A8;
  padding: 10px 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.modern-form .form-control:focus {
  border-color: #7D6E83;
  box-shadow: 0 0 0 0.2rem rgba(125, 110, 131, 0.25);
}

.modern-form label {
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

.modern-form .btn {
  background-color: #7D6E83;
  border: none;
  border-radius: 10px;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
}

.modern-form .btn:hover {
  background-color: #6a5d70;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card styling */
.modern-card {
  background-color: rgba(248, 237, 227, 0.7);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.modern-card h4 {
  color: #7D6E83;
  margin-bottom: 15px;
  font-weight: 600;
}

.modern-card-icon {
  font-size: 2rem;
  color: #7D6E83;
  margin-bottom: 15px;
  text-align: center;
}

/* Table styling */
.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 30px;
}

.modern-table th {
  background-color: rgba(125, 110, 131, 0.2);
  color: #555;
  font-weight: 600;
  padding: 15px;
  text-align: center;
  border-bottom: 2px solid #D0B8A8;
}

.modern-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  text-align: center;
}

.modern-table tbody tr {
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.modern-table tbody tr:hover {
  background-color: rgba(248, 237, 227, 0.9);
}

/* Badge styling */
.modern-badge {
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-block;
  min-width: 100px;
  text-align: center;
}

.badge-solved {
  background-color: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.badge-attending {
  background-color: rgba(255, 193, 7, 0.2);
  color: #d39e00;
}

.badge-unattended {
  background-color: rgba(108, 117, 125, 0.2);
  color: #6c757d;
}

/* Action buttons */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: white;
}

.btn-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-action-help {
  background-color: #17a2b8;
}

.btn-action-edit {
  background-color: #ffc107;
}

.btn-action-delete {
  background-color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .page-header {
    padding: 30px 15px;
  }

  .content-section {
    padding: 20px 15px;
  }

  .modern-form {
    padding: 20px 15px;
  }

  .modern-table th,
  .modern-table td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .btn-action {
    width: 36px;
    height: 36px;
  }
}

/* Version info */
.version-info {
  text-align: right;
  font-size: 0.8rem;
  color: #888;
  margin-top: 30px;
}
