/* Beta Access Modal Styles */
.beta-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

.beta-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.beta-modal-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease-out;
}

@media (prefers-color-scheme: dark) {
  .beta-modal-content {
    background: #1a1a1a;
    color: white;
  }
}

.beta-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 8px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.beta-modal-close:hover {
  background-color: #f0f0f0;
  color: #333;
}

@media (prefers-color-scheme: dark) {
  .beta-modal-close {
    color: #ccc;
  }
  
  .beta-modal-close:hover {
    background-color: #333;
    color: white;
  }
}

.beta-modal-header {
  margin-bottom: 24px;
  padding-right: 40px;
}

.beta-modal-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #4255AB;
  line-height: 1.2;
}

@media (prefers-color-scheme: dark) {
  .beta-modal-title {
    color: #6B7FFF;
  }
}

.beta-modal-subtitle {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #333;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .beta-modal-subtitle {
    color: #e0e0e0;
  }
}

.beta-modal-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  .beta-modal-description {
    color: #ccc;
  }
}

.beta-modal-body {
  margin-bottom: 32px;
}

.beta-modal-section {
  margin-bottom: 28px;
}

.beta-modal-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #333;
}

@media (prefers-color-scheme: dark) {
  .beta-modal-section h3 {
    color: #e0e0e0;
  }
}

.beta-modal-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 12px 0;
}

@media (prefers-color-scheme: dark) {
  .beta-modal-section p {
    color: #ccc;
  }
}

.beta-requirements {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

@media (prefers-color-scheme: dark) {
  .beta-requirements {
    background: #2a2a2a;
  }
}

.beta-requirements h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #333;
}

@media (prefers-color-scheme: dark) {
  .beta-requirements h4 {
    color: #e0e0e0;
  }
}

.beta-requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beta-requirements-list li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: #555;
}

@media (prefers-color-scheme: dark) {
  .beta-requirements-list li {
    color: #ccc;
  }
}

.beta-requirements-list li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #4255AB;
  font-weight: bold;
  font-size: 18px;
}

@media (prefers-color-scheme: dark) {
  .beta-requirements-list li:before {
    color: #6B7FFF;
  }
}

.beta-modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.beta-action-button {
  flex: 1;
  min-width: 140px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.beta-action-button.primary {
  background: #4255AB;
  color: white;
}

.beta-action-button.primary:hover {
  background: #3a4d9a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66, 85, 171, 0.3);
}

.beta-action-button.secondary {
  background: #f0f0f0;
  color: #333;
  border: 2px solid #e0e0e0;
}

.beta-action-button.secondary:hover {
  background: #e8e8e8;
  border-color: #d0d0d0;
}

@media (prefers-color-scheme: dark) {
  .beta-action-button.secondary {
    background: #333;
    color: #e0e0e0;
    border-color: #555;
  }
  
  .beta-action-button.secondary:hover {
    background: #444;
    border-color: #666;
  }
}

.beta-email-template {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #495057;
  position: relative;
}

@media (prefers-color-scheme: dark) {
  .beta-email-template {
    background: #2a2a2a;
    border-color: #444;
    color: #ccc;
  }
}

.beta-copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #4255AB;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.beta-copy-button:hover {
  background: #3a4d9a;
}

.beta-copy-button.copied {
  background: #28a745;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .beta-modal-content {
    padding: 24px;
    margin: 20px;
  }
  
  .beta-modal-title {
    font-size: 24px;
  }
  
  .beta-modal-subtitle {
    font-size: 16px;
  }
  
  .beta-modal-actions {
    flex-direction: column;
  }
  
  .beta-action-button {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .beta-modal {
    padding: 16px;
  }
  
  .beta-modal-content {
    padding: 20px;
    margin: 0;
  }
  
  .beta-modal-title {
    font-size: 22px;
  }
}
