* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Verdana, sans-serif;
  /*background-image: url('https://github.com/Terran-M-R/Terran-Roberson.github.io/blob/main/Portfolio%20Background%20w%20Gradient.jpg?raw=true');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; */
  color: #ffffff;
}

.websitetitle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  color: black; 
}

.websitetitle img {
  max-width: 100%;
  height: auto;
  transform: translateX(350px);
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  
}

.websitetitle p {
  font-size: 1.5rem;
  font-style: italic; 
  transform: translateX(320px);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9); /*rgba(206, 19, 20, 0.9);*/
  padding: 20px;
  text-align: center;
  z-index: 100;
}

/* The navigation is part of the header. It is the word links to the other pages. Hover changes the way it looks when a mouse is over it. Active shows when 
a the user is currently on the page. Ex: One the hompeage, the Home link is in bold. On HTML, I need to put class = active on each that is actually active. */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #ffffff;
  transition: font-weight 0.2s;
}

nav a:hover {
  font-weight: bold;
}

av a.active {
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  transform: translateX(300px);
}

.social-links a {
  padding: 12px 24px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.3s;
}

.social-links a:hover {
  transform: translateY(-3px);
  background-color: rgba(0, 0, 0, 0.9);
  color: #ce1314;
}

/* This section is a test for the dashboard for selecting ERPs. It is subject to change and be removed as well as customized! */

.dashboard-section {
  padding: 60px 20px 200px 20px;
  background-color: #f8f9fa;
  background-size: cover;
  background-attachment: fixed;
  min-height: calc(100vh - 400px);
  margin-bottom: 100px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.dashboard-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #ed4a4a 0%, #ff0000 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dashboard-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.dashboard-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.dashboard-card p {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #eee;
  margin-bottom: 10px;
}

.stat {
  font-size: 0.85rem;
  color: #667eea;
  font-weight: 600;
}

.card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: #667eea;
  transition: transform 0.3s ease;
}

.dashboard-card:hover .card-arrow {
  transform: translateX(5px);
}

