/* Style Google Maps Place Autocomplete to match other inputs */
gmp-place-autocomplete {
    width: 100%;
    font-family: 'Poppins', 'Inter', sans-serif;
    border: none !important;
    outline: none !important;
}

gmp-place-autocomplete::part(input) {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd !important;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', 'Inter', sans-serif;
    background: white;
    box-sizing: border-box;
    outline: none !important;
}

gmp-place-autocomplete::part(input):focus {
    outline: none !important;
    border-color: #5a7a45 !important;
    box-shadow: 0 0 0 2px rgba(90, 122, 69, 0.1);
}

/* Remove default black border from autocomplete container */
gmp-place-autocomplete::part(container),
gmp-place-autocomplete::part(wrapper) {
    border: none !important;
    outline: none !important;
}

/* Category sections layout - centered with max-width */
.category-section {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e8f0e3;
}

#allRequestsSection.category-section {
    padding: 20px;
    max-width: 1100px;
    margin: 20px auto;
}

#myAcceptedRequestsSection.category-section,
#myToHelpSection.category-section,
#completedSection.category-section {
    max-width: 1100px;
    margin: 20px auto;
}

.section-title {
    font-size: 1.2em;
    color: #5a7a45;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    border-bottom: 2px solid #e8f0e3;
    padding-bottom: 10px;
}

/* Horizontal scroll container */
.horizontal-scroll-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Two rows for All Requests */
.horizontal-scroll-container.two-rows {
    flex-wrap: wrap;
    max-height: 440px;
    align-content: flex-start;
}

.vertical-scroll-container {
    width: 100%;
    max-height: 460px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 0 10px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(90, 122, 69, 0.4) transparent;
}

.vertical-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.vertical-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.vertical-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(90, 122, 69, 0.4);
    border-radius: 10px;
}

/* Hitching special requirements list */
.special-requirements-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 6px;
}

.special-requirements-list::-webkit-scrollbar {
    width: 6px;
}

.special-requirements-list::-webkit-scrollbar-thumb {
    background: rgba(90, 122, 69, 0.4);
    border-radius: 10px;
}

.special-requirements-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 2px;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.special-requirements-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5a7a45;
}

.special-requirements-option:hover span,
.special-requirements-option input:checked + span {
    font-weight: 600;
    color: #2f4a1d;
}

/* Important info confirmation */
.info-box .info-confirm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.info-box .info-confirm input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5a7a45;
}

/* Terms & Conditions list */
.terms-list {
    list-style: decimal;
    padding-left: 18px;
    margin: 0 0 14px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* All Requests: horizontal scroll container */
#allRequestsSection .posts-scroll {
    position: relative;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    overflow: visible;
}

#allRequestsSection .all-requests-grid {
    display: flex !important;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#allRequestsSection .all-requests-grid::-webkit-scrollbar {
    display: none;
}

#allRequestsSection .all-requests-grid .post-card {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    width: 200px !important;
}

/* Scroll arrow buttons for post card sections */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d4e8d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #5a7a45;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
}

.scroll-arrow:hover {
    background: #5a7a45;
    color: white;
    border-color: #5a7a45;
    box-shadow: 0 4px 12px rgba(90, 122, 69, 0.3);
}

.scroll-arrow.scroll-left {
    left: -8px;
}

.scroll-arrow.scroll-right {
    right: -8px;
}

.scroll-arrow:disabled,
.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Scroll wrapper for arrow positioning */
.scroll-wrapper {
    position: relative;
    padding: 0 20px;
}

/* One row for other sections */
.horizontal-scroll-container.one-row {
    flex-wrap: nowrap;
}

