h1,
h2,
p {
    color: #ffffff;
}

body,
html {
    height: 100%;
}

body.login-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(120deg, rgba(6, 12, 18, 0.84), rgba(6, 12, 18, 0.56)),
        url("../img/login-tecnobox-bg.svg") center center / cover no-repeat;
}

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

body.login-page::before {
    background:
        radial-gradient(circle at 18% 16%, rgba(140, 198, 63, 0.16), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(39, 174, 96, 0.14), transparent 24%);
}

body.login-page::after {
    background: linear-gradient(90deg, rgba(3, 8, 13, 0.62), rgba(3, 8, 13, 0.12) 48%, rgba(3, 8, 13, 0.46));
}

.container {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding-top: 0;
}

.card-container.card {
    width: 100%;
    padding: 38px 34px 30px;
    margin: 0;
}

.btn {
    font-weight: 700;
    height: 46px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.card {
    background: linear-gradient(180deg, rgba(8, 16, 28, 0.82), rgba(10, 22, 34, 0.94));
    padding: 20px 25px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(140, 198, 63, 0.14), transparent 36%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

.profile-img-card {
    position: relative;
    z-index: 1;
    width: 108px;
    height: 108px;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.login-copy {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 24px;
}

.login-copy::after {
    content: "";
    display: block;
    width: 74px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #8cc63f, #27ae60);
    box-shadow: 0 8px 18px rgba(39, 174, 96, 0.22);
}

.login-title {
    margin: 0;
    color: #eef7ff;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    text-wrap: balance;
}

.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.form-signin #inputEmail,
.form-signin #inputPassword {
    direction: ltr;
    height: 48px;
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 12px;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
}

.form-signin .form-control {
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-signin .form-control::placeholder {
    color: rgba(226, 232, 240, 0.62);
}

.form-signin .form-control:focus {
    border-color: #8cc63f;
    outline: 0;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.14);
    color: #ffffff;
}

.btn.btn-signin {
    padding: 0;
    font-weight: 700;
    font-size: 15px;
    height: 46px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #8cc63f, #27ae60);
    box-shadow: 0 16px 30px rgba(39, 174, 96, 0.3);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn.btn-signin:hover,
.btn.btn-signin:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(39, 174, 96, 0.36);
    filter: brightness(1.03);
}

.forgot-password {
    color: #9bc8ff;
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus {
    color: #8cc63f;
}

@media (max-width: 576px) {
    body.login-page {
        padding: 20px 12px;
    }

    .card-container.card {
        padding: 26px 22px 22px;
    }

    .profile-img-card {
        width: 94px;
        height: 94px;
        margin-bottom: 16px;
    }

    .login-title {
        font-size: 30px;
    }
}