/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main container */
.container {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  width: 90%;
  max-width: 500px;
}

h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Input and button */
.input-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#emailInput {
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  outline: none;
}

#maskBtn {
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background: #ff7f50;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

#maskBtn:hover {
  background: #ff4500;
  transform: scale(1.05);
}

/* Result box */
.result-box {
  margin-top: 25px;
  padding: 15px;
  border: 2px solid #fff;
  border-radius: 10px;
  font-size: 1.2rem;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
}

.masked-email {
  word-break: break-all;
}
