/* UUID Generator Consistent Styling */
.uuid-section {
  margin: 30px 0;
}

.uuid-section h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #2c3e50;
}

/* Unified button styling - combining download.css styles */
.uuid-button, .uuid-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 162px;
  gap: 8px;
}

/* Primary button style (Generate buttons) - from download.css */
.uuid-button {
  background-color: #1376B3;
  color: #ffffff;
  border: 2px solid #9ca3af;
}

.uuid-button:hover {
  background-color: #005583;
  border-color: #9ca3af;
}

/* Secondary button style (Copy buttons) */
.uuid-button-secondary {
  background-color: #ffffff;
  color: #333333;
  border: 2px solid #d1d5db;
}

.uuid-button-secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

/* Copy icon styling */
.copy-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Button container layouts */
.uuid-buttons-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.uuid-buttons-container-left {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

/* Form elements styling */
.uuid-form-group {
  margin-bottom: 20px;
}

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

.uuid-form-select {
  padding: 12px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background-color: #ffffff;
  color: #374151;
  transition: border-color 0.2s ease;
  max-width: 300px;
}

.uuid-form-select:focus {
  outline: none;
  border-color: #1376B3;
}

/* Textarea styling */
.uuid-textarea {
  width: 100%;
  min-height: 120px;
  font-family: Consolas, 'Courier New', monospace;
  padding: 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background: #f8f9fa;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  color: #333;
  margin-bottom: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.uuid-textarea:focus {
  outline: none;
  border-color: #1376B3;
}

/* Responsive design */
@media (max-width: 768px) {
  .uuid-buttons-container {
    width: 100%;
  }
  
  .uuid-buttons-container .uuid-button,
  .uuid-buttons-container .uuid-button-secondary {
    flex: 1;
    min-width: 0;
  }
  
  
  .uuid-form-select {
    width: 100%;
    max-width: none;
  }
}

/* Stack the 3-button group vertically on smaller tablets */
@media (max-width: 580px) {
  section#bulk-generation .uuid-buttons-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  section#bulk-generation .uuid-buttons-container .uuid-button,
  section#bulk-generation .uuid-buttons-container .uuid-button-secondary {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 413px) {
  .uuid-buttons-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .uuid-buttons-container-left {
    flex-direction: column;
    align-items: stretch;
  }
  
  .uuid-button, .uuid-button-secondary {
    width: 100%;
  }
  
  .uuid-form-select {
    width: 100%;
    max-width: none;
  }
  
  #primaryUuid {
    font-size: 18px !important;
    padding: 14px 16px !important;
  }
  
  .uuid-button, .uuid-button-secondary {
    padding: 10px 20px;
  }
}

/* UUID Primary Display Enhancements */
#primaryUuid:hover {
  border-color: #1376B3 !important;
  background: #f0f8ff !important;
}

#primaryUuid::after {
  content: "Click to copy";
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 12px;
  color: #9ca3af;
  font-weight: normal;
  opacity: 0;
  transition: opacity 0.2s ease;
  letter-spacing: normal;
}

#primaryUuid:hover::after {
  opacity: 1;
}