body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333333;
}

button {
    padding: 12px 24px;
    font-size: 1.2rem;
    margin: 0 10px;
    border: none;
    border-radius: 8px;
    background-color: #4caf50;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    outline: none;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

#hora {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #555555;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 80%;
}

#popup h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333333;
}

video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

#mensaje {
    font-size: 1.6rem;
    color: #4caf50;
}

#cerrarPopup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777777;
    transition: color 0.3s;
}

#cerrarPopup:hover {
    color: #333333;
}

.centrar {
    text-align: center;
}

/* Estilo para el popup de registro manual */
.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
}

.popup button {
    float: right;
    border: none;
    background: none;
    font-size: 1.5em;
    cursor: pointer;
}

.popup h2 {
    margin-top: 0;
}

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

.popup form label {
    margin-top: 10px;
}

.popup form input,
.popup form select {
    margin-top: 5px;
    padding: 5px;
}

.popup form button {
    margin-top: 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}
