/* ═══════════════════════════════════════════════════════
   Contact Us Page Styles
   ═══════════════════════════════════════════════════════ */

/* Institute address card */
.contact-address-card {
  background: #f4f8f4;
  border-left: 4px solid #16650a;
  padding: 20px 24px;
  margin-bottom: 30px;
  border-radius: 4px;
}
.contact-address-card .contact-institute-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #16650a;
}
.contact-address-card .contact-address-line {
  margin: 0 0 4px;
  font-size: 14px;
}
.contact-address-card .contact-phone-line {
  margin: 0;
  font-size: 14px;
}
.contact-address-card a {
  color: #16650a;
  text-decoration: underline;
}

/* Admin bar - Add Contact button */
.contact-admin-bar {
  margin-bottom: 16px;
}
.contact-add-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #16650a;
  color: #fff !important;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.contact-add-btn:hover {
  background: #1a7c0d;
  text-decoration: none;
  color: #fff !important;
}
.contact-add-btn i {
  margin-right: 4px;
}

/* Category section */
.contact-category-section {
  margin-bottom: 30px;
}
.contact-category-heading {
  background: #16650a;
  color: #fff;
  padding: 12px 18px;
  margin: 0;
  border-radius: 4px 4px 0 0;
  font-size: 15px;
}
.contact-category-heading i {
  margin-right: 6px;
}

/* Table */
.contact-table-wrap {
  overflow-x: auto;
}
.contact-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
}
.contact-table thead tr {
  background: #f0f7f1;
}
.contact-table th {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.contact-table th.col-sl     { width: 5%; text-align: center; }
.contact-table th.col-name   { width: 22%; }
.contact-table th.col-desig  { width: 20%; }
.contact-table th.col-loc    { width: 18%; }
.contact-table th.col-phone  { width: 15%; }
.contact-table th.col-email  { width: 20%; }
.contact-table th.col-edit   { width: 5%; text-align: center; }

.contact-table tbody tr:nth-child(odd) {
  background: #fff;
}
.contact-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}
.contact-table tbody tr:hover {
  background: #f0f7f1;
}
.contact-table td {
  padding: 10px 12px;
  border: 1px solid #eee;
  font-size: 14px;
  vertical-align: top;
}
.contact-table td.col-sl {
  text-align: center;
}
.contact-table td.col-edit {
  text-align: center;
}

/* Phone / email styling inside cells */
.contact-phone-icon {
  color: #16650a;
  font-size: 11px;
  margin-right: 3px;
}
.contact-fax-icon {
  color: #888;
  font-size: 11px;
  margin-right: 3px;
}
.contact-email-link {
  color: #16650a;
  text-decoration: none;
}
.contact-email-link:hover {
  text-decoration: underline;
}

/* Edit button */
.contact-edit-btn {
  color: #c9a227;
  font-size: 15px;
}
.contact-edit-btn:hover {
  color: #a88520;
}
