/* Reset de estilos para una apariencia más consistente en diferentes navegadores */
html, body, h2, form, input, label, p, a {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    color: #FFA500;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f8f8;
    color: #333;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    width: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

label {
    font-weight: bold;
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"] {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #FFA500;
}

input[type="submit"] {
    background-color: #FFA500;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #FFD700;
}

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 20px;
}

.registration-link {
    text-align: center;
    margin-top: 20px;
}

.registration-link a {
    color: #FFA500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.registration-link a:hover {
    color: #FFD700;
}
