/* ===== لقيت - الأنماط الرئيسية ===== */

:root {
  --primary: #0a6cbc;
  --primary-dark: #064f8c;
  --primary-light: #e8f2fc;
  --secondary: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light-bg: #f8fafc;
  --border: #e2e8f0;
  --card-shadow: 0 4px 24px rgba(10,108,188,0.08);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --radius: 14px;
  --font: 'Cairo', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font);
  direction: rtl;
  text-align: right;
  background: var(--light-bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar-laqeet {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 2px 20px rgba(10,108,188,0.25);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1050;
}

.navbar-laqeet .navbar-brand {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff !important;
  letter-spacing: -0.5px;
}

.navbar-laqeet .navbar-brand span {
  color: var(--secondary);
}

.navbar-laqeet .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-laqeet .nav-link:hover,
.navbar-laqeet .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.15);
}

.navbar-laqeet .btn-post {
  background: var(--secondary);
  color: var(--dark) !important;
  font-weight: 700;
  border-radius: 25px;
  padding: 0.4rem 1.3rem !important;
  transition: var(--transition);
  border: none;
}

.navbar-laqeet .btn-post:hover {
  background: #e08e0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}

.navbar-toggler { border-color: rgba(255,255,255,0.4); }
.navbar-toggler-icon { filter: invert(1); }
 /* ===== Hero ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1565c0 50%, var(--primary) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  height:100vh;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section .hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.hero-section .hero-title span {
  color: var(--secondary);
  text-shadow: 0 0 30px rgba(245,158,11,0.4);
}

.hero-section .hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 520px;
}

.hero-search-box {
  background: #fff;
  border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 1.2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  max-width: 600px;
}

.hero-search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-family: var(--font);
  font-size: 1rem;
  background: transparent;
  color: var(--dark);
  direction: rtl;
}

.hero-search-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 0.6rem 1.8rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.hero-search-box button:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-stat {
  text-align: center;
  color: #fff;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  color: var(--secondary);
}

.hero-stat .lbl {
  font-size: 0.85rem;
  opacity: 0.85;
}

.hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-float-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--card-shadow);
  position: absolute;
  min-width: 200px;
  animation: floatY 3s ease-in-out infinite;
}

.hero-float-card.top { top: 5%; right: 5%; animation-delay: 0s; }
.hero-float-card.bottom { bottom: 5%; left: 5%; animation-delay: 1.5s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-main-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== Quick Filters ===== */
.quick-filters {
  background: #fff;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.filter-btn {
  background: var(--primary-light);
  color: var(--primary);
  border: 2px solid transparent;
  border-radius: 25px;
  padding: 0.4rem 1.1rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ===== Section Headers ===== */
.section-header { margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.section-header p { color: var(--gray); font-size: 1rem; margin: 0; }
.section-divider {
  width: 50px;
  height: 4px;
  background: linear-gradient(to left, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 0.5rem 0;
}

/* ===== Item Card ===== */
.item-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(10,108,188,0.15);
  border-color: var(--primary);
}

.item-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: var(--transition);
}

.item-card-placeholder {
    height: 220px;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9ca3af;
    border-bottom: 1px solid #eee;
}

    .item-card-placeholder i {
        font-size: 60px;
        margin-bottom: 12px;
        color: #cbd5e1;
    }

    .item-card-placeholder span {
        font-size: 15px;
        font-weight: 600;
    }

.item-card:hover .item-card-img {
  transform: scale(1.03);
}

.item-card-img-wrap { overflow: hidden; position: relative; }

.item-card-body { padding: 1.1rem; }
.item-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark);
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-card-desc {
  font-size: 0.87rem;
  color: var(--gray);
  margin-bottom: 0.7rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--gray);
  flex-wrap: wrap;
}
.item-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
 /* ===== How It Works ===== */
.how-section { background: var(--primary-light); padding: 4rem 0; }

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #1976d2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(10,108,188,0.3);
}

.step-card h5 { font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.step-card p { color: var(--gray); font-size: 0.9rem; margin: 0; }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 { color: #fff; font-weight: 900; font-size: 2rem; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* ===== Browse Page ===== */
.browse-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3rem 0 2rem;
  color: #fff;
}
.browse-header h1 { font-weight: 900; font-size: 2rem; margin: 0; }

.filter-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 80px;
}

.filter-sidebar h6 {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.form-control, .form-select {
  font-family: var(--font);
  border-radius: 10px;
  border-color: var(--border);
  font-size: 0.9rem;
  direction: rtl;
  text-align: right;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(10,108,188,0.15);
}

.form-label { font-weight: 600; font-size: 0.88rem; color: var(--gray); }
.form-check-label { font-size: 0.9rem; }

/* ===== Badges ===== */
.badge { font-family: var(--font); font-size: 0.8rem; font-weight: 600; padding: 0.4em 0.8em; border-radius: 20px; }

/* ===== Pagination ===== */
.pagination .page-link {
  font-family: var(--font);
  color: var(--primary);
  border-radius: 8px !important;
  margin: 0 2px;
  transition: var(--transition);
}
.pagination .page-link:hover { background: var(--primary-light); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* ===== Details Page ===== */
.details-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 2rem 0;
}

.details-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.detail-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
}

