/* Admin Dashboard Styles */
.admin-dashboard {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  color: #ccc;
}

.admin-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #333;
}

.admin-nav-btn {
  background: transparent;
  border: none;
  color: #00cc66;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.admin-nav-btn:hover {
  color: #ffd700;
}

.admin-nav-btn.active {
  color: #00cc66;
  border-bottom-color: #00cc66;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.clients-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.clients-sidebar {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  max-height: 600px;
  overflow-y: auto;
  position: relative;
}

.clients-sidebar::before {
  content: '';
  position: absolute;
  background-color: #00cc66;
  border-radius: 4px;
  width: calc(100% - 3rem);
  left: 1.5rem;
  height: var(--slider-height, 0);
  top: var(--slider-top, 0);
  transition: top 0.3s ease, height 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.clients-sidebar h3 {
  color: #00cc66;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.client-sidebar-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #ccc;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.client-sidebar-item:hover {
  color: #fff;
  text-decoration: none;
}

.client-sidebar-item.active {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .admin-dashboard-container {
    padding: 1.5rem 1rem;
    margin: 0;
    padding-bottom: 2rem;
  }

  .admin-dashboard-container h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }

  .admin-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0;
  }

  .admin-nav-btn {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 48px;
    border-radius: 12px;
    font-weight: 600;
  }

  .clients-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }

  .clients-sidebar {
    max-height: 300px;
    padding: 1rem;
    order: 2;
  }

  .clients-sidebar::before {
    display: none;
  }

  .client-sidebar-item.active {
    background: #00cc66;
    color: #000;
  }

  .clients-main {
    order: 1;
  }

  .client-details-card {
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .client-details-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .client-details-header h3 {
    font-size: 1.75rem;
  }

  .client-details-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.25rem 0;
  }

  .client-detail-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .client-detail-value {
    font-size: 1.1rem;
  }

  .client-details-actions {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .account-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .account-actions .view-messages-btn,
  .account-actions .view-projects-btn,
  .account-actions .view-bills-btn,
  .account-actions .view-suggestions-btn {
    width: 100%;
    margin-top: 0;
    min-height: 56px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
  }

  .client-item,
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
  }

  .client-item h3,
  .contact-item h3 {
    font-size: 1.5rem;
  }

  .stats-controls {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .stats-table {
    font-size: 0.875rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .stats-table thead,
  .stats-table tbody,
  .stats-table tr {
    display: block;
  }

  .stats-table th,
  .stats-table td {
    display: block;
    padding: 0.75rem;
    text-align: left;
  }

  .stats-table th {
    background: #00cc66;
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid #000;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2rem 1.5rem;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
  }

  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .form-actions button {
    width: 100%;
    min-height: 56px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
  }

  .line-item-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .btn-remove-line {
    width: 100%;
    min-height: 56px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .estimate-total {
    text-align: center;
    font-size: 1.5rem;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    margin: 2rem 0;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 56px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 1rem 2rem;
  }

  .form-group input[type="text"],
  .form-group input[type="number"],
  .form-group input[type="file"],
  .form-group select,
  .form-group textarea {
    min-height: 56px;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
  }

  .form-group textarea {
    min-height: 120px;
  }

  /* Inline flex containers for projects/bills/suggestions headers */
  #client-projects-view > div[style*="display: flex"],
  #client-bills-view > div[style*="display: flex"],
  #client-suggestions-view > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  #client-projects-view > div[style*="display: flex"] button,
  #client-bills-view > div[style*="display: flex"] button,
  #client-suggestions-view > div[style*="display: flex"] button {
    width: 100%;
  }

  /* Project/Bill item headers */
  .project-item > div[style*="display: flex"],
  .bill-item > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  /* Comment headers */
  div[style*="display: flex"][style*="justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  /* Modal improvements */
  .modal-content table {
    font-size: 0.875rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-content table th,
  .modal-content table td {
    padding: 0.5rem;
    white-space: nowrap;
  }

  /* Button improvements */
  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn-primary:last-child,
  .btn-secondary:last-child {
    margin-bottom: 0;
  }

  /* Form improvements */
  .form-group input[type="file"] {
    font-size: 0.875rem;
  }

  /* Estimate line items table */
  .modal-content table.estimate-line-items {
    display: table;
    width: 100%;
  }

  .modal-content table.estimate-line-items th,
  .modal-content table.estimate-line-items td {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}

.clients-main h2 {
  color: #00cc66;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.client-item, .contact-item {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.client-item.client-inactive {
  opacity: 0.6;
  background: #0f0f0f;
  border-color: #444;
}

.client-item .client-info {
  flex: 1;
}

.client-item h3, .contact-item h3 {
  color: #00cc66;
  margin-top: 0;
}

/* Client Details Card Styling */
.client-details-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid #333;
  border-left: 4px solid #00cc66;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.client-details-card.client-inactive {
  opacity: 0.7;
  border-left-color: #666;
}

.client-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
}

.client-details-header h3 {
  color: #00cc66;
  margin: 0;
  font-size: 1.5rem;
}

.status-badge {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.status-active {
  background: rgba(0, 204, 102, 0.2);
  color: #00cc66;
  border: 1px solid #00cc66;
}

.status-badge.status-inactive {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 1px solid #ff4444;
}

.client-details-body {
  margin-bottom: 1.5rem;
}

.client-details-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 0.75rem 0;
  border-bottom: 1px solid #222;
  gap: 1rem;
  align-items: center;
}

.client-details-row:last-child {
  border-bottom: none;
}

.client-detail-label {
  color: #888;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.client-detail-value {
  color: #fff;
  font-size: 1rem;
}

.client-detail-value a {
  color: #00cc66;
  text-decoration: none;
  transition: color 0.3s ease;
}

.client-detail-value a:hover {
  color: #00dd77;
  text-decoration: underline;
}

.client-details-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.account-actions .view-messages-btn,
.account-actions .view-projects-btn,
.account-actions .view-bills-btn,
.account-actions .view-suggestions-btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%);
  color: #000;
  min-height: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
  margin-top: 1rem;
}

