* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #dcdcdc 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo img {
    max-width: 100px;
    margin-bottom: 20px;
}

h2 {
    color: #3f81b5;
    margin-bottom: 8px;
    font-size: 22px;
}

h3 {
    color: #151515;
    margin-bottom: 20px;
    font-weight: 400;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
    text-align: left;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 10px;
    border: 2px solid #3f81b5;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.3s ease;
    background-color: #ffffff;
    color: #151515;
}

.input-group input:focus {
    border-color: #5199cf;
}

.input-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    background-color: #ffffff;
    padding: 0 5px;
    font-size: 14px;
    color: #151515;
    pointer-events: none;
    transition: all 0.2s ease;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -8px;
    left: 8px;
    font-size: 12px;
    color: #3f81b5;
}

button[type="submit"] {
    width: 100%;
    background-color: #3f81b5;
    color: #ffffff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2a5d84;
}

/* Mensaje de error */
p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #5199cf;
}
