@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');



.l2css h1 {
    font-weight: bold;
    margin: 0;
    font-size: 1.5em !important;
}

.l2css h2 {
    text-align: center;
}

.l2css p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

.l2css span {
    font-size: 12px;
}

.l2css a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.button-l2css {
    border-radius: 20px;
    border: 1px solid #FF4B2B;
    background-color: #FF4B2B;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

.button-l2css:active {
    transform: scale(0.95);
}

.button-l2css:focus {
    outline: none;
}

.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

.l2css form {
    background-color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 0 50px !important;
    height: 100% !important;
    text-align: center !important;
}

.l2css input {
    background-color: #eee !important;
    border: none !important;
    padding: 12px 15px !important;
    margin: 8px 0 !important;
    width: 100% !important;
}

.l2-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 480px;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.l2-container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.l2-container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.l2-container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: #FF416C;
    background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
    background: linear-gradient(to right, #FF4B2B, #FF416C);
    background: url(../img/formbg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: -275px 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
    background-color: #00000094;
    background-blend-mode: multiply;
}

.l2-container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-panel h1 {
    font-weight: bold;
    margin: 0;
    font-size: 1.5em !important;
}

.overlay-left {
    transform: translateX(-20%);
}

.l2-container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.l2-container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.login-success {
    color: #4CAF50;
    background-color: #e7f4e7;
    border: 1px solid #4CAF50;
    padding: 15px;
    margin-bottom: 20px;
}

.login-error {
    color: #D8000C;
    background-color: #FFD2D2;
    border: 1px solid #D8000C;
    padding: 15px;
    margin-bottom: 20px;
}

.logado {
    display: none !important;
}

.saldo-container {
    display: flex;
    align-content: flex-start;
    padding: 15px;
    gap: 5px;
    align-items: center;
    border: solid #F5F4F3 1px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff;
}

.saldo {
    font-size: 1.2em;
    font-weight: 500;
}

.iconsaldo {
    background-color: #8A2322;
    color: #fff;
    padding: 10px;
    border-radius: 15px;
    font-size: 2em;
}

.user-container {
    display: flex;
    align-content: flex-start;
    padding: 15px;
    gap: 5px;
    align-items: center;
    border: solid #F5F4F3 1px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff;
}

.user {
    font-size: 1.2em;
    font-weight: 500;
}

.iconuser {
    background-color: #8A2322;
    color: #fff;
    padding: 10px;
    border-radius: 15px;
    font-size: 2em;
}

.transfer-buttom {
    padding: 8px;
    background-color: #8A2322;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0;
    border: 0;
    transition: background-color 0.5s ease, color 0.5s ease;

}

.transfer-buttom:hover {
    background-color: #F0F2F8;
    color: #8A2322;

}

.transfer input {
    font-size: 15px;
    width: 150px;
    margin: 2px;
}

.transfer input[type=number]::-webkit-inner-spin-button {
    width: 30px;

    height: 50px;
    margin: 17px;
    padding: 5px;
    transform: rotate(90deg);
    filter: sepia(100%) hue-rotate(90deg);
    cursor: pointer;
}

.tab {
    display: none;
    text-align: -webkit-center;
}


#prevBtn {
    background-color: #bbbbbb;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
    background-color: #04AA6D;
}

.transfer button {
    background-color: #04AA6D;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    font-family: Raleway;
    cursor: pointer;
}

.transfer button:hover {
    opacity: 0.8;
}

.transfer {
    align-content: center;

}

.success-notification {
    position: fixed;
    right: -100%;
    top: 50%;
    background-color: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.5s ease-in-out;
    z-index: 1000;
}

.error-notification {
    position: fixed;
    right: -100%;
    top: 50%;
    background-color: #ffdddd;
    color: #d8000c;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.5s ease-in-out;
    /* Animação */
    z-index: 1000;
    /* Garante que fique acima de outros elementos */
}

/* Classe para mudar a posição da notificação (mostrar) */
.show-notification {
    right: 20px;
    /* Distância da direita para ficar visível */
}


.saldo-info,
.codigo-info {
    font-size: 16px;
    margin-bottom: 10px;
}

.trocar-pontos-form {
    display: flex;
    flex-direction: column;
}

.trocar-pontos-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.trocar-pontos-form input[type="number"] {
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.trocar-pontos-form input[type="button"] {
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.trocar-pontos-form input[type="button"]:hover {
    background-color: #218838;
}

#successNotification {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-top: 10px;
}

/* Estilos para o formulário mobile */
.l2-mobile-container {
    background-color: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px auto;
    max-width: 100%;
    width: 100%;
}

/* Abas de navegação */
.l2-mobile-tabs {
    display: flex;
    background: linear-gradient(135deg, #8A2322 0%, #5a0f0e 100%);
    border-radius: 12px 12px 0 0;
}

.l2-mobile-tab {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.l2-mobile-tab.active {
    color: #ffffff;
}

.l2-mobile-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px 3px 0 0;
}

/* Conteúdo das abas */
.l2-mobile-content {
    padding: 0;
    position: relative;
}

.l2-mobile-tab-content {
    display: none;
    padding: 20px;
}

.l2-mobile-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Formulário */
.l2-mobile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.l2-mobile-form-header {
    text-align: center;
    margin-bottom: 10px;
}

.l2-mobile-form-header h2 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 5px;
}

.l2-mobile-form-header p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0;
}

.l2-mobile-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.l2-mobile-form-group label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.l2-mobile-form-group input {
    background-color: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    border-radius: 8px;
    color: #ffffff !important;
    padding: 12px 15px !important;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.l2-mobile-form-group input:focus {
    border-color: #8A2322 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(138, 35, 34, 0.2);
}

.l2-mobile-form-group input::placeholder {
    color: #6a6a6a;
}

.l2-password-hint {
    color: #a0a0a0;
    font-size: 12px;
    margin-top: 5px;
}

.l2-mobile-button {
    background: linear-gradient(135deg, #8A2322 0%, #5a0f0e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(138, 35, 34, 0.3);
}

.l2-mobile-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(138, 35, 34, 0.4);
}

.l2-mobile-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(138, 35, 34, 0.3);
}

.register-button {
    background: linear-gradient(135deg, #04AA6D 0%, #038654 100%);
    box-shadow: 0 4px 12px rgba(4, 170, 109, 0.3);
}

.register-button:hover {
    box-shadow: 0 6px 15px rgba(4, 170, 109, 0.4);
}

.register-button:active {
    box-shadow: 0 2px 8px rgba(4, 170, 109, 0.3);
}

/* Mensagens de erro e sucesso */
.login-error,
.login-success {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.login-error {
    background-color: rgba(214, 54, 56, 0.1);
    border-left: 3px solid #d63638;
    color: #d63638;
}

.login-success {
    background-color: rgba(60, 140, 64, 0.1);
    border-left: 3px solid #3c8c40;
    color: #3c8c40;
}

/* Animações */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.6s cubic-bezier(.36, .07, .19, .97) both;
}

/* Responsividade adicional */
@media (max-width: 480px) {
    .l2-mobile-container {
        border-radius: 0;
        margin: 0;
    }

    .l2-mobile-tabs {
        border-radius: 0;
    }

    .l2-mobile-form-header h2 {
        font-size: 20px;
    }

    .l2-mobile-button {
        padding: 12px 16px;
    }
}