.account-actions .view-messages-btn:hover,
.account-actions .view-projects-btn:hover,
.account-actions .view-bills-btn:hover,
.account-actions .view-suggestions-btn:hover {
  background: linear-gradient(135deg, #00dd77 0%, #00cc66 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 204, 102, 0.4);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.inactive-badge {
  color: #ff4444;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.status-active {
  color: #00cc66;
  font-weight: 600;
}

.status-inactive {
  color: #ff4444;
  font-weight: 600;
}

.view-messages-btn {
  background: #00cc66;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.view-messages-btn:hover {
  background: #ffd700;
}

.view-projects-btn {
  background: #00cc66;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.view-projects-btn:hover {
  background: #00dd77;
}

.btn-secondary {
  background: #1a1a1a;
  color: #ccc;
  border: 2px solid #444;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  color: #fff;
  border-color: #666;
  background: #222;
}

.stats-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stats-period-btn {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #00cc66;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stats-period-btn:hover {
  background: #333;
}

.stats-period-btn.active {
  background: #00cc66;
  color: #000;
  border-color: #00cc66;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}

.stats-table thead {
  background: #00cc66;
  color: #000;
}

.stats-table th,
.stats-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

.stats-table tbody tr:hover {
  background: #222;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #1a1a1a;
  margin: 5% auto;
  padding: 2rem;
  border: 1px solid #333;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
}

.close-modal {
  color: #ccc;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #00cc66;
}

.message-response-form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.message-response-form textarea {
  width: 100%;
  padding: 0.5rem;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #ccc;
  border-radius: 4px;
  font-family: inherit;
  margin-bottom: 1rem;
}

.message-response-form button {
  background: #00cc66;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.message-response-form button:hover {
  background: #ffd700;
}

/* Large Modal */
.large-modal {
  max-width: 900px;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #00cc66;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: #000;
  border: 2px solid #333;
  color: #fff;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #555;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00cc66;
  box-shadow: 0 0 0 3px rgba(0, 204, 102, 0.15);
}

.form-group small {
  display: block;
  color: #888;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

/* Estimate Line Items */
.estimate-line-item {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.line-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.75rem;
}

.btn-remove-line {
  background: #ff4444;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: end;
}

.btn-remove-line:hover {
  background: #ff6666;
  transform: scale(1.1);
}

.estimate-total {
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%);
  color: #000;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  text-align: right;
  font-size: 1.25rem;
  font-weight: 600;
}

#add-line-item-btn {
  margin-bottom: 1rem;
}

/* Contact Form Styles */
.contact-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  color: #ccc;
}

.contact-container-with-image {
  position: relative;
  min-height: 600px;
  padding: 3rem 2rem;
  overflow: hidden;
}

.contact-image-background {
  position: absolute;
  width: 55%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 1;
  overflow: visible;
  padding-right: 2rem;
}

.contact-section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%) brightness(0.55) contrast(1.5) drop-shadow(0 0 30px rgba(0, 204, 102, 0.25));
  opacity: 0.7;
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: block;
}

.contact-container-with-image:hover .contact-section-image {
  opacity: 0.85;
  filter: grayscale(100%) brightness(0.65) contrast(1.6) drop-shadow(0 0 40px rgba(0, 204, 102, 0.35));
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 60px rgba(0, 204, 102, 0.2);
}

.contact-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 650px;
  width: 100%;
}

.contact-form {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  color: #00cc66;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #ccc;
  border-radius: 4px;
  font-family: inherit;
  margin-top: 0.5rem;
}

.contact-form button {
  background: #00cc66;
  color: #000;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
}