/* Optional: Different accent colors for each module */
.dashboard-card.finance:hover::before {
  background: linear-gradient(135deg, #ed4a4a 0%, #ff0000 100%);
}

.dashboard-card.members:hover::before {
  background: linear-gradient(135deg, #ed4a4a 0%, #ff0000 100%);
}

.dashboard-card.projects:hover::before {
  background: linear-gradient(135deg, #ed4a4a 0%, #ff0000 100%);
}

.dashboard-card.resources:hover::before {
  background: linear-gradient(135deg, #ed4a4a 0%, #ff0000 100%);
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   BUDGET BREAKDOWN SECTION
   =========================== */
.budget-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

.budget-section h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.8rem;
}

.category-breakdown {
  margin-top: 20px;
}

.category-item {
  margin-bottom: 20px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  align-items: center;
}

.category-name {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.category-amount {
  color: #667eea;
  font-weight: 600;
  font-size: 0.95rem;
}

.progress-bar {
  height: 10px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
  border-radius: 10px;
}

/* ===========================
   QUICK ACTIONS BAR
   =========================== */
.quick-actions-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.action-icon {
  font-size: 1.5rem;
}

/* ===========================
   SECTION HEADER (for tables)
   =========================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 20px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.section-header h2 {
  color: #333;
  font-size: 1.8rem;
  margin: 0;
}

/* ===========================
   FILTER SELECT
   =========================== */
.filter-select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.3s;
}

.filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-select:hover {
  border-color: #667eea;
}

/* ===========================
   TRANSACTION AMOUNTS
   =========================== */
.amount-positive {
  color: #28a745;
  font-weight: 700;
}

.amount-negative {
  color: #dc3545;
  font-weight: 700;
}

/* ===========================
   TABLE CONTAINER
   =========================== */
.table-container {
  background: white;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.transactions-table thead {
  background: #667eea;
  color: white;
}

.transactions-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.transactions-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.transactions-table tbody tr {
  transition: background-color 0.2s;
}

.transactions-table tbody tr:hover {
  background: #f8f9fa;
}

.transactions-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===========================
   FORM STYLES (Income & Expense Forms)
   =========================== */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
  flex: 1;
  text-align: center;
}

/* ===========================
   SUCCESS MESSAGE
   =========================== */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #c3e6cb;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===========================
   ACTION BUTTONS (in tables)
   =========================== */
.action-btn-small {
  padding: 6px 14px;
  font-size: 0.85rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: #667eea;
  color: white;
  margin-right: 5px;
  transition: all 0.3s;
  font-weight: 500;
}

.action-btn-small:hover {
  background: #5568d3;
  transform: translateY(-1px);
}

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

.action-btn-small.delete:hover {
  background: #c82333;
}

/* ===========================
   STATUS BADGES (Updated)
   =========================== */
.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  text-transform: capitalize;
}

.status-badge.pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-badge.approved {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-badge.received {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.status-badge.denied {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===========================
   RESPONSIVE DESIGN FOR FINANCE SECTION
   =========================== */
@media (max-width: 768px) {
  .quick-actions-bar {
    grid-template-columns: 1fr 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn-primary,
  .form-actions .btn-secondary {
    width: 100%;
  }

  .transactions-table {
    font-size: 0.85rem;
  }

  .transactions-table th,
  .transactions-table td {
    padding: 10px 8px;
  }

  .action-btn-small {
    padding: 5px 10px;
    font-size: 0.75rem;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .quick-actions-bar {
    grid-template-columns: 1fr;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.about-container,
.help-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-section,
.help-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.about-section h2,
.help-section h2 {
  color: #ce1314;
  margin-bottom: 15px;
  font-size: 1.8rem;
  border-bottom: 2px solid #ce1314;
  padding-bottom: 10px;
}

.about-section h3,
.help-section h3 {
  color: #333;
  margin: 20px 0 10px 0;
  font-size: 1.3rem;
}

.about-section p,
.help-section p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.about-section a,
.help-section a {
  color: #ce1314; 
  text-decoration: none;
  font-weight: 600;
}

.about-section a:hover,
.help-section a:hover {
  text-decoration: underline;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.feature-item h3 {
  color: #333;
  font-size: 1.2rem;
  margin: 10px 0;
}

.feature-item p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* Served List */
.served-list {
  list-style: none;
  padding: 0;
}

.served-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #555;
}

.served-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ce1314;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Help Content */
.help-content {
  margin-top: 15px;
}

.help-content ol {
  margin-left: 20px;
  line-height: 1.8;
  color: #555;
}

.help-content ol li {
  margin-bottom: 8px;
}

.help-content ul {
  list-style: none;
  padding: 0;
}

.help-content ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: #555;
}

.help-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ce1314;
  font-size: 1.5rem;
  line-height: 1;
}

/* FAQ Items */
.faq-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.faq-item h4 {
  color: #ce1314;
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-section,
  .help-section {
    padding: 20px;
  }
}

/* ===========================
   MEMBERS PAGE STYLES
   =========================== */

/* Member Controls */
.member-controls {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.member-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.member-card h3 {
  margin: 10px 0 5px 0;
  color: #333;
  font-size: 1.3rem;
}

.member-role {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 15px;
}

.member-contact {
  text-align: left;
  margin: 15px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.member-contact p {
  margin: 5px 0;
  color: #666;
  font-size: 0.9rem;
  word-break: break-word;
}

.member-major {
  color: #666;
  font-size: 0.9rem;
  margin: 10px 0;
  font-style: italic;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 15px 0;
}

.tag {
  background: #e9ecef;
  color: #495057;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.member-card .status-badge {
  margin: 15px 0 10px 0;
  display: inline-block;
}

.member-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.btn-view,
.btn-delete {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-view {
  background: #667eea;
  color: white;
}

.btn-view:hover {
  background: #5568d3;
}

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

.btn-delete:hover {
  background: #c82333;
}

.no-members-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.no-members-message p {
  color: #666;
  font-size: 1.1rem;
}

.no-members-message a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.no-members-message a:hover {
  text-decoration: underline;
}

.btn-link {
  background: none;
  border: none;
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: inherit;
}

.btn-link:hover {
  color: #5568d3;
}

/* Form Row for Side-by-Side Fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-hint {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

/* Status Badge Styles */
.status-badge.active {
  background: #d4edda;
  color: #155724;
}

.status-badge.inactive {
  background: #f8d7da;
  color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
  .member-controls {
    flex-direction: column;
  }

  .search-input {
    width: 100%;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}



footer {
  margin-top: auto;
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.9);
}