/* Uniform post card sizing - override any other styles */
.horizontal-scroll-container .post-card,
.accepted-tasks-grid .post-card,
.todo-grid .post-card,
.posts-grid .post-card {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    width: 200px !important;
    height: auto !important;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Legacy grid support - keep for backwards compatibility */
.accepted-tasks-grid, .todo-grid, .posts-grid {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.accepted-tasks-grid::-webkit-scrollbar, 
.todo-grid::-webkit-scrollbar,
.posts-grid::-webkit-scrollbar {
    display: none;
}

@media (max-width: 900px) {
    .horizontal-scroll-container.two-rows {
        max-height: none;
    }
    
    .category-section {
        padding: 10px 15px;
    }
}
/* Admin table styling */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    background: #f8faf7;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Poppins', 'Inter', sans-serif;
}
.admin-table th, .admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e8d8;
    text-align: left;
}
.admin-table th {
    background: #e8f0e3;
    font-weight: 600;
    font-size: 15px;
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table button {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}
.admin-table button:hover {
    background: #c0392b;
}
/* Admin requests and accepted requests styling */
.admin-request, .admin-accepted {
    display: flex;
    align-items: center;
    background: #f4f7f2;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(90,122,69,0.07);
    padding: 12px 18px;
    margin-bottom: 10px;
    font-size: 15px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 400;
}
/* Admin users list styling */
.admin-user {
    display: flex;
    align-items: center;
    background: #f8faf7;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(90,122,69,0.07);
    padding: 12px 18px;
    margin-bottom: 10px;
    font-size: 16px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 500;
}
.icon-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    background: #fff !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 12px 0 8px 0;
    margin: 0 0 12px 0 !important;
    max-width: 100vw;
    overflow-x: auto;
    z-index: 2;
    border: 1px solid #e0e8d8;
}

.main-container {
    background: transparent !important;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    .post-category-name {
        font-size: 13px;
        font-weight: 600;
        color: #2d5016;
        text-transform: uppercase;
    }
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 0;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #fff;
}

.icon-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    padding: 12px 0 8px 0;
    margin: 0 0 12px 0 !important;
    max-width: 100vw;
    overflow-x: auto;
    z-index: 2;
    border: none;
}
/* Header Styles */
.header {
    background: white;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: relative;
    z-index: 100;
    height: 64px;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #f0fceb;
    z-index: 0;
}

.header > * {
    position: relative;
    z-index: 1;
}

/* Desktop: bottom-row holds stats, links, user-profile inline */
.header-bottom-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.4rem;
}

.logo-text img {
    vertical-align: middle;
    width: 40px;
    height: 40px;
}

.logo-word {
    font-weight: 500 !important;
    letter-spacing: -0.01em;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a7a45;
}

.header-stats span {
    font-weight: 500;
}

.header-stats {
    padding: 8px 16px;
    background: #f8fdf6;
    border: 1px solid #d4e8d0;
    border-radius: 6px;
    margin-right: 20px;
    height: fit-content;
    align-self: center;
}

.header-stats .divider,
.header-info-box .divider {
    color: #b2c9ab;
    font-weight: 400;
    margin: 0 4px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    height: 100%;
    position: relative;
}

.user-profile strong {
    color: #2d5016;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.header-link {
    font-size: 0.8rem;
    color: #2d5016;
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 20px;
    border-right: 1px solid #e8f0e5;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.header-link:hover {
    color: #ff6b35;
    background: #fafcf9;
}

.logout-link {
    color: #d32f2f;
    border-right: 1px solid #e8f0e5;
}

.logout-link:hover {
    color: #b71c1c;
    background: #fff5f5;
}

.profile-pic-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.profile-pic-link:hover {
    transform: scale(1.05);
}

.profile-pic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #5a7a45;
    object-fit: cover;
    cursor: pointer;
    display: block;
    box-shadow: 0 2px 6px rgba(90, 122, 69, 0.12);
}


/* Main Container */
.main-container {
    display: flex;
    height: 420px;
    margin: 4px auto 18px;
    max-width: 1100px;
    width: 100%;
    position: relative;
}

/* Icons Top Bar Styles */
.icons-top-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    padding: 6px 4px;
    background-color: white;
    margin: 4px auto 4px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
}

/* Custom scrollbar for icons-top-bar */
.icons-top-bar::-webkit-scrollbar {
    width: 4px;
}

.icons-top-bar::-webkit-scrollbar-track {
    background: transparent;
}

.icons-top-bar::-webkit-scrollbar-thumb {
    background: rgba(90, 122, 69, 0.2);
    border-radius: 10px;
}

.icons-top-bar::-webkit-scrollbar-thumb:hover {
    background: rgba(90, 122, 69, 0.4);
}

.icons-top-bar-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    padding: 6px 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-left: 3px solid transparent;
    flex-shrink: 0;
    /* Ensure hover works for all, including first icon */
}

.icons-top-bar-item:hover {
    background-color: #f0f0f0 !important;
}

