/* Auth Modal - Receipt Style */

.auth-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

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

.auth-modal-content {
  background: #fff;
  padding: 0;
  border-left: 1px dashed #999;
  border-right: 1px dashed #999;
  border-top: 3px solid #333;
  border-bottom: 3px solid #333;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.auth-modal-content::before {
  content: '###############################################';
  display: block;
  font-size: 10px;
  letter-spacing: -1px;
  color: #333;
  padding: 20px 30px 0 30px;
  overflow: hidden;
  text-align: center;
}

.auth-modal-content::after {
  content: '###############################################';
  display: block;
  font-size: 10px;
  letter-spacing: -1px;
  color: #333;
  padding: 0 30px 20px 30px;
  overflow: hidden;
  text-align: center;
}

.auth-modal-content h2 {
  text-align: center;
  margin: 20px 30px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #999;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-modal-close {
  position: absolute;
  right: 10px;
  top: 30px;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px 10px;
  line-height: 1;
  z-index: 10;
  border-radius: 8rem;
}

.auth-modal-close:hover {
  color: #000;
  letter-spacing: normal;
  border: 2px dashed #333;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 30px 20px 30px;
}

.auth-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.button-icon path {
  fill: #333;
  transition: fill 0.2s ease;
}

.auth-buttons button:hover .button-icon path {
  fill: #000;
}

.auth-email-section {
  padding: 15px 30px 20px 30px;
  border-top: 1px dashed #999;
}

.auth-email-buttons {
  display: flex;
  gap: 10px;
}

.auth-email-buttons button {
  flex: 1;
}

@media (max-width: 480px) {
  .auth-modal-content {
    width: 95%;
  }
  
  .auth-modal-content h2 {
    font-size: 16px;
  }
  
  .auth-modal-content::before,
  .auth-modal-content::after {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .auth-buttons,
  .auth-email-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .auth-modal-content h2 {
    margin-left: 20px;
    margin-right: 20px;
  }
}
