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

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --danger-color: #f44336;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --border-color: #ddd;
}

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

body {
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: ltr;
}

body.rtl {
    direction: rtl;
}

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

.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.2px;
}

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 3;
    /* margin-left: auto; */
}

.nav-add-dropdown {
    position: relative;
}

.nav-add-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #dfe7f3;
    background: #fff;
    font-weight: 600;
    color: #2f3c4f;
    cursor: pointer;
    font-size: 14px;
}

.nav-add-menu {
    position: absolute;
    top: 44px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
    padding: 10px;
    display: none;
    min-width: 220px;
    z-index: 200;
}

.nav-add-menu.open {
    display: grid;
    gap: 6px;
}

.nav-add-menu a {
    text-decoration: none;
    color: #2f3c4f;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f7f9fc;
}

.nav-add-menu a:hover {
    background: rgba(76, 175, 80, 0.12);
}

body.rtl .nav-add-menu {
    right: auto;
    left: 0;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #e3e9f2;
}

.nav-menu {
    display: flex;
    flex: 1 1 auto;
    gap: 16px;
    align-items: center;
    order: 2;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px;
    border-radius: 999px;
    background: #f3f6fb;
    border: 1px solid #e3e9f2;
}

.nav-section-title {
    display: none;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b97a8;
    font-weight: 600;
}

.nav-section a {
    text-decoration: none;
    color: #2f3c4f;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-section a:hover {
    background: rgba(76, 175, 80, 0.12);
    color: #1b3a2b;
}

.nav-user {
    font-weight: 600;
    color: #3b4a5a;
}

.nav-section--account {
    background: transparent;
    border: none;
    padding: 0;
    gap: 10px;
}

.nav-section--account a,
.nav-section--account button {
    font-size: 14px;
}

.nav-account {
    position: relative;
}

.nav-account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #dfe7f3;
    background: #fff;
    font-weight: 600;
    color: #2f3c4f;
    cursor: pointer;
    font-size: 14px;
}

.nav-account-menu {
    position: absolute;
    top: 44px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
    padding: 10px;
    display: none;
    min-width: 200px;
    z-index: 200;
}

.nav-account-menu.open {
    display: grid;
    gap: 6px;
}

.nav-account-menu a,
.nav-account-menu button {
    text-decoration: none;
    color: #2f3c4f;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f7f9fc;
    border: none;
    cursor: pointer;
}

.nav-account-menu a:hover,
.nav-account-menu button:hover {
    background: rgba(76, 175, 80, 0.12);
}

body.rtl .nav-account-menu {
    right: auto;
    left: 0;
}

.nav-notifications {
    position: relative;
}

.nav-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    color: var(--text-color);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #e3e9f2;
    background: #fff;
}

.badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
}

body.rtl .badge {
    right: auto;
    left: -6px;
}

.nav-notifications-panel {
    position: absolute;
    top: 42px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
    padding: 12px;
    display: none;
    z-index: 200;
}

body.rtl .nav-notifications-panel {
    right: auto;
    left: 0;
}

.nav-notifications-panel.open {
    display: block;
}

.nav-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2f3c4f;
}