.icons-top-bar-item.active {
    background-color: transparent;
    border-left: 3px solid transparent;
}

/* Category Separator */
.category-separator {
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 8px auto;
    opacity: 0.6;
}

.sidebar-divider {
    width: 1px;
    height: 48px;
    background: #e0e8d8;
    margin: 0 12px;
    align-self: center;
}

.icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background-color: transparent;
}

.icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.icon svg {
    width: 56px;
    height: 56px;
    display: block;
}

.maintenance-icon { background-color: transparent; }
.hitching-icon { background-color: transparent; }
.daily-needs-icon { background-color: transparent; }
.social-icon { background-color: transparent; }
.advice-icon { background-color: transparent; }
.education-icon { background-color: transparent; }
.lost-found-icon { background-color: transparent; }

.icons-top-bar-item span {
    font-size: 13px;
    text-align: center;
    font-weight: 600;
    color: #2d5016;
    white-space: nowrap;
    padding: 4px 8px;
    border: 2px solid #d4e8d0;
    border-radius: 12px;
    background: linear-gradient(135deg, #fafffe 0%, #f0fceb 100%);
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.1);
    transition: all 0.3s ease;
    margin-top: 4px;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.3px;
}

.icons-top-bar-item:hover span {
    border-color: #5a7a45;
    background: linear-gradient(135deg, #f0fceb 0%, #d4e8d0 100%);
    box-shadow: 0 3px 6px rgba(45, 80, 22, 0.2);
    transform: translateY(-1px);
}

.icons-top-bar-item.active span {
    border-color: #2d5016;
    background: linear-gradient(135deg, #5a7a45 0%, #2d5016 100%);
    color: white;
    box-shadow: 0 4px 8px rgba(45, 80, 22, 0.3);
}


/* DEPENDENCY: Header styling - When changing header styles, also update:
// - profile-styles.css (profile page specific header styles)
// - All HTML files with header elements (index.html, profile.html, admin.html)
// - components/header.js (reusable header component)
// Member Status Highlighting in Header */
#header-level {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Default Member Status */
#header-level.status-member {
    background: #f0f7ed;
    color: #5a7a45;
    border: 1px solid #d4e8d0;
}

/* Helper Status Colors - Unique */
#header-level.status-helper { background: #e3f2fd; color: #1976d2; border: 1px solid #bbdefb; }
#header-level.status-supporter { background: #f3e5f5; color: #7b1fa2; border: 1px solid #e1bee7; }
#header-level.status-guardian { background: #e8f5e9; color: #388e3c; border: 1px solid #c8e6c9; }
#header-level.status-champion { background: #fff3e0; color: #f57c00; border: 1px solid #ffe0b2; }
#header-level.status-samaritan { background: #fce4ec; color: #c2185b; border: 1px solid #f8bbd9; }
#header-level.status-white-knight { background: #e1f5fe; color: #0277bd; border: 1px solid #b3e5fc; }
#header-level.status-elite-helper { 
    background: linear-gradient(135deg, #ffd700, #ffed4e); 
    color: #b8860b; 
    border: 1px solid #ffd700;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    animation: shimmer 2s ease-in-out infinite;
}

/* Requester Status Colors - Unique (No Duplicates) */
#header-level.status-requester { background: #f3e5f5; color: #7b1fa2; border: 1px solid #e1bee7; }
#header-level.status-seeker { background: #e8f5e9; color: #388e3c; border: 1px solid #c8e6c9; }
#header-level.status-burdened { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
#header-level.status-weathered { background: #fff8e1; color: #f9a825; border: 1px solid #ffecb3; }
#header-level.status-maslow { background: #e0f2f1; color: #00796b; border: 1px solid #b2dfdb; }
#header-level.status-damsel { background: #fce4ec; color: #c2185b; border: 1px solid #f8bbd9; }
#header-level.status-elite-requester { 
    background: linear-gradient(135deg, #ffd700, #ffed4e); 
    color: #b8860b; 
    border: 1px solid #ffd700;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Map Container */
.map-container {
    flex: 1;
    height: 100%;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    background-color: white;
    z-index: 3000;
    pointer-events: auto !important;
}

#map {
    width: 100%;
    height: 100%;
    border: 2px solid #d4e8d0;
    border-radius: 8px;
    position: relative;
    z-index: 3000;
    pointer-events: auto !important;
    background-color: #f0f0f0 !important;
}

/* Posts Section */
.posts-section {
    padding: 10px 0 20px 0;
    background-color: white;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.filter-dropdown select {
    padding: 6px 12px;
    border: 1px solid #d4e8d0;
    border-radius: 4px;
    background-color: white;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    min-width: 120px;
}

.filter-dropdown select:hover {
    border-color: #5a7a45;
    background-color: #f0fceb;
}

/* Posts Grid - use flex for horizontal scrolling */
.posts-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.posts-grid::-webkit-scrollbar {
    display: none;
}

#allRequestsSection .posts-grid {
    flex-wrap: nowrap;
}

.post-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8e8e8;
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    height: auto;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post-header {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px 8px 12px;
}

.post-header-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-icon-small {
    width: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.post-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #5a7a45;
}

.post-date-row {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.post-time-pill-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.post-time-row {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.2px;
    line-height: 1;
}

.urgency-tag {
    font-size: 8px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    display: inline-block;
    line-height: 1;
    flex-shrink: 0;
}

.urgency-tag.urgent {
    background: #fff0f0;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.urgency-tag.scheduled {
    background: #e8f0fe;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

/* Role tags for completed tasks */
.role-tag {
    font-size: 8px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.requester-tag {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.helper-tag {
    background: #e8f5e8;
    color: #2d5016;
    border: 1px solid #b7dfb7;
}

.post-icon {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.post-icon-img {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0fceb;
    padding: 15px;
}

.post-icon.hitching { background-color: #ff6b6b; }
.post-icon.daily-needs { background-color: #ffd700; }
.post-icon.education { background-color: #4169e1; }
.post-icon.advice { background-color: #87ceeb; }

.post-content {
    padding: 8px 12px 8px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-status-bar {
    padding: 6px 12px 8px 12px;
}

.post-badge {
    display: none;
}

.post-content h3 {
    font-size: 12px;
    color: #2d5016;
    margin-bottom: 4px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-subcategory-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.post-subcategory-row h3 {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.post-content p {
    font-size: 11px;
    color: #666;
    margin-bottom: 3px;
    line-height: 1.3;
}

.post-location {
    color: #5a7a45;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
}

.post-user-pic {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.post-footer span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.btn-accept-post {
    width: 100%;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2d5016 0%, #5a7a45 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2);
}

.btn-accept-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 80, 22, 0.3);
    background: linear-gradient(135deg, #1f3910 0%, #4a6a35 100%);
}

.btn-accept-post:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2);
}

.btn-complete-todo {
    width: 100%;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4a6a35 0%, #2d5016 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2);
}

.btn-complete-todo:hover {
    background: linear-gradient(135deg, #3a5a25 0%, #1f3910 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 80, 22, 0.3);
}

.btn-complete-todo:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2);
}

/* Footer */
.footer {
    background-color: #f0fceb;
    color: #5a7a45;
    text-align: center;
    padding: 8px 30px;
    margin-top: 30px;
    font-size: 15px;
    border-top: 1px solid #d4e8d0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* --- Mobile Header: single row ---
       Logo | Kudos/Status | Home | Logout | Profile pic
    */
    .header {
        display: flex !important;
        flex-direction: row !important;
        height: auto !important;
        padding: 6px 10px !important;
        gap: 0 !important;
        align-items: center !important;
    }

    /* Hide "Meet" and "Help" text on mobile, keep only the logo image */
    .logo .logo-word {
        display: none !important;
    }

    .logo .logo-text {
        gap: 0 !important;
    }

    .logo .logo-text img {
        width: 28px !important;
        height: 28px !important;
    }

    /* Bottom row becomes inline, no wrapping */
    .header-bottom-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: flex-end;
        gap: 0 !important;
        height: auto !important;
        margin-left: auto !important;
    }

    /* Hide the username text, keep only profile pic */
    .user-profile strong {
        display: none !important;
    }

    .user-profile {
        padding: 0 0 0 6px !important;
        gap: 0 !important;
        height: auto !important;
    }

    .profile-pic {
        width: 28px !important;
        height: 28px !important;
    }

    .header-stats {
        padding: 2px 6px !important;
        font-size: 10px !important;
        gap: 4px !important;
    }

    .header-stats span {
        font-size: 10px !important;
    }

    .header-links {
        height: auto !important;
    }

    .header-link {
        padding: 0 6px !important;
        height: auto !important;
        font-size: 0.7rem !important;
        border-right: none !important;
    }
    
    .main-container {
        height: 400px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
    
    .icons-top-bar {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 8px 5px;
        gap: 2px;
    }
    
    .icons-top-bar-item {
        flex-direction: column !important;
        padding: 6px 8px;
        min-width: 60px;
    }
    
    .icons-top-bar-item .icon img {
        width: 40px;
        height: 40px;
    }
    
    .icons-top-bar-item span {
        font-size: 9px;
    }
}

/* Request form row layout for side-by-side fields */
.request-form-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.request-form-row .request-form-group {
    flex: 1;
    margin-bottom: 15px;
}

/* Make contact checkboxes and labels appear in one line */
.contact-options {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

/* Daily Needs Form Styles */
.daily-needs-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    background: #f8faf7;
    border: 1px solid #e0e8d8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d5016;
    border-bottom: 2px solid #d4e8d0;
    padding-bottom: 8px;
}

.form-section .request-form-group {
    margin-bottom: 15px;
}

.form-section .request-form-row {
    margin-bottom: 0;
}

.form-section .request-form-row .request-form-group {
    margin-bottom: 0;
    flex: 1;
}

.conditional-fields {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e8e8e8;
}

.form-section label {
    font-size: 13px;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 6px;
    display: block;
}

.form-section small {
    font-size: 11px;
    color: #666;
    display: block;
    margin-bottom: 6px;
}

.form-section input:not(.duration-input-group input),
.form-section select,
.form-section textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d4e8d0;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    transition: border-color 0.3s ease;
}

/* Duration input fields - override all other styles */
.form-section .duration-input-group input,
.duration-input-group input,
.daily-needs-form .duration-input-group input {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    padding: 8px !important;
    border: 1px solid #d4e8d0 !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 13px !important;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
    outline: none;
    border-color: #5a7a45;
    box-shadow: 0 0 0 2px rgba(90, 122, 69, 0.1);
}

.form-section textarea {
    resize: vertical;
    min-height: 80px;
}

.item-search-container {
    position: relative;
}

#itemSearchInput {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #d4e8d0;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 6px;
}

.selected-items-display {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
    min-height: 28px;
}

.selected-item-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #5a7a45;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.selected-item-chip .remove-item {
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
}

.selected-item-chip .remove-item:hover {
    color: #ff6b35;
}

.item-list-container {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #d4e8d0;
    border-radius: 4px;
    padding: 4px;
    background: #fafafa;
}

.item-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.15s ease;
    font-size: 12px;
    line-height: 1.3;
}

.item-checkbox-label:hover {
    background: #f0fceb;
}

.item-checkbox-label.selected {
    background: #5a7a45;
    color: white;
}

.item-checkbox-label input[type="checkbox"] {
    display: none;
}

.item-checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.duration-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.duration-input-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.duration-input-group input {
    width: 100px !important;
    padding: 8px;
    border: 1px solid #d4e8d0;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
}

/* Additional rule for form sections */
.form-section .duration-input-group input {
    width: 100px !important;
}

.duration-input-group span {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    min-width: 35px;
}

/* Consistent Form Section Boxes */
.form-section-box {
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f0fceb 0%, #d4e8d0 100%);
    border: 1px solid #c0dbb7;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    transform: none;
    white-space: normal;
    word-wrap: break-word;
    word-break: normal;
}

/* Borrowing Agreement Box - Yellow */
.borrowing-box {
    background: #fff8e1 !important;
    border: 2px solid #ffd54f !important;
}

/* Contact Preferences Box - White */
.contact-box {
    background: #ffffff !important;
    border: 2px solid #cccccc !important;
}

/* Disclaimer Box - Green */
.disclaimer-box {
    background: #e8f5e9 !important;
    border: 2px solid #81c784 !important;
}

.form-section-box h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d5016;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.form-section-box p {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #444;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    word-break: normal;
    max-width: 100%;
}

.form-section-box ul,
.form-section-box ol {
    margin: 0 0 12px 0;
    padding-left: 20px;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.form-section-box li {
    margin-bottom: 6px;
    font-size: 13px;
    color: #444;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    word-break: normal;
    max-width: 100%;
}

.form-section-box strong {
    font-weight: 600;
    color: #2d5016;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* Consistent Checkbox Styling */
.checkbox-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    font-size: 13px;
    color: #444;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    word-break: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkbox-label span {
    flex: 1;
    white-space: normal;
    word-wrap: break-word;
    word-break: normal;
}

/* Force inline alignment for form checkboxes/radios */
.checkbox-group .checkbox-label,
.radio-group .radio-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 5px !important;
    margin-right: 15px !important;
    margin-bottom: 5px !important;
    gap: 5px !important;
}

.checkbox-group .checkbox-label input[type="checkbox"],
.radio-group .radio-label input[type="radio"] {
    margin: 0 !important;
    order: 1 !important;
}

.checkbox-group .checkbox-label,
.radio-group .radio-label {
    flex-direction: row !important;
}


/* Contact Options Vertical */
.contact-box .contact-options-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.contact-box .contact-options-vertical .checkbox-label {
    margin-top: 0;
    font-size: 13px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
}

.contact-box .contact-options-vertical .checkbox-label input[type="checkbox"] {
    margin-left: auto !important;
    margin-right: 0 !important;
    order: 2 !important;
    flex-shrink: 0 !important;
}

.contact-box .contact-options-vertical .checkbox-label > span:first-child {
    order: 1 !important;
    flex: 1 !important;
    margin-right: 12px !important;
}

/* Disclaimer Confirm */
.disclaimer-confirm {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e8d0;
}

/* Fix checkbox label text wrapping */
#learningForm .checkbox-label span {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: keep-all !important;
    line-height: 1.4 !important;
}

/* Fix all checkbox labels in learning form */
#learningForm .checkbox-label {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: keep-all !important;
}

#learningForm .borrowing-box .checkbox-label,
#learningForm .contact-box .checkbox-label,
#learningForm .disclaimer-box .checkbox-label {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: keep-all !important;
}

#learningForm .borrowing-box .checkbox-label span,
#learningForm .contact-box .checkbox-label span,
#learningForm .disclaimer-box .checkbox-label span {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: keep-all !important;
}

#learningForm .borrowing-box .checkbox-label span strong,
#learningForm .contact-box .checkbox-label span strong,
#learningForm .disclaimer-box .checkbox-label span strong {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: keep-all !important;
    display: inline !important;
}

/* Universal fix for all elements in learning form checkbox labels */
#learningForm .checkbox-label *,
#learningForm .checkbox-label span *,
#learningForm .checkbox-label strong {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: keep-all !important;
    display: inline !important;
}

