:root {
  --primary: #1d2d31;
  --accent: #1d2d31;
  --gray: #f4f6f8;
  --muted: #7a7a7a;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--gray);
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.tseva-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.tseva-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  padding: 4px;
  flex-shrink: 0;
}

/* TITLE CENTER */
.tseva-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tseva-title h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.tseva-sub {
  font-size: 12px;
  opacity: 0.95;
  margin-top: 2px;
}
.ngo-name {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 11px;
  border-radius: 6px;
  font-weight: 600;
}
@media (max-width: 480px) {
  .tseva-title {
    position: static;
    transform: none;
    flex: 1;
    margin: 0 10px;
  }
}

/* CONTENT */
.tseva-content {
  padding: 14px;
  margin-top: 90px;
}

/* ========== TABS ========== */
.tseva-tabs,
.view-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tseva-tab,
.view-tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  background: #e9eefc;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.tseva-tab.active,
.view-tab-btn.active {
  background: var(--primary);
  color: #fff;
}

/* TAB CONTENT */
.tseva-tab-content,
.view-tab-content {
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tseva-tab-content label,
.view-tab-content label {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  color: #2c2c2c;
}
/* 🔥 Make all text typed in inputs UPPERCASE */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea,
select {
    text-transform: uppercase;
}

.tseva-tab-content input,
.tseva-tab-content select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #f7f9ff;
  border-left: 4px solid #1d2d31;
}
.tseva-tab-content span,
.view-tab-content span {
  display: block;
  padding: 10px 12px;
  background: #f7f9ff;
  border-left: 4px solid #1d2d31;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 15px;
  color: #000;
}
/* ========== SAVE BUTTON CENTERED ========== */
.tseva-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
    margin: 24px auto 0 auto; /* Center horizontally */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: block; /* ensure block for centering */
}

.tseva-save-btn i {
    font-size: 18px;
}

.tseva-save-btn:hover {
    background: #0046b3; /* Darker shade on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.tseva-save-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========== MISSION ========== */
.tseva-mission {
  background: transparent !important;
  color: #1d2d31;
  padding: 10px;
  margin: 10px 14px;
  text-align: center;
  box-shadow: none !important;
}
.mission-icon {
  margin-top: 6px;
  margin-bottom: 14px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.tseva-mission h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.tseva-mission p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.tseva-count {
  width: 44px;
  height: 44px;
  background: transparent;
  color: #1d2d31;
  font-size: 36px;
  font-weight: 800;
  margin: auto;
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== RECORDS TABLE ========== */
.tseva-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.04);
}

.tseva-table th,
.tseva-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
}

.tseva-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.view-btn {
  color: var(--primary);
  font-size: 18px;
  text-align: center;
  display: block;
  text-decoration: none;
}
.view-btn:hover {
  color: #0046b3;
}

/* SEARCH BAR */
.search-wrapper {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.search-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
}
.search-btn {
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.search-btn:hover {
  background: #0046b3;
}

/* ========== LIST VIEW ========== */
.tseva-list-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  margin: 10px 0;
  padding: 12px;
  border-radius: 10px;
  color: #111;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}

/* ========== SIDEBAR ========== */

/* BIGGER TOGGLE BUTTON */
.tseva-toggle-btn {
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 10002;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 14px 16px;
  border-radius: 10px;
}
.tseva-toggle-btn i {
  font-size: 28px;
}

.tseva-sidebar {
  position: fixed;
  left: -250px;
  top: 0;
  width: 250px;
  height: 100vh;
  background: #2d3436;
  color: #fff;
  transition: left 0.28s ease;
  z-index: 10001;
  padding-top: 18px;
}
.tseva-sidebar.show {
  left: 0;
}

.tseva-nav a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.tseva-sidebar-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tseva-side-logo {
  width: 40px; /* छोटा लोगो */
  height: 40px;
  border-radius: 8px;
}

.tseva-side-title {
  font-size: 22px; /* बड़ा टेक्स्ट */
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.tseva-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* EMPTY STATE */
.tseva-empty {
  padding: 20px;
  text-align: center;
  color: #666;
}
.text-muted {
  color: var(--muted);
  font-size: 13px;
}