.nav-panel-action {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.nav-panel-list {
    display: grid;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
}

.nav-panel-item {
    padding: 8px;
    border-radius: 10px;
    background: #f7f9fc;
    display: grid;
    gap: 4px;
    font-size: 12px;
    color: #566578;
    text-decoration: none;
}

.nav-panel-item.unread {
    border: 1px solid rgba(76, 175, 80, 0.35);
    background: rgba(76, 175, 80, 0.08);
}

.nav-panel-title {
    font-weight: 600;
    color: #2f3c4f;
}

.nav-panel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f87171;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.nav-panel-meta {
    font-size: 11px;
    color: #7a8896;
}

.nav-panel-empty {
    text-align: center;
    color: #999;
    font-size: 12px;
    padding: 10px 0;
}

.nav-panel-footer {
    display: block;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    text-decoration: none;
    color: var(--primary-color);
}

.community-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.community-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.community-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.community-item h3 {
    margin: 0 0 4px;
}

.community-item p {
    margin: 0 0 4px;
    color: #556270;
    font-size: 14px;
}

.community-item a {
    color: var(--primary-color);
    font-size: 13px;
    word-break: break-all;
}

.community-item-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.community-item.pending {
    border-color: rgba(245, 158, 11, 0.5);
}

.community-empty {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #6b7280;
}

.community-empty-note {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
}

.community-instructions {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    border-left: 3px solid #a0aec0;
    padding-left: 10px;
}

.community-instructions strong {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.record-delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    border: none;
    background: transparent;
    color: #e53e3e;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.record-delete-btn:hover,
.record-delete-btn:focus {
    background: rgba(229, 62, 62, 0.08);
}

.record-delete-btn i {
    font-size: 14px;
}

.calendar-grid {
    display: grid;
    gap: 16px;
}

.calendar-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}

.calendar-carousel::-webkit-scrollbar {
    height: 6px;
}

.calendar-carousel::-webkit-scrollbar-thumb {
    background: rgba(47, 60, 79, 0.2);
    border-radius: 999px;
}

.calendar-carousel .calendar-month {
    min-width: min(340px, 85vw);
    scroll-snap-align: start;
}

.calendar-month {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2f3c4f;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    font-size: 12px;
    color: #7a8896;
    text-align: center;
}

.calendar-cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 8px;
}

.calendar-cell {
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fc;
    font-size: 12px;
    color: #2f3c4f;
    position: relative;
}

.calendar-cell.selectable {
    cursor: pointer;
}

.calendar-cell.selectable:hover {
    background: rgba(67, 160, 71, 0.18);
}

.date-picker-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.date-picker-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    width: min(360px, 90vw);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.date-picker-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #2f3c4f;
}

.calendar-cell.has-event {
    background: rgba(76, 175, 80, 0.12);
    color: #1b3a2b;
    font-weight: 600;
}

.calendar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4caf50;
    position: absolute;
    bottom: 6px;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        flex: 1 1 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
        border-top: 1px solid #eee;
        order: 4;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        border-radius: 16px;
        padding: 12px;
    }

    .nav-section-title {
        display: block;
    }

  

    .nav-section--account {
        width: 100%;
        align-items: stretch;
    }

    .nav-add-toggle {
        width: 100%;
        justify-content: center;
    }

    .nav-add-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 6px 0 0;
    }
}