/* Borrowing/Agreement Box Checkbox Alignment - checkbox on right */
.borrowing-box .checkbox-label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    margin-top: 12px !important;
}

.borrowing-box .checkbox-label input[type="checkbox"] {
    margin-left: auto !important;
    margin-right: 0 !important;
    order: 2 !important;
    flex-shrink: 0 !important;
}

.borrowing-box .checkbox-label > span:first-child {
    order: 1 !important;
    flex: 1 !important;
    margin-right: 12px !important;
}

/* Disclaimer Checkbox Alignment */
.disclaimer-box .disclaimer-confirm .checkbox-label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    margin-top: 10px !important;
}


.disclaimer-box .disclaimer-confirm .checkbox-label input[type="checkbox"] {
    margin-left: auto !important;
    margin-right: 0 !important;
    order: 2 !important;
    flex-shrink: 0 !important;
}

.disclaimer-box .disclaimer-confirm .checkbox-label > span:first-child {
    order: 1 !important;
    flex: 1 !important;
    margin-right: 12px !important;
}

.borrowing-disclaimer {
    background: #fff8e1;
    border: 2px solid #ffd54f;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.borrowing-disclaimer p {
    margin: 8px 0;
    font-size: 13px;
}

.borrowing-disclaimer ul {
    margin: 8px 0 8px 20px;
    font-size: 13px;
}

