.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.agent-details {
  max-width: 800px;
  margin: 2rem auto;
}

.card {
  background: white;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #f8f9fa;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.card-header h1,
.card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2d3748;
}

.card-body {
  padding: 1.5rem;
}

.field {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #4a5568;
}

.field-description {
  display: block;
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 0.5rem;
}

.field input[type="text"],
.field textarea,
.field select {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background-color: white;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s ease-in-out;
  box-sizing: border-box;
}

.field input[type="text"]:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.nested-fields {
  background: #f8f9fa;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.remove-field {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.remove-field input[type="checkbox"] {
  margin: 0;
}

.remove-field label {
  margin: 0;
  font-weight: normal;
  color: #718096;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.button-primary {
  background-color: #0d6efd;
  color: white;
}

.button-primary:hover {
  background-color: #0b5ed7;
}

.button-secondary {
  background-color: #6c757d;
  color: white;
}

.button-secondary:hover {
  background-color: #5c636a;
}

.button-danger {
  background-color: #dc3545;
  color: white;
}

.button-danger:hover {
  background-color: #bb2d3b;
}

input[type="submit"].button {
  -webkit-appearance: none;
  appearance: none;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
}

.add-attribute-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.text-muted {
  color: #718096;
  font-size: 0.875rem;
}

.error-messages {
  color: #e53e3e;
  background-color: #fff5f5;
  border: 1px solid #fc8181;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.error-messages h2 {
  color: #c53030;
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.error-messages ul {
  margin: 0;
  padding-left: 1.25rem;
}

.error-messages li {
  margin-bottom: 0.25rem;
}

.actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}

input[type="submit"].button-primary {
  background-color: #0d6efd;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.agent-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.agent-card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: #2d3748;
}

.agent-info {
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 0.75rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item strong {
  color: #4a5568;
  font-weight: 600;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.button:disabled,
.button.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.button-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Global font settings */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Dark theme wrapper */
.dark-theme-wrapper {
  background-color: #121212;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 0;
}

.field-description{
    font-style: italic;
    color: red;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2563eb;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  width: auto;
  min-width: 120px;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
  transition: left 0.7s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn:hover {
  background-color: #1d4ed8;
  color: white;
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Secondary button style */
.btn-secondary {
  background-color: transparent;
  color: #60a5fa;
  border: 2px solid #3b82f6;
  margin-top: 5px;
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  border-color: #3b82f6;
  box-shadow: 0 2px 5px rgba(59, 130, 246, 0.2);
}

/* Marketing Banner Styles */
.marketing-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 35px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-left: 5px solid #3b82f6;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.marketing-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.marketing-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.marketing-banner h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.marketing-banner p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  max-width: 90%;
}

.feature-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  gap: 5px 10px;
}

.feature-list li {
  flex: 0 0 50%;
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #3b82f6;
  border-radius: 50%;
  margin-right: 8px;
}

.feature-highlight {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  z-index: 1;
}

.feature-highlight li {
  list-style-type: none;
  color: #e0f2fe;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

.feature-highlight li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #60a5fa;
  border-radius: 50%;
  margin-right: 10px;
}

/* Form container styles */
.form-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 35px;
  background-color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #38bdf8);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #cbd5e1;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #334155;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #0f172a;
  color: #f8fafc;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: #1e293b;
}

.form-group input::placeholder {
  color: #64748b;
  opacity: 1;
}

.text-center {
  text-align: center;
  color: #94a3b8;
}

.form-container h2 {
  margin-bottom: 25px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-list li {
    flex: 0 0 100%;
  }
  
  .form-container {
    padding: 20px;
    margin: 0 10px;
  }
}
