@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
  margin: 0;
  padding: 0;
  background: url('miiverse.png');
  font-family: 'Arial', sans-serif;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 600px;
  margin: 30px auto;
  padding: 0 15px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}


h1, h2, h3 {
  font-family: 'Open Sans', cursive;
  color: #222;
  text-align: center;
  margin-top: 0;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  border: 3px solid #4da6ff;
}

input[type="text"],
input[type="password"],
input[type="date"],
select,
textarea {
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #ccc;
  margin: 8px 0;
  font-size: 14px;
  font-family: inherit;
  transition: border 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: #4da6ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(77, 166, 255, 0.2);
}

button,
a.button {
  display: inline-block;
  font-size: 14px;
  padding: 10px 18px;
  text-align: center;
  border-radius: 24px;
  background: #4da6ff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}


.alert {
  background: #ffdddd;
  border-left: 6px solid #ff5c5c;
  padding: 10px 12px;
  margin: 10px 0;
  border-radius: 8px;
  color: #a00;
}

.text-center {
  text-align: center;
}

ul {
  padding-left: 18px;
  font-size: 14px;
}

p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

button.button {
  display: inline-block;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 24px;
  background: #c34f08;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 8px;
  border: none;
  transition: background 0.2s;
}

button.button:disabled { 
  background: #aaa; 
  cursor: default;
  transform: none;
}

@media (max-width: 640px) {
  .container {
    margin: 15px auto;
  }
  
  .card {
    padding: 16px;
  }
  
  .avatar {
    width: 80px;
    height: 80px;
  }
  
  h1, h2, h3 {
    font-size: 0.9rem;
  }
}