.detail-card h5 { font-weight: 800; color: var(--dark); margin-bottom: 1rem; }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--gray); font-weight: 600; }
.info-row .value { color: var(--dark); font-weight: 700; }

.safety-tip {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.88rem;
  color: #92400e;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

/* ===== Post Form ===== */
.post-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3rem 0 2rem;
  color: #fff;
}

.post-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--light-bg);
}

input[type="radio"] {
    appearance: none;

}
    .type-option {
        display: block;
        cursor: pointer;
        transition: var(--transition);
    }

        .type-option:hover {
            border-color: var(--primary);
            background: var(--primary-light);
        }

   #lost:checked + .type-option {
    border-color: #dc3545 !important;
    background: #fff5f5;
}


#found:checked + .type-option {
    border-color: #2e40ff !important;
    background: #e7f1ff;
}

.upload-area:hover { border-color: var(--primary); background: var(--primary-light); }
.upload-area i { font-size: 2.5rem; color: var(--gray); margin-bottom: 0.7rem; }
.upload-area p { color: var(--gray); margin: 0; font-size: 0.9rem; }

/* ===== Auth Pages ===== */
.auth-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 3rem 0;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

.auth-card h3 { font-weight: 900; color: var(--dark); margin-bottom: 0.3rem; }
.auth-card p { color: var(--gray); font-size: 0.9rem; }

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
}
.social-btn:hover { background: var(--light-bg); border-color: var(--gray); }

.divider-text {
  position: relative;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
  margin: 1.2rem 0;
}
.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--border);
}
.divider-text span {
  position: relative;
  background: #fff;
  padding: 0 0.8rem;
}
/* ===== Profile Page ===== */
.profile-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3rem 0 2rem;
  color: #fff;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.stat-bubble {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}
.stat-bubble .num { font-size: 1.8rem; font-weight: 900; display: block; }
.stat-bubble .lbl { font-size: 0.8rem; opacity: 0.85; }

/* ===== Claims Page ===== */
.claim-row {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: var(--transition);
  flex-wrap: wrap;
}
.claim-row:hover { box-shadow: var(--card-shadow); }
.claim-img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ===========================
   CHAT UI
=========================== */

.msg-container {
    height: calc(100vh - 170px);
    display: flex;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}

/* ===========================
   SIDEBAR
=========================== */

.msg-sidebar {
    width: 320px;
    background: #fff;
    border-left: 1px solid #edf2f7;
    overflow-y: auto;
}

.msg-sidebar-header {
    padding: 18px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.conv-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px;
    padding: 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: .25s;
}

    .conv-item:hover {
        background: #f4f8fc;
    }

    .conv-item.active {
        background: #e9f3ff;
        border-right: 4px solid var(--primary);
    }

.conv-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eef6ff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.conv-name {
    font-weight: 700;
    color: #111827;
    font-size: 15px;
}

.conv-preview {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.conv-time {
    margin-right: auto;
    color: #9ca3af;
    font-size: 12px;
}

/* ===========================
   MAIN
=========================== */

.msg-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fcfcfd;
}

/* ===========================
   HEADER
=========================== */

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    min-height: 82px;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg,#0a6cbc,#1976d2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(10,108,188,.25);
}

.chat-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chat-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.chat-item {
    color: #6b7280;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 10px;
    background: #eef5ff;
    color: #2563eb;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}
.chat-item a{
    text-decoration-line:none;
}

    .chat-item:hover {
        background: #dbeafe;
        color: #1d4ed8;
        transform: translateY(-1px);
    }
.chat-actions {
    display: flex;
    align-items: center;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eafaf1;
    color: #16a34a;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

/* ===========================
   BODY
=========================== */

.msg-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

/* ===========================
   DATE
=========================== */

.date-divider {
    align-self: center;
    background: #eef2f7;
    color: #6b7280;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    margin: 8px 0 16px;
}

/* ===========================
   MESSAGE
=========================== */

.bubble {
    max-width: 65%;
    padding: 12px 18px;
    border-radius: 22px;
    word-break: break-word;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    animation: fadeIn .2s;
}

    .bubble.me {
        background: linear-gradient(135deg,#0a6cbc,#1976d2);
        color: white;
        align-self: flex-start;
        border-bottom-left-radius: 6px;
    }

    .bubble.other {
        background: white;
        color: #1f2937;
        border: 1px solid #e5e7eb;
        align-self: flex-end;
        border-bottom-right-radius: 6px;
    }

.bubble-time {
    margin-top: 6px;
    font-size: 11px;
    opacity: .75;
}

/* ===========================
   FOOTER
=========================== */

.msg-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: white;
    border-top: 1px solid #edf2f7;
}

.msg-input {
    flex: 1;
    height: 52px;
    border-radius: 30px;
    border: 1px solid #d1d5db;
    background: #fafafa;
    padding: 0 20px;
    outline: none;
    font-family: var(--font);
    transition: .25s;
}

    .msg-input:focus {
        border-color: var(--primary);
        background: white;
        box-shadow: 0 0 0 3px rgba(10,108,188,.1);
    }

.send-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(10,108,188,.3);
}

#btnReturned {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 24px;
    border-radius: 30px;
    font-weight: 600;
    white-space: nowrap;
    flex-direction: row;
}

    #btnReturned i {
        font-size: 16px;
        line-height: 1;
        flex-shrink: 0;
    }

    #btnReturned span {
        line-height: 1;
    }