.btn-primary, .btn-secondary, .btn-large {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary {
        width: fit-content;
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #45a049;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2f3c4f;
    font-weight: 600;
    margin-bottom: 16px;
}

.back-link i {
    font-size: 14px;
}

body.rtl .back-link i {
    transform: rotate(180deg);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0 20px;
}

.search-input {
    flex: 1 1 240px;
    padding: 10px 14px;
    border: 1px solid #d7e3f0;
    border-radius: 10px;
    font-size: 14px;
}

.search-history {
    font-size: 12px;
    color: #6b7280;
}

.form-status {
    margin-top: 8px;
    font-size: 13px;
    color: #dc3545;
}

.form-status.success {
    color: #16a34a;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.link-button {
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.secondary-link {
    color: #4f46e5;
}

.tertiary-link {
    color: #0f172a;
    transition: opacity 0.2s ease;
}

.link-button#resend-otp-btn {
    border-radius: 12px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 25px rgba(15, 23, 42, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-button#resend-otp-btn:hover:not([disabled]) {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.4);
}

.link-button[disabled],
.link-button.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.soon-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    z-index: 9999;
}

.soon-modal.open {
    display: flex;
}

.soon-modal__content {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    width: min(320px, 90%);
    text-align: center;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.soon-modal__message {
    font-size: 18px;
    margin-bottom: 16px;
    color: #111827;
}

.soon-modal__close {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    color: #0f172a;
    transition: background 0.2s ease;
}

.soon-modal__close:hover {
    background: #f3f4f6;
}


.dashboard-section {
    padding: 40px 20px 20px;
}

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

.stat-card {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.stat-info h3 {
    font-size: 28px;
    margin: 0;
    color: #2f3c4f;
}

.stat-info p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.map-section {
    padding:20px;
}

.section-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.toggle-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.toggle-btn:hover, .toggle-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.filter-chips {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.filter-chips::-webkit-scrollbar {
    height: 6px;
}

.filter-chips::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 999px;
}

.filter-chips .chip {
    border: 1px solid rgba(102, 126, 234, 0.35);
    background: var(--white);
    color: #3e4aa8;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: fit-content;
}

.filter-chips .chip.active {
    background: rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.7);
}

.filter-chips .chip[data-type="offers"].active {
    background: rgba(67, 160, 71, 0.15);
    border-color: rgba(67, 160, 71, 0.7);
    color: #2e7d32;
}

.filter-chips .chip[data-type="requests"].active {
    background: rgba(25, 118, 210, 0.15);
    border-color: rgba(25, 118, 210, 0.7);
    color: #1565c0;
}

.filter-chips .chip[data-type="reports"].active {
    background: rgba(239, 108, 0, 0.18);
    border-color: rgba(239, 108, 0, 0.7);
    color: #ef6c00;
}

.map-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
}

body.rtl .map-container {
    grid-template-columns: 1fr 1.6fr;
}

.map-canvas {
    position: relative;
    height: 420px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f5e9, #e3f2fd);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

.map-grid.hidden {
    display: none;
}

.map-pin {
    position: absolute;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -100%);
    cursor: pointer;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 18px rgba(76, 175, 80, 0.25);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin--offer {
    border-color: #4CAF50;
}

.map-pin--request {
    border-color: #2d9cdb;
}

.map-pin--report {
    border-color: #eb5757;
}

.map-pin--offer::after {
    background: #4CAF50;
}

.map-pin--request::after {
    background: #2d9cdb;
}

.map-pin--report::after {
    background: #eb5757;
}

.map-pin--request span,
.map-pin--report span {
    color: inherit;
}

.map-details-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}
.map-pin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.map-pin span {
    font-size: 18px;
    color: var(--primary-color);
}

.map-pin::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
}

.map-details {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    min-height: 420px;
}

body.rtl .map-details {
    order: -1;
}

.map-details.rtl {
    text-align: right;
}

.map-details.ltr {
    text-align: left;
}

.map-details.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.map-details-empty {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #999;
}

.map-details-empty i {
    font-size: 40px;
    margin-bottom: 10px;
}

.map-details-card {
    display: grid;
    gap: 12px;
}

.map-details-card img {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
}

.map-details-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 194, 102, 0.2), rgba(255, 235, 204, 0.6));
    color: rgba(0, 0, 0, 0.35);
    font-size: 46px;
}

.map-details-title {
    font-size: 20px;
    color: #333;
}

.map-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #666;
    font-size: 13px;
}

.map-details-desc {
    color: #666;
    font-size: 14px;
}

.map-details-actions {
    display: flex;
    gap: 10px;
}

.map-details-actions button {
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    background: var(--primary-color);
    color: var(--white);
    font-size: 14px;
}

.map-details-actions .btn-secondary {
    background: #f1f1f1;
    color: #333;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.empty-state {
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: 12px;
    padding: 100px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.empty-state i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: #333;
}

.empty-state p {
    color: #666;
    font-size: 14px;
}

.item-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(26, 26, 26, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(26, 26, 26, 0.12);
}

.item-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255, 194, 102, 0.2), rgba(255, 235, 204, 0.6));
}

.item-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.35);
    font-size: 42px;
}

