﻿
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: "Segoe UI", sans-serif;
}


.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-image: linear-gradient( rgba(255,255,255,0.70), rgba(255,255,255,0.70) ), url("http://portal.ipg.com.gt/Recursos_Web/Fondo/cana.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}


.login-card {
    width: 100%;
    max-width: 375px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

    .login-logo img {
        max-width: 160px;
        max-height: 100px;
        width: auto;
        height: auto;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: black;
        font-size: 14px;
        font-weight: 500;
    }


.form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid #d0d0d0;
    outline: none;
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}


    .form-control::placeholder {
        color: #808080;
    }


    .form-control:focus {
        background: #ffffff;
        border-color: #46ac00;
        box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.15);
    }


.login-button-container {
    margin-top: 25px;
}


.btn-login {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: #46ac00;
    color: white;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}


    .btn-login:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        background: #46ac00;
    }


    .btn-login:active {
        transform: translateY(0);
    }


.login-message {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: #ffdddd;
    font-size: 13px;
}


.login-footer {
    margin-top: 25px;
    text-align: center;
    color: black;
    font-size: 12px;
}


.page-footer {
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    padding: 7px 0;
    background: rgba(255, 255, 255, 0.10);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
    text-align: center;
    color: black;
    font-size: 12px;
}

@media (max-width: 576px) {

    .login-page {
        padding: 15px;
    }

    .login-card {
        padding: 30px 22px;
        border-radius: 16px;
    }

    .login-header h1 {
        font-size: 26px;
    }

    .login-logo img {
        max-width: 130px;
    }
}


@media (max-height: 650px) {

    .login-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .login-logo {
        margin-bottom: 10px;
    }

        .login-logo img {
            max-height: 65px;
        }

    .login-header {
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }
}
