﻿body {
    font-family: Helvetica, Arial, sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(to bottom right, #205D83, #2B5BA0, #3A7BB8);
}

.backgroundImage {
    display: block;
    cursor: pointer;
    width: 230px;
    margin-bottom: 39px
}

.card-panel {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 448px;
    margin: 0 auto;
    overflow: hidden;
}

.card-body {
    padding: 40px;
}

.card-title {
    text-align: center;
    font-size: 18px;
    margin: 0;
}

.card-subtitle {
    text-align: center;
    font-size: 13px;
    margin: 10px 0 26px 0;
    color: #6b7280;
}


.input-icon-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3af;
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}

.input-icon-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3af;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
}

.buttonLogin {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: #00A77F;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
    transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

    .buttonLogin:hover {
        background: #22C55E;
    }

    .buttonLogin:focus {
        outline: none;
    }

    .buttonLogin:active {
        transform: translateY(1px);
    }

.card-footer a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

    .card-footer a:hover {
        text-decoration: underline;
    }

.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-footer {
    width: 100%;
    display: block;
    background-color: #f9fafb;
    border-top: 1px solid #E5E7EB;
    padding: 26px 40px;
    text-align: center;
}

.form-control,
.input {
    width: 100%;
    height: 56px;
    padding: 14px 16px 14px 48px;
    outline: none;
    background-color: var(--color-gray-50) !important;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    transition: background-color 200ms ease, border-color 200ms ease;
}

    .form-control:focus,
    .input:focus {
        background: #FFFFFF;
        border-color: #2B5BA0;
    }

.password .form-control,
.password .input {
    padding-right: 52px;
}

.form-control:focus,
.input:focus {
    border-color: #d4d9e6;
}

.field-validation-error {
    position: static;
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #dc2626 !important;
    white-space: normal;
}

.forgot-row {
    text-align: right;
    margin: 6px 0 18px 0;
    font-size: 14px;
}

    .forgot-row a {
        color: #1d4ed8;
        text-decoration: none;
    }

        .forgot-row a:hover {
            text-decoration: underline;
        }

.form-group {
    display: block;
    width: 100%;
    float: none;
    margin: 0 0 18px 0;
}

    .form-group label {
        display: block;
        margin: 0 0 10px 0;
        font-size: 14px;
        color: #111;
    }

.input-wrap {
    position: relative;
    width: 100%;
}

    .input-wrap > input.form-control {
        padding: 14px 16px 14px 48px;
        background-color: #F9FAFB;
        border: 2px solid #E5E7EB;
        border-radius: 12px;
        transition: background-color 200ms ease, border-color 200ms ease;
    }

.password .input-wrap > input.form-control {
    padding-right: 52px;
}

.input-wrap > input.form-control:focus {
    background-color: #FFFFFF;
    border-color: #2B5BA0;
}

.input-wrap > input.form-control {
    height: 56px;
    min-height: 56px;
    line-height: 28px;
    box-sizing: border-box;
}

.buttonLogin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .buttonLogin .btn-icon {
        transition: transform 200ms ease;
    }

    .buttonLogin:hover .btn-icon {
        transform: translateX(4px);
    }

/* Mobile */
@media (max-width: 768px) {
    .card-body {
        padding: 32px;
    }

    .card-footer {
        padding: 28px 82px;
    }

    .card-panel {
        max-width: 348px;
    }
}

/* Notebook baixo */
@media (min-width: 769px) and (max-height: 900px) {
    .card-body {
        padding: 38px;
    }

    .card-panel {
        max-width: 448px;
    }

    .card-footer {
        padding: 16px 24px;
    }

    .form-control {
        height: 50px;
    }

    .card-subtitle {
        margin-bottom: 18px;
    }
}

/* Desktop */
@media (min-width: 769px) and (max-height: 1200px) {
    .card-panel {
        width: 440px;
    }
}
