@import url('https://fonts.googleapis.com/css2?family=Ubuntu: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;
  font-family: 'Ubuntu', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #e0e5ec;
}

.container {
  background: #ecf0f3;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 10px 10px 30px #bebebe, -10px -10px 30px #ffffff;
  width: 90%;
  max-width: 400px;
  position: relative;
}

input[type="radio"] {
  display: none;
}

.tab-buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.tab-buttons label {
  cursor: pointer;
  padding: 10px 30px;
  border-radius: 10px;
  background: #ecf0f3;
  box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
}

#tab-login:checked ~ .tab-buttons label[for="tab-login"], #tab-register:checked ~ .tab-buttons label[for="tab-register"] {
  background: #e0e5ec;
  box-shadow: inset 2px 2px 5px #bebebe, inset -2px -2px 5px #ffffff;
}


.form {
  display: none;
  flex-direction: column;
}

#tab-login:checked ~ .form.login {
  display: flex;
}

#tab-register:checked ~ .form.register {
  display: flex;
}

.form label {
  margin: 10px 0 10px;
  font-size: 14px;
  color: #555;
}

.form input {
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #e0e5ec;
  box-shadow: inset 2px 2px 5px #bebebe, inset -2px -2px 5px #ffffff;
  outline: none;
}

.form button{
  margin-top: 20px;
  padding: 10px;
  border: none;
  background: #ecf0f3;
  color: #333;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
  cursor: pointer;
}

.form button:hover{
    background: #f0f0f0da;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0 10px;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ccc;
  margin: 0 10px;
}

.divider span {
  color: #888;
  font-size: 14px;
  white-space: nowrap;
}

.social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social button {
  background: #ecf0f3;
  border: none;
  padding: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
  cursor: pointer;
  font-size: 16px;
}

.social button:hover{
    border: 1px solid black;
}
