/* LoginPortal - Casa das Retros */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
}

.login-page {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-hero {
    flex: 0 0 60%;
    position: relative;
    background-color: #0a0a0a;
    min-height: 100vh;
    overflow: hidden;
}

.login-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.login-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.45) 100%);
}

.login-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 48px 56px;
}

.login-hero__logo img {
    max-width: 220px;
    height: auto;
}

.login-hero__text {
    max-width: 520px;
    margin-left: auto;
    margin-right: 0;
    color: #fff;
    text-align: right;
}

.login-hero__text h1 {
    margin: 0 0 16px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.login-hero__text h1 span {
    color: #F58220;
}

.login-hero__text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
}

.login-panel {
    flex: 0 0 40%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
}

.login-panel__inner {
    width: 100%;
    max-width: 380px;
}

.login-panel__logo {
    text-align: center;
    margin-bottom: 36px;
}

.login-panel__logo img {
    max-width: 240px;
    width: 100%;
    height: auto;
}

.login-field {
    position: relative;
    margin-bottom: 22px;
}

.login-field label {
    position: absolute;
    top: -9px;
    left: 14px;
    background: #fff;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    z-index: 1;
}

.login-field input[type="text"],
.login-field input[type="password"],
.login-field textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 24px;
    padding: 0 44px 0 18px;
    font-size: 14px;
    color: #000;
    outline: none;
    background: #fff;
    font-family: inherit;
}

.login-field input[type="text"],
.login-field input[type="password"] {
    height: 48px;
}

.login-field textarea {
    min-height: 96px;
    padding: 14px 18px;
    resize: vertical;
}

.login-field input:focus,
.login-field textarea:focus {
    border-color: #F58220;
}

.login-field--password input {
    padding-right: 48px;
}

.login-field__toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    padding: 0;
    line-height: 1;
}

.login-field__toggle:hover {
    color: #000;
}

.btn-acessar {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 24px;
    background: #F58220;
    color: #000 !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

.btn-acessar:hover {
    background: #e07518;
}

.login-signup {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #000;
}

.login-signup a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

.login-signup a:hover {
    color: #F58220;
}

.login-panel__title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

.login-panel__subtitle {
    text-align: center;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #000;
    text-decoration: underline;
}

.login-back:hover {
    color: #F58220;
}

.divWaiting {
    position: fixed;
    z-index: 2147483647 !important;
    opacity: 1;
    overflow: hidden;
    text-align: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding-top: 5%;
    background: rgba(255, 255, 255, 0.85);
}

.divWaitingcenter {
    z-index: 1000;
    margin: 100px auto;
    padding: 30px;
    width: 430px;
    background-color: #fff;
    border-radius: 30px;
    opacity: 1;
}

@media (max-width: 992px) {
    .login-page {
        flex-direction: column;
    }

    .login-hero,
    .login-panel {
        flex: none;
        width: 100%;
    }

    .login-hero {
        min-height: 320px;
    }

    .login-hero__content {
        padding: 32px 24px;
    }

    .login-hero__text {
        margin-left: 0;
        text-align: left;
        max-width: 100%;
    }

    .login-hero__text h1 {
        font-size: 24px;
    }

    .login-panel {
        padding: 32px 24px 48px;
    }
}
