body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2e2e2e, #1a1a1a);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contenedor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg,
            rgba(255, 222, 89, 0.8),
            rgba(255, 87, 87, 0.8),
            rgba(55, 181, 255, 0.8));
    color: #fff;
    padding: 40px;
    box-sizing: border-box;
}

h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.error {
    color: #f44336;
    margin-bottom: 20px;
    font-size: 1rem;
}

form {
    margin-bottom: 20px;
}

input[type="password"] {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #333;
    width: calc(100% - 22px);
    margin-bottom: 10px;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

.container {
    text-align: center;
}

h2 {
    margin-bottom: 20px;
}

.input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-block-end: 15px;
}

.code-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #000;
    border-radius: 8px;
    text-transform: uppercase;
    background-color: #fff;
    outline: none;
}


.code-input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.submit-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold; 
    background: linear-gradient(45deg, rgba(255, 222, 89, 1), rgba(255, 87, 87, 1));
    color: black; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 0 10px; 
}

.submit-btn:hover {
    background: linear-gradient(45deg, rgba(255, 222, 89, 0.8), rgba(255, 87, 87, 0.8));
    transform: translateY(-2px);
}