.item-content {
    padding: 18px 20px 20px;
}

.item-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.12);
    color: #3e4aa8;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.item-type-badge i {
    font-size: 12px;
}

.item-type-badge--offers {
    background: rgba(67, 160, 71, 0.15);
    color: #2e7d32;
}

.item-type-badge--requests {
    background: rgba(25, 118, 210, 0.15);
    color: #1565c0;
}

.item-type-badge--reports {
    background: rgba(239, 108, 0, 0.18);
    color: #ef6c00;
}

.item-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 18px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-content p {
    margin-bottom: 8px;
    font-size: 14px;
}

.gender-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.gender-badge--male {
    background: rgba(33, 150, 243, 0.15);
    color: #1565c0;
}

.gender-badge--female {
    background: rgba(244, 143, 177, 0.2);
    color: #ad1457;
}

.item-desc {
    margin-top: 8px;
    color: #555;
    line-height: 1.6;
}

.item-actions {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.item-actions button {
    border: none;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.item-extra-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.item-extra-actions .btn-secondary,
.item-extra-actions button {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.06);
    color: #555;
    width: fit-content;
}

.status-badge--compact {
    margin-top: 0;
}

.status-badge--offers {
    background: rgba(67, 160, 71, 0.15);
    color: #2e7d32;
}

.status-badge--requests {
    background: rgba(25, 118, 210, 0.15);
    color: #1565c0;
}

.status-badge--reports {
    background: rgba(239, 108, 0, 0.18);
    color: #ef6c00;
}

.item-actions span {
    font-size: 12px;
    color: #999;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: #666;
    gap: 12px;
}

.item-contact {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
}

.contact-btn--call {
    background: rgba(25, 118, 210, 0.12);
    color: #1565c0;
    border-color: rgba(25, 118, 210, 0.3);
}

.contact-btn--wa {
    background: rgba(67, 160, 71, 0.12);
    color: #2e7d32;
    border-color: rgba(67, 160, 71, 0.3);
}

.image-preview {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.image-preview img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    background: #eee;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination button {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
}

.pagination button.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.my-requests-section {
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.my-requests-tabs {
    margin-bottom: 20px;
}

.my-request-card .item-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.status-switch input {
    display: none;
}

.status-slider {
    width: 44px;
    height: 24px;
    background: #ddd;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.status-slider::after {
    content: '';
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
}

.status-switch input:checked + .status-slider {
    background: rgba(67, 160, 71, 0.6);
}

.status-switch input:checked + .status-slider::after {
    transform: translateX(20px);
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.footer {
    background: #2c3e50;
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-actions {
    background: radial-gradient(circle at top, rgba(76, 175, 80, 0.15), rgba(17, 24, 39, 0.95));
    color: #f8fafc;
    padding: 60px 20px 40px;
}

.footer-actions .footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-actions-header {
    text-align: center;
    margin-bottom: 30px;
}

.footer-actions-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.footer-actions-header p {
    margin: 0;
    color: rgba(248, 250, 252, 0.8);
}

.footer-actions .actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.footer-actions .action-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

body.rtl .footer-actions .action-card {
    text-align: right;
}

.footer-actions .action-card i {
    font-size: 28px;
    margin-bottom: 12px;
    color: #a7f3d0;
}

.footer-actions .action-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.footer-actions .action-card p {
    margin: 0;
    color: rgba(248, 250, 252, 0.75);
    font-size: 14px;
}

.footer-actions .action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

.footer-copy {
    text-align: center;
    color: rgba(248, 250, 252, 0.6);
    font-size: 13px;
}

.highlight-section {
    padding: 60px 0 40px;
    background: #f6f8fb;
}

.highlight-section .section-header {
    margin-bottom: 40px;
}

.highlight-section .section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1f2933;
}

.highlight-section .section-header p {
    max-width: 760px;
    color: #4a5663;
    line-height: 1.6;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px;
}

.highlight-card {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(19, 27, 40, 0.15);
}

.highlight-card-icon {
    font-size: 30px;
    color: #47b2d2;
    width: 48px;
    height: 48px;
    background: rgba(71, 178, 210, 0.12);
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    animation: float 3.5s ease-in-out infinite;
}
.highlight-card h3 {
    font-size: 20px;
    color: #1f2933;
    margin: 0;
}

.highlight-card p {
    margin: 0;
    color: #485262;
    line-height: 1.6;
}


@media (max-width: 1040px) {
    .highlight-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

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

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}

.site-footer {
    margin-top: 40px;
    padding: 40px 20px;
    background: #0f172a;
    color: #e2e8f0;
}

.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
    text-align: left;
}

body.rtl .site-footer .footer-content {
    text-align: right;
}

.site-footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
}

.site-footer .footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.site-footer .footer-links a:hover {
    color: #a7f3d0;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.7);
}

.form-container {
    max-width: 500px;
    margin: 80px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.dropzone {
    border: 2px dashed #cfd8dc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.dropzone.dragover {
    border-color: #4CAF50;
    background: #f3fff3;
}

.dropzone input[type="file"] {
    opacity: 0;
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.dropzone-content i {
    font-size: 28px;
    color: #4CAF50;
    margin-bottom: 8px;
}

.file-name {
    display: block;
    margin-top: 6px;
    color: #555;
    font-size: 13px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: #45a049;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 700px;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.modal .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.modal .close:hover {
    color: #000;
}

.modal.rtl .modal-content {
    direction: rtl;
    text-align: right;
}

.modal.rtl .close {
    right: auto;
    left: 20px;
}

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

    .map-details {
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
    }

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

    .nav-links {
        flex-wrap: wrap;
    }
}

.events-section {
    padding: 60px 20px;
    background: #f8fafc;
}

.events-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.events-section .event-search-row {
    display: flex;
    gap: 10px;
}

.events-section .events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.event-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    display: grid;
    gap: 12px;
    position: relative;
}

.event-card h3 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
}

