/**
 * Email Popup Styles
 * 邮件客户端选择弹窗样式
 */

.email-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
}

.email-popup {
  background-color: #1c1c1c;
  border-radius: 8px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  color: #fff;
  animation: scaleIn 0.3s ease-out;
}

.email-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #333;
}

.email-popup-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
}

.email-popup-close {
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #888;
  transition: color 0.3s;
}

.email-popup-close:hover {
  color: #f89200;
}

.email-popup-options {
  padding: 10px 0;
}

.email-option {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s;
  cursor: pointer;
}

.email-option:hover {
  background-color: #333;
  color: #f89200;
}

.email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f89200;
}

.email-icon svg {
  width: 24px;
  height: 24px;
}

.copy-email {
  position: relative;
}

.copy-text {
  font-weight: 500;
}

.email-address {
  margin-left: 10px;
  color: #aaa;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

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

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 响应式适配 */
@media (max-width: 600px) {
  .email-popup {
    width: 95%;
  }
  
  .email-address {
    max-width: 120px;
  }
} 