.contact-form button:hover {
  background: #ffd700;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
  .contact-container-with-image {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .contact-image-background {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0.4;
    margin-bottom: 2rem;
    padding: 0;
    right: auto;
    justify-content: center;
  }

  .contact-section-image {
    max-width: 100%;
    max-width: 300px;
    filter: grayscale(100%) brightness(0.55) contrast(1.5) drop-shadow(0 0 30px rgba(0, 204, 102, 0.25));
    border-radius: 12px;
  }

  .contact-content-wrapper {
    max-width: 100%;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Account Edit Form - Inline Edit Style */
.account-edit-form,
.account-change-password-form {
  background: linear-gradient(135deg, #0f0f0f 0%, #0a0a0a 100%);
  border: 1px solid #444;
  border-left: 4px solid #00cc66;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.account-edit-form h2 {
  color: #00cc66;
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(0, 204, 102, 0.2);
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.account-edit-form h2::before {
  content: '✎';
  font-size: 1.2rem;
  opacity: 0.8;
}

.account-edit-form-group {
  display: flex;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid #222;
  gap: 1.5rem;
}

.account-edit-form-group:last-of-type {
  border-bottom: none;
}

.account-edit-form label {
  color: #00cc66;
  font-weight: 600;
  min-width: 150px;
  flex-shrink: 0;
  font-size: 1rem;
}

.account-edit-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: #000;
  border: 2px solid #333;
  color: #fff;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.account-edit-form input:hover {
  border-color: #555;
  background: #0a0a0a;
}

.account-edit-form input:focus {
  outline: none;
  border-color: #00cc66;
  box-shadow: 0 0 0 3px rgba(0, 204, 102, 0.15), 0 0 0 1px rgba(0, 204, 102, 0.3);
  background: #0a0a0a;
}

.account-edit-form input::placeholder {
  color: #666;
}

.account-edit-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  justify-content: flex-end;
}

.account-edit-form button[type="submit"] {
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%);
  color: #000;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 204, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-edit-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #00dd77 0%, #00cc66 100%);
  box-shadow: 0 6px 16px rgba(0, 204, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.account-edit-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 204, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.account-edit-form button[type="button"] {
  background: #1a1a1a;
  color: #ccc;
  border: 2px solid #444;
  padding: 0.875rem 2.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-edit-form button[type="button"]:hover {
  color: #fff;
  border-color: #666;
  background: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.account-edit-form button[type="button"]:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.account-delete-section {
  margin-top: 2rem;
  padding-top: 2rem;
}

.account-delete-divider {
  border-top: 1px solid #333;
  margin-bottom: 1rem;
}

.delete-account-link {
  color: #ff4444;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.delete-account-link:hover {
  color: #ff6666;
  text-decoration: underline;
}

.delete-account-link:active {
  color: #ff2222;
}

.btn-primary {
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%);
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00dd77 0%, #00cc66 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 204, 102, 0.4);
}

/* Project, Bill, Suggestion Items */
.project-item,
.bill-item,
.suggestion-item {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.project-item > div[style*="display: flex"] {
  display: flex !important;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.project-item > div[style*="display: flex"] .btn-primary {
  margin-top: 0 !important;
  flex: 0 1 auto;
  height: 44px !important;
  min-height: 44px !important;
}

.suggestion-item:hover {
  border-color: #444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-item h3,
.bill-item h3,
.suggestion-item h3 {
  color: #00cc66;
  margin-top: 0;
}

.project-description {
  white-space: pre-line;
  line-height: 1.6;
  color: #ccc;
  margin: 1rem 0;
}

.suggestion-item.user-suggestion {
  border-left: 4px solid #00cc66;
}

.suggestion-item.admin-suggestion {
  border-left: 4px solid #ffd700;
  background: linear-gradient(to right, rgba(255, 215, 0, 0.03), #0a0a0a);
}

.suggestion-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.suggestion-item-badge {
  background: linear-gradient(135deg, #1a3a1a, #0a2a0a);
  color: #00cc66;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(0, 204, 102, 0.2);
  box-shadow: 0 2px 4px rgba(0, 204, 102, 0.1);
}

.suggestion-item-badge.admin {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

.suggestion-item-content {
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  padding: 0.75rem 0;
}

.suggestion-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #888;
  padding-top: 0.75rem;
  border-top: 1px solid #222;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.send-suggestion-form {
  background: linear-gradient(135deg, #0f0f0f 0%, #0a0a0a 100%);
  border: 1px solid #444;
  border-left: 4px solid #00cc66;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.send-suggestion-form h3 {
  color: #00cc66;
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(0, 204, 102, 0.2);
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.send-suggestion-form h3::before {
  content: '💡';
  font-size: 1.2rem;
  filter: grayscale(0.3);
}

.send-suggestion-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #000;
  border: 2px solid #333;
  color: #fff;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  resize: vertical;
  min-height: 140px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.send-suggestion-form textarea:hover {
  border-color: #555;
  background: #0a0a0a;
}

.send-suggestion-form textarea:focus {
  outline: none;
  border-color: #00cc66;
  box-shadow: 0 0 0 3px rgba(0, 204, 102, 0.15), 0 0 0 1px rgba(0, 204, 102, 0.3);
  background: #0a0a0a;
}

.send-suggestion-form textarea::placeholder {
  color: #666;
}

.send-suggestion-form button {
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%);
  color: #000;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 204, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.send-suggestion-form button:hover {
  background: linear-gradient(135deg, #00dd77 0%, #00cc66 100%);
  box-shadow: 0 6px 16px rgba(0, 204, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.send-suggestion-form button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 204, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.suggestions-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.suggestions-list-header {
  color: #00cc66;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #333;
  font-size: 1.25rem;
  font-weight: 600;
}

