/* Extracted styles from webvpn.html */
.server-list {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.server-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}
.server-item:hover {
  background: #f8f9fa;
}
.server-item:last-child {
  border-bottom: none;
}
.server-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flag {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  background: var(--accent);
}
.ping {
  font-size: 14px;
  color: #666;
}
.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e74c3c;
}
.status-indicator.connected {
  background: #27ae60;
}
.connection-stats {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.feature-panel h3 {
  margin-bottom: 16px;
  color: var(--main);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.feature-card {
  background: #f8f9fa;
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  position: relative;
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.feature-title {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--main);
}
.feature-desc {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}
.feature-card .toggle-switch {
  margin: 8px auto 0;
}
.log-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.log-panel h3 {
  margin-bottom: 12px;
  color: var(--main);
}
.log-container {
  background: #1e1e1e;
  color: #0f0;
  font-family: monospace;
  font-size: 12px;
  padding: 12px;
  border-radius: var(--radius);
  height: 120px;
  overflow-y: auto;
  margin-bottom: 12px;
}
.log-entry {
  margin-bottom: 4px;
}
.clear-log-btn {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 12px;
}
.stat-item {
  text-align: center;
}
.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--main);
}
.stat-label {
  font-size: 14px;
  color: #666;
}
.control-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background: #ccc;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-switch.active {
  background: var(--accent);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}
.toggle-switch.active::after {
  transform: translateX(30px);
}
.connection-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.ip-display {
  background: #f8f9fa;
  padding: 12px;
  border-radius: var(--radius);
  font-family: monospace;
  text-align: center;
  margin: 10px 0;
}
.back-btn {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 20px;
}
.webvpn {
  padding: 0;
}
.section-title {
  margin-top: 0;
}