/**
 * Profile Modal Sections Styling
 * Provides a structured layout for the trinkaspace-modal-content elements
 */

/* Main section styling */
.user-form-section {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(42, 255, 247, 0.2);
  transition: border-color 0.3s ease;
}

.user-form-section:hover {
  border-color: rgba(42, 255, 247, 0.4);
}

.user-form-section h3 {
  color: #2AFFF7;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2em;
  border-bottom: 1px solid rgba(42, 255, 247, 0.2);
  padding-bottom: 8px;
}

/* Improved form grid layout */
.profile-form-landscape {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .profile-form-landscape {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: 
      "profile identity identity"
      "profile pronouns effects"
      "favorites favorites favorites"
      "actions actions actions";
  }
  
  .profile-section {
    grid-area: profile;
  }
  
  .identity-section {
    grid-area: identity;
  }
  
  .pronouns-section {
    grid-area: pronouns;
  }
  
  .effects-section {
    grid-area: effects;
  }
  
  .favorites-section {
    grid-area: favorites;
  }
  
  .form-actions {
    grid-area: actions;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
  }
}

/* Improved profile picture selection */
.profile-pic-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
  max-height: 350px;
  overflow-y: auto;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Improved pronoun selection */
.pronouns-selector {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pronouns-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.pronoun-option {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.pronoun-option:hover {
  background-color: rgba(42, 255, 247, 0.1);
}

/* Improved cursor effects section */
.cursor-effects-selector {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.effect-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.effect-option {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.effect-option:hover {
  background-color: rgba(42, 255, 247, 0.1);
}

/* Favorites section */
.favorites-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Enhanced modal animations */
.trinkaspace-modal-content {
  animation: modal-slide-in 0.3s ease-out;
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header action buttons */
.modal-action-buttons {
  display: flex;
  gap: 12px;
}

.modal-action-buttons button {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.modal-action-buttons .primary-btn {
  background-color: #2AFFF7;
  color: #121212;
}

.modal-action-buttons .primary-btn:hover {
  background-color: #3FFFFF;
  box-shadow: 0 0 10px rgba(42, 255, 247, 0.5);
}

.modal-action-buttons .secondary-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.modal-action-buttons .secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Tooltip styles */
.section-tooltip {
  display: inline-block;
  font-size: 0.8em;
  opacity: 0.7;
  margin-left: 8px;
  cursor: help;
  transition: opacity 0.2s;
}

.section-tooltip:hover {
  opacity: 1;
}
