html,
body {
    min-height: 100%;
}

body {
    background-color: #07131e;
    background-image:
        radial-gradient(42rem 42rem at 12% 18%, rgba(41, 111, 176, 0.30) 0%, rgba(41, 111, 176, 0) 58%),
        radial-gradient(34rem 34rem at 86% 16%, rgba(0, 154, 218, 0.22) 0%, rgba(0, 154, 218, 0) 52%),
        radial-gradient(28rem 28rem at 74% 82%, rgba(38, 86, 124, 0.22) 0%, rgba(38, 86, 124, 0) 56%),
        linear-gradient(145deg, #07131e 0%, #0d2435 46%, #09131d 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    bottom: 0;
    color: #e8eef5;
    left: 0;
    margin: 0;
    overflow: auto;
    padding: 3.5em 1.5em 2.5em;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

body::before,
body::after {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
}

body::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-position: center center;
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.34) 66%, transparent 100%);
    opacity: 0.35;
}

body::after {
    background:
        radial-gradient(circle at 16% 78%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 25% 65%, rgba(255, 255, 255, 0.10) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 69% 25%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px),
        radial-gradient(circle at 82% 36%, rgba(255, 255, 255, 0.10) 0 1.5px, transparent 2.5px),
        linear-gradient(122deg, transparent 18%, rgba(87, 162, 211, 0.18) 18.4%, transparent 19%, transparent 39%, rgba(87, 162, 211, 0.16) 39.3%, transparent 40%, transparent 62%, rgba(87, 162, 211, 0.12) 62.3%, transparent 63%),
        linear-gradient(300deg, transparent 24%, rgba(255, 255, 255, 0.10) 24.2%, transparent 24.8%, transparent 60%, rgba(255, 255, 255, 0.08) 60.2%, transparent 60.8%);
    opacity: 0.42;
}

.container {
    min-height: calc(100vh - 6rem);
    position: relative;
    z-index: 1;
}

.form-signin .form-control {
    position: relative;
    font-size: 16px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    height: auto;
    box-sizing: border-box;
    background-color: rgba(7, 20, 31, 0.55);
    border: 1px solid rgba(184, 213, 237, 0.16);
    color: #edf3fa;
    min-height: 46px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-signin .form-control:focus {
    background-color: rgba(9, 25, 39, 0.78);
    border-color: rgba(99, 181, 231, 0.75);
    box-shadow: 0 0 0 0.18rem rgba(0, 154, 218, 0.18);
    color: #ffffff;
}

.form-signin .form-control::placeholder {
    color: #96a5b5;
}

.card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(177, 206, 229, 0.18);
    padding: 0 20px 20px;
    margin: 7vh auto 25px;
    border-radius: 22px;
    backdrop-filter: blur(16px);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.card-container.card {
    max-width: 380px;
    padding: 16px 34px 34px;
}

.img-logo-login {
    width: 200px;
    margin: 4px auto 2px;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

input {
    border-radius: 12px;
    margin: 0;
}

input#emausu,
input#senusu {
    padding-left: 42px;
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 20px 20px;
}

input#emausu {
    margin-top: 24px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2396a5b5'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='7'%20r='4'/%3E%3Cpath%20d='M6%2021v-2a4%204%200%200%201%204-4h4a4%204%200%200%201%204%204v2'/%3E%3C/svg%3E");
}

input#senusu {
    margin-top: 10px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2396a5b5'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='5'%20y='11'%20width='14'%20height='10'%20rx='2'/%3E%3Ccircle%20cx='12'%20cy='16'%20r='1'/%3E%3Cpath%20d='M8%2011v-4a4%204%200%200%201%208%200v4'/%3E%3C/svg%3E");
}

.btn-entrar {
    margin-top: 34px;
    min-height: 48px;
    color: #fff;
    border: 1px solid rgba(140, 218, 255, 0.16);
    border-radius: 14px;
    background-image: linear-gradient(135deg, #1497d9 0%, #0a6fb0 100%);
    box-shadow:
        0 16px 30px rgba(10, 111, 176, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-image 0.2s ease;
}

.btn-entrar:hover,
.btn-entrar:focus {
    color: #fff;
    background-image: linear-gradient(135deg, #18a3e6 0%, #0b79be 100%);
    box-shadow:
        0 18px 34px rgba(10, 111, 176, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

#inpipe {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9fb0bf;
}

.navbar.fixed-bottom {
    background-color: transparent !important;
}

.navbar.fixed-bottom a,
.navbar.fixed-bottom div {
    color: #8ea0b0 !important;
}

@media (max-width: 575.98px) {
    body {
        padding: 1.5em 1em 2em;
    }

    body::before {
        background-size: 44px 44px;
        opacity: 0.24;
    }

    .container {
        min-height: calc(100vh - 3rem);
    }

    .card-container.card {
        max-width: 100%;
        padding: 12px 22px 26px;
        margin-top: 5vh;
    }

    .img-logo-login {
        width: 170px;
    }
}
