.widgets-page {
  padding: 40px 0;
  min-height: 100vh;
}
.widgets-page .page-header {
  text-align: center;
  margin-bottom: 50px;
}
.widgets-page .page-header .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}
.widgets-page .page-header .page-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin: 0;
}
.widgets-page .widget-config-section {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}
.widgets-page .widget-config-section h2 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-weight: 600;
}
.widgets-page .widget-config-section .form-group {
  margin-bottom: 0;
}
.widgets-page .widget-config-section .form-group label {
  color: #495057;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.widgets-page .widget-config-section .form-group .form-control {
  border: 2px solid #e9ecef;
  border-radius: 6px;
  padding: 12px 15px;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.widgets-page .widget-config-section .form-group .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.widgets-page .widget-config-section .form-group .btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.widgets-page .widget-config-section .form-group .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}
.widgets-page .widget-config-section .form-group .btn-primary i {
  margin-right: 8px;
}
.widgets-page .widget-demo-section {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}
.widgets-page .widget-demo-section h2 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}
.widgets-page .widget-demo-section .demo-description {
  color: #6c757d;
  margin-bottom: 25px;
  line-height: 1.6;
}
.widgets-page .widget-demo-section .demo-description a {
  color: #007bff;
  text-decoration: none;
}
.widgets-page .widget-demo-section .demo-description a:hover {
  text-decoration: underline;
}
.widgets-page .widget-demo-section .demo-container {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 20px;
  background: #f8f9fa;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widgets-page .widget-demo-section .demo-container .widget-placeholder {
  text-align: center;
  color: #6c757d;
}
.widgets-page .widget-demo-section .demo-container .widget-placeholder .placeholder-content i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.widgets-page .widget-demo-section .demo-container .widget-placeholder .placeholder-content p {
  margin: 0;
  font-size: 1.1rem;
}
.widgets-page .code-section {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.widgets-page .code-section h2 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-weight: 600;
}
.widgets-page .code-section .code-container textarea {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  background: #f8f9fa;
  resize: vertical;
  margin-bottom: 20px;
}
.widgets-page .code-section .code-container .btn-success {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}
.widgets-page .code-section .code-container .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}
.widgets-page .code-section .code-container .btn-success i {
  margin-right: 10px;
}
.widgets-page .code-section .code-container .btn-primary {
  background: linear-gradient(135deg, #28a745, #1e7e34) !important;
  border: none !important;
  color: white !important;
}
.widgets-page .code-section .code-container .btn-primary:hover {
  background: linear-gradient(135deg, #1e7e34, #155724) !important;
}

@media (max-width: 768px) {
  .widgets-page {
    padding: 20px 0;
  }
  .widgets-page .page-header {
    margin-bottom: 30px;
  }
  .widgets-page .page-header .page-title {
    font-size: 2rem;
  }
  .widgets-page .page-header .page-subtitle {
    font-size: 1rem;
  }
  .widgets-page .widget-config-section,
  .widgets-page .widget-demo-section,
  .widgets-page .code-section {
    padding: 20px;
    margin-bottom: 20px;
  }
  .widgets-page .widget-config-section .form-group {
    margin-bottom: 20px;
  }
  .widgets-page .code-section .code-container .btn-success {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