/* ===========================
   ANIMATION
=========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Admin Dashboard ===== */
.admin-header {
  background: linear-gradient(135deg, var(--dark), #16213e);
  padding: 2rem 0;
  color: #fff;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.stat-icon {
  width: 55px; height: 55px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; flex-shrink: 0;
}
.stat-card .num { font-size: 1.8rem; font-weight: 900; color: var(--dark); margin: 0; }
.stat-card .lbl { color: var(--gray); font-size: 0.85rem; margin: 0; }

.table { font-family: var(--font); font-size: 0.9rem; }
.table th { background: var(--light-bg); font-weight: 700; color: var(--dark); border-color: var(--border); }
.table td { border-color: var(--border); vertical-align: middle; }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}

.footer h5, .footer .footer-brand { color: #fff; font-weight: 800; margin-bottom: 1rem; }
.footer-brand { font-size: 1.5rem; }
.footer-brand span { color: var(--secondary); }
.footer p { font-size: 0.88rem; line-height: 1.7; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; transition: var(--transition); display: block; margin-bottom: 0.4rem; }
.footer a:hover { color: var(--secondary); padding-right: 4px; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1rem; }
.footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.social-icons a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7) !important;
  font-size: 1rem;
  margin-left: 0.5rem;
  transition: var(--transition);
}
.social-icons a:hover { background: var(--primary); color: #fff !important; transform: translateY(-2px); padding-right: 0; }

/* ===== Buttons ===== */
.btn { font-family: var(--font); font-weight: 700; border-radius: 10px; transition: var(--transition); }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-warning { background: var(--secondary); border-color: var(--secondary); color: var(--dark); }
.btn-warning:hover { background: #e08e0a; transform: translateY(-1px); }
.btn-lg { padding: 0.7rem 2rem; font-size: 1rem; }

/* ===== Nav Tabs ===== */
.nav-tabs .nav-link { font-family: var(--font); font-weight: 600; color: var(--gray); border-radius: 10px 10px 0 0; }
.nav-tabs .nav-link.active { color: var(--primary); font-weight: 700; border-bottom-color: #fff; }

/* ===== Animations ===== */
.fade-in { animation: fadeIn 0.6s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.card-enter { animation: cardEnter 0.5s ease forwards; }
@keyframes cardEnter { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--gray); }
.empty-state i { font-size: 4rem; opacity: 0.3; margin-bottom: 1rem; }
.empty-state h5 { font-weight: 700; color: var(--dark); }

/* ===== Toast ===== */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 0 2.5rem; }
  .hero-section .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1rem; }
  .hero-img-wrap { display: none; }
    .msg-container {
        flex-direction: column;
        height: auto;
    }

    .msg-sidebar {
        display: block;
        width: 100%;
        max-height: 220px;
        border-left: none;
        border-bottom: 1px solid #edf2f7;
    }

    .msg-main {
        min-height: 70vh;
    } 
    .msg-sidebar.show { display: block; width: 100%; position: absolute; z-index: 10; height: 100%; }
  .filter-sidebar { position: static; margin-bottom: 1.5rem; }
}

/* ===== Modal ===== */
.modal-content { border-radius: 20px; border: none; }
.modal-header { border-radius: 20px 20px 0 0; }
.modal-title { font-weight: 800; }

/* ===== Image Preview ===== */
#imagePreview { max-height: 200px; border-radius: 10px; object-fit: cover; }

/* ===== Verification Questions ===== */
.verification-section {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: .3s;
}

    .info-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
    }

    .info-card i {
        font-size: 22px;
        color: #0d6efd;
        margin-bottom: 10px;
    }

    .info-card small {
        display: block;
        color: #6c757d;
    }

    .info-card h6 {
        margin-top: 6px;
        font-weight: 700;
    }
.answer-card {
    border-radius: 18px;
    transition: .25s;
}

    .answer-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
    }

.question-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    margin-left: 10px;
    font-size: 15px;
}

.answer-box {
    border-radius: 15px;
    padding: 20px;
}

    .answer-box.success {
        background: #eefaf2;
        border: 1px solid #cfead7;
    }

    .answer-box.primary {
        background: #eef5ff;
        border: 1px solid #cfe1ff;
    }

    .answer-box h5 {
        font-weight: 600;
    }