.borrowing-disclaimer li {
    margin: 4px 0;
}

.borrowing-disclaimer label {
    font-size: 13px;
    font-weight: 500;
}
.contact-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    white-space: normal;
    word-wrap: break-word;
    word-break: keep-all;
}

/* Contact info styling */
.contact-info {
    margin-left: 12px;
    font-size: 1em;
    color: #2d3a1d;
    font-weight: 400;
    display: inline;
}

/* Style for MeetHelp Disclaimer */
.meethelp-disclaimer {
    font-size: 12px;
    color: #444;
    background: #f8fbe9;
    border: 1px solid #d4e8d0;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 18px 0 10px 0;
    line-height: 1.6;
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
}
.meethelp-disclaimer strong {
    font-size: 13px;
    color: #2d5016;
}
.meethelp-disclaimer ol {
    margin: 10px 0 0 18px;
    padding: 0;
}
.meethelp-disclaimer ul {
    margin: 0 0 10px 18px;
    padding: 0;
}
.meethelp-disclaimer li {
    margin-bottom: 4px;
}

/* Style for MeetHelp Disclaimer confirmation */
.meethelp-disclaimer-confirm label {
    font-size: 12px;
    color: #444;
    margin-top: 10px;
    font-weight: 500;
    gap: 8px;
}
.meethelp-disclaimer-confirm input[type="checkbox"] {
    margin-left: 8px;
    transform: scale(1.1);
}


