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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f4f7;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    padding: 25px;
}

.login-card {
    width: 100%;
    max-width: 430px;

    margin: auto;

    background: white;

    border-radius: 14px;

    padding: 38px 42px;

    text-align: center;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.12);

    border-top: 6px solid #70ad47;
}

.logo {
    width: 220px;
    max-width: 90%;
    height: auto;

    margin-bottom: 18px;
}

h1 {
    font-size: 29px;
    color: #333;
    margin-bottom: 7px;
}

h2 {
    font-size: 18px;
    font-weight: normal;
    color: #555;
    line-height: 1.4;
}

.institucion {
    margin-top: 10px;
    margin-bottom: 28px;

    font-size: 13px;
    color: #777;
}

.campo {
    text-align: left;
    margin-bottom: 20px;
}

.campo label {
    display: block;

    font-size: 14px;
    font-weight: bold;

    color: #444;

    margin-bottom: 7px;
}

.campo input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #ccc;
    border-radius: 7px;

    font-size: 15px;

    outline: none;

    transition: 0.2s;
}

.campo input:focus {
    border-color: #70ad47;

    box-shadow:
        0 0 0 3px rgba(112,173,71,0.15);
}

button {
    width: 100%;

    border: none;

    padding: 14px;

    background: #70ad47;
    color: white;

    font-size: 15px;
    font-weight: bold;

    border-radius: 7px;

    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    background: #5b9139;
}

.error {
    background: #fdeaea;
    color: #a52323;

    border: 1px solid #f4c4c4;

    padding: 11px;

    border-radius: 6px;

    margin-bottom: 20px;

    font-size: 14px;
}

.pie {
    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #eee;

    color: #999;

    font-size: 12px;
}

@media (max-width: 500px) {

    .login-card {
        padding: 30px 22px;
    }

    .logo {
        width: 190px;
    }

    h1 {
        font-size: 25px;
    }
}