/* Team Info CSS */
.ti-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
}

.ti-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.ti-header-left h2 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  display: inline-block;
  margin-right: 8px;
}

.ti-breadcrumb {
  font-size: 11px;
  color: #6b7280;
  display: inline-block;
}

.ti-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.ti-breadcrumb a:hover {
  text-decoration: underline;
}

.ti-btn-outline {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: 0.2s;
  display: inline-block;
  text-align: center;
}

.ti-btn-outline:hover {
  background: #f9fafb;
}

/* Layout Grid */
.ti-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 1024px) {
  .ti-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* General Cards */
.ti-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
}

.ti-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ti-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.ti-card-body {
  padding: 24px;
}

/* Toggle */
.ti-toggle-wrap {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #374151;
  font-weight: 500;
}

.ti-toggle {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  margin-left: 8px;
}

.ti-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ti-toggle span {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb;
  transition: .4s;
  border-radius: 34px;
}

.ti-toggle span:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.ti-toggle input:checked + span {
  background-color: #10b981;
}

.ti-toggle input:checked + span:before {
  transform: translateX(14px);
}

/* Info List */
.ti-info-row {
  display: grid;
  grid-template-columns: 150px 1fr 30px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed #e5e7eb;
}

@media (max-width: 640px) {
  .ti-info-row {
    grid-template-columns: 100px 1fr 30px;
  }
}

.ti-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ti-info-label {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
}

.ti-info-value {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

.ti-info-value-title {
  color: #111827;
  font-weight: 600;
}

.ti-info-action {
  text-align: right;
  color: #9ca3af;
  font-size: 14px;
  cursor: pointer;
}

.ti-info-action:hover {
  color: #3b82f6;
}

/* Badges & Tags */
.ti-badge-public {
  background: #dcfce7;
  color: #166534;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.ti-skill-tag {
  background: #f3f4f6;
  color: #374151;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 6px;
}

.ti-thumbnail-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #9ca3af;
}

/* Team Members Search */
.ti-search-box {
  position: relative;
}

.ti-search-box input {
  padding: 6px 12px 6px 30px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 11px;
  width: 160px;
  outline: none;
  transition: border-color 0.2s;
}

.ti-search-box input:focus {
  border-color: #3b82f6;
}

.ti-search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
}

/* Table */
.ti-table-wrapper {
  overflow-x: auto;
}

.ti-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.ti-table th {
  text-align: left;
  padding: 12px 24px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.ti-table td {
  padding: 12px 24px;
  font-size: 12px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.ti-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  cursor: pointer;
}

.ti-member-cell {
  display: flex;
  align-items: center;
}

.ti-member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 12px;
}

.ti-member-name {
  font-weight: 600;
  color: #111827;
  font-size: 12px;
}

.ti-member-tasks {
  font-size: 10px;
  color: #6b7280;
}

.ti-flag-icon {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

/* Status Badges */
.ti-status-active {
  background: #dcfce7;
  color: #166534;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}
.ti-status-active::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: #166534;
  border-radius: 50%;
  margin-right: 6px;
}

.ti-status-inactive {
  background: #fee2e2;
  color: #991b1b;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}
.ti-status-inactive::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: #991b1b;
  border-radius: 50%;
  margin-right: 6px;
}

.ti-status-pending {
  background: #dbeafe;
  color: #1e40af;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}
.ti-status-pending::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: #1e40af;
  border-radius: 50%;
  margin-right: 6px;
}

/* Pagination */
.ti-pagination-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-top: 1px solid #e5e7eb;
}

.ti-show-entries {
  font-size: 11px;
  color: #6b7280;
}

.ti-select {
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  margin: 0 4px;
  outline: none;
  font-size: 11px;
}

.ti-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6b7280;
}

.ti-page-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.ti-page-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.ti-page-active {
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
}

/* Right Sidebar Cards */
.ti-seats-val {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.ti-seats-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 8px;
}

.ti-link-blue {
  font-size: 10px;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  text-transform: uppercase;
}

.ti-link-blue:hover {
  text-decoration: underline;
}

/* Connected Profiles */
.ti-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.ti-profile-row:last-child {
  border-bottom: none;
}

.ti-social-icon {
  font-size: 14px;
  color: #374151;
  margin-right: 12px;
}

/* KB Cards */
.ti-kb-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ti-kb-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.4;
}

.ti-kb-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* FAQ Section */
.ti-faq-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.ti-faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}

.ti-faq-item:last-child {
  border-bottom: none;
}

.ti-faq-q {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
}

.ti-faq-icon {
  color: #9ca3af;
  font-size: 14px;
  transition: transform 0.2s;
}

.ti-faq-item:hover .ti-faq-q {
  color: #111827;
}

.ti-faq-item:hover .ti-faq-icon {
  color: #111827;
}

/* Illustration Grid */
.ti-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .ti-grid-2 {
    grid-template-columns: 1fr;
  }
}

.ti-illus-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.ti-illus-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.ti-illus-card p {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 55%;
}

.ti-illus-img {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 140px;
  height: auto;
}