/* Style for mandatory field error messages */
.field-error {
    color: #ff3b3b;
    font-size: 11px;
    margin-top: 3px;
    margin-bottom: 0;
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    display: none;
}

/* Maintenance Request Flow Styles */
.confirmation-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-confirm-task {
    background: linear-gradient(135deg, #4a6a35 0%, #2d5016 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-task:hover {
    background: linear-gradient(135deg, #5a7a45 0%, #3d6026 100%);
    transform: translateY(-1px);
}

.btn-reject-task {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reject-task:hover {
    background: linear-gradient(135deg, #f75c4c 0%, #d0493b 100%);
    transform: translateY(-1px);
}

.status-pending {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 8px;
}

.status-confirmed {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 8px;
    margin-top: 8px;
}

.btn-complete-todo {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-complete-todo:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-1px);
}

/* Rejection Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

/* Ensure blacklist modal is always hidden by default */
#blacklistModal {
    display: none !important;
}

/* Ensure rejection modal is always hidden by default */
#rejectionModal {
    display: none !important;
}

.rejection-modal.active {
    display: flex;
}

.rejection-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.rejection-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #e74c3c;
    color: white;
}

.rejection-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.rejection-modal-header .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.rejection-modal-body {
    padding: 20px;
}

.rejection-modal-body p {
    margin: 0 0 12px 0;
    color: #555;
}