.event-card .event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #475569;
}

.event-card .event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card .event-status {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    padding: 6px 10px;
}

.event-card .event-status-description {
    margin-top: 8px;
    color: #475569;
    font-size: 13px;
}

.event-card .event-targets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.event-target {
    font-size: 12px;
    background: #e0f2fe;
    color: #0c4a6e;
    padding: 4px 10px;
    border-radius: 999px;
}

.event-card .event-description {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.event-card .event-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.events-section .empty-state {
    margin-top: 20px;
}

.pet-card.pet-card--history {
    opacity: 0.7;
    border: 1px solid #d1d5db;
    background: #f8fafc;
}

.pet-card.pet-card--history .pet-actions button {
    pointer-events: none;
    opacity: 0.3;
}

.pet-card.pet-card--history .pet-card-header h3 {
    color: #6b7280;
}

.map-pin--event {
    background: linear-gradient(135deg, rgb(246, 226, 247), #efbbf1);
}

.status-badge--event {
    background: #f187f5;
    color: #fff;
    border-color: #f187f5;
}

.question-card-image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    background: #f2f2f2;
    margin-bottom: 12px;
}

.question-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 32px;
}

.poll-image-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #3b82f6;
    margin-bottom: 12px;
}

.public-profile-section {
    padding: 60px 20px 80px;
}

