* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background:#1c2531 ;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.container{
  width: 430px;
  height: 580px;
  position: relative;
  background: #35465d;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.container-form {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 20px;
}

/* --- BOTONES DE LOGIN / REGISTRAR --- */
.swich {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 20px;
}

.opc {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: none;
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  transition: 0.3s;
}

#btnvai {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 4px;
  background: #3b5166;
  border-radius: 4px;
  transition: left 0.3s ease;
}

.opc {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: none;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.opc.active {
  background: #2f549e;
  color: white !important;
  border-radius: 8px 8px 0 0;
}


#frmlogin {
   background: #35465d;
  position: absolute;
  width: 80%;
  transition: 0.3s ease-in-out;
}

#frmlogin {
  left: 50px;
  top: 70px;
}

#frmregistrar {
  left: 450px;
  top: 70px;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 14px;
}


input:focus,
select:focus {
  outline: none;
  border-color: #2f409e;
}

.enviar {
  background-color: #2f809e;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  transition: 0.3s;
}

.login:hover {
  background-color: #247a35;
}



.recapcha {
  background: #e9f5ec;
  border: 1px dashed #ccc;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  color: #2f9e44;
  font-size: 14px;
}