.rejection-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.rejection-select:focus {
    outline: none;
    border-color: #e74c3c;
}

.rejection-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    background: #f8f8f8;
    border-top: 1px solid #eee;
}

.btn-cancel {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: #f0f0f0;
}

.btn-reject-confirm {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #e74c3c;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reject-confirm:hover {
    background: #c0392b;
}

/* Modal Buttons */
.btn-cancel-request {
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-cancel-request:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #333;
    transform: translateY(-1px);
}

.btn-submit-request {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4a6a35 0%, #2d5016 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2);
}

.btn-submit-request:hover {
    background: linear-gradient(135deg, #5a7a45 0%, #3d6026 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 80, 22, 0.3);
}

.btn-submit-request:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2);
}

/* Modal Button Fixes - Strong Selectors */
.request-modal-footer .btn-cancel-request {
    padding: 12px 24px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    background: white !important;
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 120px !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.request-modal-footer .btn-cancel-request:hover {
    background: #f8f9fa !important;
    border-color: #999 !important;
    color: #333 !important;
    transform: translateY(-1px) !important;
}

.request-modal-footer .btn-submit-request {
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #4a6a35 0%, #2d5016 100%) !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 140px !important;
    text-transform: none !important;
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2) !important;
}

.request-modal-footer .btn-submit-request:hover {
    background: linear-gradient(135deg, #5a7a45 0%, #3d6026 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(45, 80, 22, 0.3) !important;
}

.request-modal-footer .btn-submit-request:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(45, 80, 22, 0.2) !important;
}

/* Fallback - Direct button targeting */
button.btn-cancel-request {
    padding: 12px 24px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    background: white !important;
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    min-width: 120px !important;
}

button.btn-submit-request {
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    background: #4a6a35 !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    min-width: 140px !important;
}

/* Fix modal body height issue */
.request-modal-body {
    min-height: 400px !important;
    height: auto !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}