.public-profile-card {
    background: var(--white);
    border-radius: 26px;
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 30px 45px rgba(26, 26, 26, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.public-profile-header {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 10px;
}

.public-profile-header h1 {
    margin: 0;
    font-size: 32px;
    color: var(--primary-color);
}

.public-profile-description {
    margin-bottom: 14px;
    color: #555;
    font-size: 15px;
}

.public-profile-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    margin-bottom: 22px;
}

.public-profile-stats > div {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.public-profile-stats h3 {
    margin: 0;
    font-size: 28px;
}

.public-profile-stats p {
    margin: 4px 0 0;
    color: #666;
}

.public-profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.public-profile-actions a,
.public-profile-actions button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.public-profile-actions a:hover,
.public-profile-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.public-profile-actions .btn-primary {
    border: none;
    background: var(--primary-color);
    color: var(--white);
}

.public-profile-back {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
}

.messages-section {
    padding: 60px 20px 80px;
}

.messages-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.messages-sidebar {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 18px;
    box-shadow: 0 20px 35px rgba(26, 26, 26, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 620px;
}

.messages-sidebar__top {
    display: flex;
}

.messages-sidebar input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
}

.messages-thread-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.messages-thread-item {
    border: none;
    background: #f9fafb;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.messages-thread-item__info {
    flex: 1;
    min-width: 0;
}

.thread-title-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.thread-icon {
    color: #4CAF50;
    font-size: 14px;
}

.messages-thread-item.active {
    background: rgba(94, 234, 212, 0.1);
}

.messages-thread-item.unread .thread-title {
    font-weight: 700;
}

.messages-thread-item__info {
    flex: 1;
    min-width: 0;
}

.thread-title {
    margin: 0;
    font-size: 15px;
    color: #1f2937;
}

.thread-snippet {
    margin: 4px 0 0;
    font-size: 13px;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messages-thread-item__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 11px;
    color: #6b7280;
}

.thread-unread-count {
    background: var(--primary-color);
    color: #fff;
    padding: 2px 6px;
    border-radius: 999px;
}

.messages-conversation {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 45px rgba(26, 26, 26, 0.18);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 560px;
}

.messages-conversation__header h3 {
    margin: 0;
    font-size: 24px;
    color: #111;
}

.messages-conversation__header p {
    margin: 2px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.messages-view-profile-btn {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid #99c29b;
    padding: 8px 14px;
    color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
    background: rgb(98 246 104 / 15%);
    transition: transform 0.2s, box-shadow 0.2s;
}

.messages-view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(59, 130, 246, 0.2);
}

.messages-thread-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 6px;
}

.messages-conversation-placeholder {
    text-align: center;
    font-size: 15px;
    color: #9ca3af;
}

.message-bubble {
    max-width: 80%;
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

.message-bubble.sent {
    align-self: flex-end;
    background: var(--primary-color);
    color: #fff;
}

.message-bubble.received {
    align-self: flex-start;
    background: #f0f4f8;
    color: #111;
}

.message-bubble span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: inherit;
    opacity: 0.75;
}

.messages-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.messages-form textarea {
    flex: 1;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 12px;
    font-size: 14px;
    resize: none;
    min-height: 100px;
}

.messages-login {
    display: none;
    margin-top: 24px;
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 35px rgba(26, 26, 26, 0.12);
    text-align: center;
}

.messages-login h3 {
    margin-bottom: 10px;
}

.messages-login p {
    margin-bottom: 12px;
    color: #6b7280;
}

.messages-login a {
    justify-content: center;
    padding: 10px 22px;
}

@media (max-width: 1024px) {
    .messages-grid {
        grid-template-columns: 1fr;
    }
    .messages-sidebar {
        order: 2;
        max-height: none;
    }
    .messages-conversation {
        order: 1;
    }
}
.home-section {
    padding: 60px 0;
    background: #fff;
}

.home-section:nth-of-type(even) {
    background: #f8fafc;
}

.home-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.home-section .section-header h2 {
    margin: 0;
    font-size: 26px;
}

.highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.section-actions {
    /* display: flex; */
    gap: 8px;
    align-items: center;
}

.home-section .btn-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.home-card {
    border-radius: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
}

.home-card h3 {
    margin: 0;
    font-size: 20px;
}

.home-card p {
    margin: 0;
    color: #4a5568;
    font-size: 14px;
}

.home-card .home-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #7a8896;
}
