/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f0f2f5;
}

/* Navigation */
.navbar {
    background-color: #0d0d0d;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 32px !important;
    width: auto !important;
    max-height: 32px !important;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.logout-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: opacity 0.2s;
}

.logout-btn:hover {
    opacity: 0.8;
}

/* Main container */
.container {
    max-width: 95% !important;
    width: 95% !important;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://huntscrape.s3.us-east-1.amazonaws.com/huntscrapehero2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin: -2rem -2rem 2rem -2rem;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-logo {
    display: block;
    margin: 0 auto;
    max-width: 400px;
    width: 80%;
    height: auto;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    font-style: italic;
    margin: 0;
    padding-top: 0.5rem;
}

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

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.feature h3 {
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

/* Page header */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    color: #0d0d0d;
}

.welcome-text {
    color: #666;
    margin-top: 0.5rem;
}

.header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Content sections */
.content-section {
    max-width: 800px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #0d0d0d;
    margin: 1.5rem 0 0.5rem 0;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Board Layout - Message Board Style */
.board-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.board {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
    border-radius: 8px 8px 0 0;
}

.board-header h2 {
    font-size: 1.1rem;
    color: #0d0d0d;
    margin: 0;
}

.board-content {
    flex: 1;
    padding: 0.5rem;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.board-item {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
    margin-bottom: 0.25rem;
}

.board-item:hover {
    background-color: #f5f5f5;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.item-user {
    font-weight: 600;
    color: #333;
}

.item-title {
    font-weight: 600;
    color: #333;
}

.item-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
}

.item-location {
    color: #555;
}

.item-date {
    color: #888;
}

.board-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.board-footer a {
    color: #0d0d0d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.board-footer a:hover {
    text-decoration: underline;
}

.empty-message {
    text-align: center;
    color: #888;
    padding: 2rem 1rem;
}

/* Status badges */
.item-status {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-scheduled {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-in_progress {
    background-color: #fff3e0;
    color: #e65100;
}

.status-completed {
    background-color: #e5e5e5;
    color: #0d0d0d;
}

.status-cancelled {
    background-color: #ffebee;
    color: #c62828;
}

/* Type badges */
.item-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.item-badge.large {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
}

.badge-buck {
    background-color: #e5e5e5;
    color: #0d0d0d;
}

.badge-doe {
    background-color: #fce4ec;
    color: #c2185b;
}

/* List View */
.list-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.list-item {
    display: block;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background-color: #f9f9f9;
}

.list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.list-item-body {
    color: #333;
    margin-bottom: 0.25rem;
}

.list-item-meta {
    font-size: 0.85rem;
    color: #888;
}

/* Stats bar */
.stats-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 100px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d0d0d;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

/* Detail card */
.detail-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-header {
    margin-bottom: 1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.detail-item span {
    font-size: 1rem;
    color: #333;
}

.detail-notes {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.detail-notes label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.detail-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #888;
}

/* Volunteer logs table */
.volunteer-logs {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.volunteer-logs h2 {
    color: #0d0d0d;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

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

.data-table th {
    background: #fafafa;
    font-weight: 600;
    color: #555;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.data-table .highlight-row {
    background-color: #e5e5e5;
}

/* Recent Activity Section - OLD STYLE (for activity-section class) */
.activity-section {
    margin-top: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.activity-section h2 {
    color: #0d0d0d;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.activity-section .activity-feed {
    display: flex;
    flex-direction: column;
}

.activity-section .activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
}

.activity-section .activity-item:hover {
    background-color: #f5f5f5;
}

.activity-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-text {
    display: block;
    color: #333;
    line-height: 1.4;
}

.activity-text strong {
    color: #0d0d0d;
}

.activity-time {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #888;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Form styles */
.form-container {
    max-width: 500px;
}

.styled-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d0d0d;
    box-shadow: 0 0 0 2px rgba(13, 13, 13, 0.1);
}

.help-text {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    line-height: 1;
}

.error-text {
    display: block;
    font-size: 0.8rem;
    color: #c62828;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Login form (keep original styling) */
.login-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s;
    font-family: inherit;
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

.btn-sm.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.btn-sm.btn-secondary:hover {
    background-color: #d0d0d0;
}

/* Confirm delete card */
.confirm-delete-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    max-width: 500px;
}

.confirm-delete-card p {
    margin-bottom: 1rem;
}

.delete-details {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.delete-details p {
    margin-bottom: 0.5rem;
}

.delete-details p:last-child {
    margin-bottom: 0;
}

.item-time {
    font-size: 0.85rem;
    color: #0d0d0d;
    font-weight: 500;
}

/* Reports page */
.reports-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.reports-container > p {
    margin-bottom: 1.5rem;
    color: #666;
}

.report-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.report-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.report-card h3 {
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

.report-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.report-card .btn {
    width: 100%;
    text-align: center;
}

.btn-danger {
    background-color: #c62828;
    color: white;
}

.btn-danger:hover {
    background-color: #a31f1f;
}

.btn-primary {
    background-color: #0d0d0d;
    color: white;
}

.btn-primary:hover {
    background-color: #1a1a1a;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-success {
    background-color: #e5e5e5;
    color: #0d0d0d;
    border: 1px solid #d0d0d0;
}

/* Back link */
.back-link {
    margin-top: 1.5rem;
}

.back-link a {
    color: #0d0d0d;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #0d0d0d;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

/* Calendar styles */
.calendar-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

#calendar {
    max-width: 100%;
}

.fc .fc-button-primary {
    background-color: #0d0d0d;
    border-color: #0d0d0d;
}

.fc .fc-button-primary:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.fc .fc-button-primary:disabled {
    background-color: #0d0d0d;
    border-color: #0d0d0d;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: #000000;
    border-color: #000000;
}

.fc .fc-daygrid-day:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.fc-event {
    cursor: pointer;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content.modal-large {
    max-width: 500px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #0d0d0d;
    padding-right: 2rem;
}

.modal-body p {
    margin-bottom: 0.5rem;
}

.modal-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

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

/* =============================================================================
   Members Area - New Design
   ============================================================================= */

/* Members Hero Banner */
.members-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://huntscrape.s3.us-east-1.amazonaws.com/huntscrapehero2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 2.5rem 2rem;
    margin: -2rem -2rem 0 -2rem;
    /* Break out of container to full viewport width */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -2rem;
    border-bottom: 4px solid #000000;
}

.members-hero-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: white;
    padding: 8px;
}

.members-hero-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.members-hero-title {
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.members-hero-welcome {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Members Navigation Bar */
.members-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f5f5f5;
    margin: 0 -2rem 1.5rem -2rem;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.members-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    font-family: inherit;
}

.members-nav-btn:hover {
    background: #f0f0f0;
    border-color: #0d0d0d;
}

.members-nav-btn.active {
    background: #0d0d0d;
    color: white;
    border-color: #0d0d0d;
}

.members-nav-btn.logout {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.members-nav-btn.logout:hover {
    background: #c82333;
    border-color: #c82333;
}

.members-nav .nav-icon {
    font-size: 1rem;
}

/* Main Content Grid */
.members-main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    margin-top: 1rem;
}

.members-content {
    min-width: 0;
}

.members-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Section Headers */
.members-main-grid .section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #0d0d0d;
    color: white;
    border-radius: 6px 6px 0 0;
    margin: 0;
}

.members-main-grid .section-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.members-main-grid .section-icon {
    font-size: 1.1rem;
}

/* Activities Section */
.activities-section {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.activity-card {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.activity-card:hover {
    border-color: #0d0d0d;
    box-shadow: 0 2px 8px rgba(13, 13, 13, 0.15);
}

.activity-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #0d0d0d;
    font-weight: 600;
}

.activity-card p {
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.activity-enter-btn {
    display: inline-block;
    padding: 0.4rem 1.5rem;
    background: white;
    color: #0d0d0d;
    text-decoration: none;
    border: 2px solid #0d0d0d;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.activity-enter-btn:hover {
    background: #0d0d0d;
    color: white;
}

/* Recent Activity Section */
.recent-activity-section {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.recent-activity-section .activity-feed {
    padding: 0.5rem;
    max-height: 500px;
    overflow-y: auto;
    display: block;
}

.activity-feed-item {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
}

.activity-feed-item:last-child {
    border-bottom: none;
}

.activity-feed-item:hover {
    background-color: #f9f9f9;
}

.activity-feed-header {
    margin-bottom: 0.25rem;
}

.activity-category {
    display: inline-block;
    font-size: 0.75rem;
    color: #0d0d0d;
    font-weight: 600;
    text-transform: uppercase;
}

.activity-feed-content {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.activity-feed-content strong {
    color: #0d0d0d;
}

.activity-feed-meta {
    font-size: 0.8rem;
    color: #888;
}

/* Sidebar Sections */
.members-sidebar .sidebar-section {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.members-sidebar .sidebar-section h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.members-sidebar .sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #0d0d0d;
    color: white;
}

.members-sidebar .sidebar-header.upcoming-header {
    background: #0d0d0d;
}

/* Quick Actions */
.members-sidebar .quick-actions {
    padding: 0;
}

.members-sidebar .quick-actions h3 {
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.members-sidebar .quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    color: #333;
    text-decoration: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    transition: background-color 0.15s;
    cursor: pointer;
}

.members-sidebar .quick-action-btn:last-child {
    border-bottom: none;
}

.members-sidebar .quick-action-btn:hover {
    background: #f5f5f5;
}

.members-sidebar .quick-action-btn.upload {
    background: #e5e5e5;
    color: #0d0d0d;
    border-color: #d0d0d0;
}

.members-sidebar .quick-action-btn.upload:hover {
    background: #d0d0d0;
}

.members-sidebar .quick-action-btn.event {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.members-sidebar .quick-action-btn.event:hover {
    background: #ffeeba;
}

/* Stats List - Members Sidebar Specific */
.members-sidebar .stats-list {
    padding: 0.5rem 1rem;
}

.members-sidebar .stats-list .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.members-sidebar .stats-list .stat-item:last-child {
    border-bottom: none;
}

.members-sidebar .stats-list .stat-label {
    font-size: 0.85rem;
    color: #666;
    display: inline;
    text-transform: none;
}

.members-sidebar .stats-list .stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d0d0d;
    display: inline;
}

/* Events List */
.members-sidebar .events-list {
    padding: 0.5rem;
}

.members-sidebar .event-item {
    display: block;
    padding: 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
    margin-bottom: 0.5rem;
}

.members-sidebar .event-item:last-child {
    margin-bottom: 0;
}

.members-sidebar .event-item:hover {
    background-color: #f5f5f5;
}

.members-sidebar .event-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.members-sidebar .event-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.members-sidebar .event-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    background: #e5e5e5;
    color: #0d0d0d;
    border-radius: 3px;
}

/* Harvests List */
.members-sidebar .harvests-list {
    padding: 0.5rem;
}

.members-sidebar .harvest-item {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
    border-bottom: 1px solid #f0f0f0;
}

.members-sidebar .harvest-item:last-child {
    border-bottom: none;
}

.members-sidebar .harvest-item:hover {
    background-color: #f5f5f5;
}

.members-sidebar .harvest-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
}

.members-sidebar .harvest-user {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
}

.members-sidebar .harvest-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

.members-sidebar .harvest-badge.badge-buck {
    background-color: #e5e5e5;
    color: #0d0d0d;
}

.members-sidebar .harvest-badge.badge-doe {
    background-color: #fce4ec;
    color: #c2185b;
}

.members-sidebar .harvest-meta {
    font-size: 0.8rem;
    color: #888;
}

/* View All Link */
.members-sidebar .view-all-link {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    color: #0d0d0d;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: 1px solid #e0e0e0;
    transition: background-color 0.15s;
}

.members-sidebar .view-all-link:hover {
    background: #f5f5f5;
    text-decoration: underline;
}

/* Empty Messages */
.empty-message-small {
    text-align: center;
    color: #888;
    padding: 1rem;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .board-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .members-main-grid {
        grid-template-columns: 1fr;
    }
    
    .members-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */

/* Hamburger toggle button - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when open */
.nav-toggle.nav-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.nav-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.nav-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

@media (max-width: 768px) {
    /* Show hamburger menu on mobile */
    .nav-toggle {
        display: flex;
    }
    
    /* Navbar stays horizontal on mobile */
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        position: relative;
    }
    
    /* Nav links hidden by default on mobile */
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 0;
        background-color: #0d0d0d;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    /* Show nav links when open */
    .nav-links.nav-open {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a,
    .nav-links .logout-btn {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:hover,
    .nav-links .logout-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .board-container {
        grid-template-columns: 1fr;
    }
    
    .board-content {
        max-height: 300px;
    }
    
    .header-with-action {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-bar {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Members Area Mobile */
    .members-hero {
        padding: 1.5rem 1rem;
    }
    
    .members-hero-title {
        font-size: 1.5rem;
    }
    
    .members-nav {
        padding: 0.75rem;
        gap: 0.35rem;
    }
    
    .members-nav-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .members-sidebar {
        grid-template-columns: 1fr;
    }
    
    /* Form responsiveness */
    .form-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .styled-form {
        padding: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Table responsiveness */
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Page header responsiveness */
    .page-header {
        padding: 0 1rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Container adjustments */
    .container {
        padding: 1rem;
    }
    
    /* Detail card responsiveness */
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats adjustments */
    .stat {
        min-width: 80px;
        padding: 0.75rem 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .container {
        padding: 0.75rem;
    }
    
    .stats-bar {
        gap: 0.5rem;
    }
    
    .stat {
        min-width: 70px;
        padding: 0.5rem 0.75rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* List items */
    .list-item {
        padding: 0.75rem 1rem;
    }
    
    /* Back link */
    .back-link {
        margin-top: 1rem;
        padding: 0 1rem;
    }
}
