
/* Box Notice */
.box-notice {
  background: #fff;
  border-left: 4px solid #2196F3;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.notice {
  color: #2196F3;
  font-weight: 600;
  margin-bottom: 10px;
}

.gt {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Panel */
.panel {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.panel-body {
  padding: 15px;
}

/* Statistics & Filter */
.statics {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}

.statics span {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}



/* Search Section */
.search_icon {
  display: inline-block;
  margin: 10px 0;
}

.search_icon a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #2196F3;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s;
}

.search_icon a:hover {
  background: #1976D2;
}

.search_icon a:before {
  content: "🔍";
}

#slickbox {
  padding: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 10px 0;
}

#slickbox form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#slickbox input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
}

#slickbox input[type="submit"] {
  padding: 12px 20px;
  background: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

#slickbox input[type="submit"]:hover {
  background: #45a049;
}

.searchtip {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

/* Member Cards - Flexbox Layout */
.member-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.member-card {
  display: flex;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e0e0e0;
}

.member-card:active {
  transform: scale(0.98);
}

.member-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: #f0f0f0;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  flex: 1;
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.member-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}

.member-name {
  font-size: 16px;
  font-weight: 700;
  color: #2196F3;
  text-decoration: none;
  line-height: 1.3;
  word-break: break-word;
}

.member-stt {
  flex-shrink: 0;
  background: #e3f2fd;
  color: #1976D2;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

.member-position {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.member-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
}

.detail-icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.detail-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-text a {
  color: #2196F3;
  text-decoration: none;
}

/* Pagination */
.page {
  margin-top: 25px;
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 480px) {
  .panel-body {
    padding: 12px;
  }
  
  .member-avatar {
    width: 100px;
    height: 100px;
  }
  
  .member-info {
    padding: 10px 12px;
  }
  
  .member-name {
    font-size: 15px;
  }
  
  .member-position {
    font-size: 13px;
  }
  
  .member-details {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .member-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .member-card {
    flex-direction: column;
  }
  
  .member-avatar {
    width: 100%;
    height: 200px;
  }
}

@media (min-width: 1024px) {
  .member-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Old table hidden on mobile */
.table-responsive {
  display: none;
}
 
.detail-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-header {
  background: linear-gradient(135deg, #3e8be5 0%, #054c78 100%);
  padding: 20px;
  text-align: center;
}

.detail-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.detail-body {
  padding: 20px 15px;
}

.detail-section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #10679d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title:before {
  content: "●";
  color: #10679d;
  font-size: 20px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.2s;
}

.info-item:hover {
  background: #e9ecef;
}

.info-label {
  flex-shrink: 0;
  min-width: 100px;
  font-weight: 600;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-label:before {
  content: "▸";
  color: #10679d;
  font-size: 14px;
}

.info-value {
  flex: 1;
  color: #333;
  word-break: break-word;
}

.info-value img {
  vertical-align: middle;
  max-height: 20px;
}

/* Position Tags */
.position-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.position-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #10679d;
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.cv2 {
  background: #764ba2;
}

.cv3 {
  background: #f093fb;
}

/* Contact Section */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.contact-link:hover {
  border-color: #10679d;
  background: #f8f9ff;
  transform: translateY(-2px);
}

.contact-link img {
  width: 24px;
  height: 24px;
}

.icon_web:before {
  content: "🌐";
  font-size: 20px;
}

.icon_email:before {
  content: "✉️";
  font-size: 20px;
}

/* Skype Button Container */
.skype-container {
  padding: 12px;
  background: #00aff0;
  border-radius: 8px;
  display: inline-block;
}

.skype {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Summary/Biography */
.bio-text {
  line-height: 1.8;
  color: #555;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid #10679d;
  border-radius: 4px;
}

/* Unit Link */
.unit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10679d;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.unit-link:hover {
  background: #e9ecef;
}

.unit-link:before {
  content: "👉";
}

/* Gender & Party Icons */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-wrapper img {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 480px) {
  .detail-avatar {
    width: 120px;
    height: 120px;
  }
  
  .detail-name {
    font-size: 20px;
  }
  
  .info-label {
    min-width: 90px;
    font-size: 13px;
  }
  
  .info-value {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .detail-body {
    padding: 30px;
  }
  
  .info-grid {
    gap: 15px;
  }
  
  .info-item {
    padding: 15px;
  }
  
  .info-label {
    min-width: 140px;
  }
}

/* Hide old table */
.table {
  display: none;
} 