@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  transition: 0.6s;
}

body {
  background: #51E0FE;
background: radial-gradient(circle,rgba(81, 224, 254, 1) 0%, rgba(0, 0, 0, 1) 23%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  font-family: "Inter", sans-serif;
}

.alert {
  display: none;
  text-align: center;
  padding: 10px 0;
  background: #bf1717;
  color: white;
  font-size: 0.9rem;
}

.input {
  position: relative;
}

.input label {
  position: absolute;
  color: #5c616c;
  font-size: 0.8rem;
  pointer-events: none;
  top: 9px;
  left: 7px;
}

.input input {
  border: none;
  box-shadow: 0 2px 2px #0000001c;
  height: 32px;
  margin-bottom: 8px;
  border-radius: 5px;
  padding: 0 7px;
  font-size: 0.9rem;
  width: 191px;
}

.btn {
  padding: 4px 1px;
  width: 69px;
  height: 27px;
  font-size: 0.9rem;
  border: none;
  border-radius: 5px;
}

.login {
  background-color: #2777ff;
  color: #ffffff;
}

.cancel {
  background-color: #eeeeee;
  color: #5c616c;
}

.button-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 67px;
}

.box-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  box-shadow: 0 1px 4px #0000002b;
  background-color: #eaf6f9;
  height: 110px;
  padding-top: 22px;
}

.profile {
  width: 56px;
  height: auto;
  margin-left: 11px;
}

.main-container {
  width: 333px;
  height: fit-content;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #ffffff;
  border-radius: 5px;
  border-bottom: 4px solid #cccccc;
  overflow: hidden;
}

.username {
  color: #5c616c;
  pointer-events: none;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #edf3f9;
  height: 29px;
  padding: 0 6px;
}

.input input:focus ~ label,
.input input:valid ~ label {
  display: none;
}

.alert-blue {
  background-color: #2777ff;
}

.alert-red {
  background-color: #bf1717;
}

.show {
  display: block !important;
}

@media only screen and (max-width: 367px) {
  .main-container {
    width: 223px;
  }
  .box-entry {
    gap: 9px;
  }
  .profile {
    margin-left: 0;
  }
  .input input {
    width: 100%;
  }
  .input label {
    font-size: 0.6rem;
    top: 10px;
  }
  .alert {
    padding: 6px 0;
    font-size: 0.7rem;
  }
}