/*
 * TheCoolSymbols - Contact Card CSS
 * Styling for contact forms in card view
 * Created: June 15, 2025
 */

/* Enhance form elements within card view */
.about-card-content .contact-form-container {
  margin-top: 1.5rem;
}

.about-card-content .form-group {
  margin-bottom: 1.5rem;
}

.about-card-content label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color, #333);
}

.about-card-content input[type="text"],
.about-card-content input[type="email"],
.about-card-content input[type="url"],
.about-card-content select,
.about-card-content textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 0.5rem;
  background-color: var(--input-bg, #fff);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-card-content input[type="text"]:focus,
.about-card-content input[type="email"]:focus,
.about-card-content input[type="url"]:focus,
.about-card-content select:focus,
.about-card-content textarea:focus {
  border-color: var(--primary-color, #6a4bff);
  box-shadow: 0 0 0 3px rgba(106, 75, 255, 0.15);
  outline: none;
}

.about-card-content .form-tooltip {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-light, #666);
}

.about-card-content .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.about-card-content .cta-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color, #6a4bff);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.about-card-content .cta-button:hover {
  background-color: var(--primary-dark, #5a3bdf);
}

.about-card-content .button.secondary {
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-btn, #f0f0f0);
  color: var(--text-color, #333);
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.about-card-content .button.secondary:hover {
  background-color: var(--secondary-btn-hover, #e5e5e5);
}

/* Enhanced FAQ items styling */
.about-card-content .faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.about-card-content .faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-card-content .faq-item h5 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: var(--text-color, #333);
}

/* Contact methods grid */
.about-card-content .symbol-categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.about-card-content .symbol-category {
  background-color: var(--card-hover, #f8f8ff);
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card-content .symbol-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-card-content .symbol-category a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-color, #333);
}

.about-card-content .category-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-card-content .category-name {
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-card-content .symbol-categories-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .about-card-content .form-actions {
    flex-direction: column;
  }
}
