* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Century Gothic", sans-serif;
}

.login {
    background-color: #242424;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #1a1a1a, #000);
    background-image: url("https://www.transparenttextures.com/patterns/black-linen.png");
    background-blend-mode: overlay;
}

.panel {
    width: 100%;
    max-width: 420px;
    background-color: #202020;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    min-height: 400px;
    border-bottom: 2px solid #0011ff;
    border-right: 2px solid #0011ff;
}

.logo {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: auto;
}

h1 {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 4rem;
}

p {
    text-align: center;
    margin-bottom: 1rem;
}

input {
    display: block;
    width: 100%;
    margin: 0.8rem 0;
    padding: 0.6rem;
    border-radius: 6px;
    border: none;
    background-color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
}

input:focus {
    outline: none;
    box-shadow: 0 0 5px #00c3ff;
    background-color: rgb(255, 255, 255);
    transform: scale(1.025);
    transition: 0.25s;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1rem;
}

.btn-enter,
.btn-back {
    width: 100%;
    padding: 0.7rem;
    border-radius: 6px;
    border: none;
    background-color: rgba(255, 255, 255, 0.65);
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    transition: 0.25s;
}

.btn-back:hover,
.btn-back:active {
    background: #00c3ff;
    transform: scale(1.05);
}

.btn-enter:hover,
.btn-enter:active {
    background: #00ff0d;
    transform: scale(1.05);
}

.correo-group,
.password-group,
.login-group,
.register-group,
.name-group {
    display: flex;
}

.correo-group img,
.password-group img,
.login-group img,
.register-group img,
.name-group img,
.radio-group img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    align-self: center;
}

.terms {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.terms a {
    color: #ccefff;
    text-decoration: underline;
}

button:hover,
button:active{
    background: #305c6a;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-box {
    flex: 1;
    min-width: 100px;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    background: #ffffff27;
    border: 1px solid #ccc;
    transition: background-color 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
    align-content: center;
}

.radio-box:not(:first-of-type) {
    margin-left: -1px;
}

input[type="radio"]:checked + label.radio-box {
    background: #40798ca8;
    color: #fff;
    border-color: #40798c;
}
