﻿.voltar-home {
    position: absolute;
    top: 60px;
    left: 20px;
    z-index: 10;
}

.voltar-home-link {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .voltar-home-link:hover {
        color: #7f1d1d;
        text-decoration: underline;
    }

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 100px;
    flex-wrap: wrap;
}

.login-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 500px;
    min-height: 360px;
}

.login-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 20px;
    color: #bc0c24;
}

.login-button {
    display: block;
    background-color: #bc0c24;
    border: none;
    color: white;
    padding: 10px;
    width: 100%;
    border-radius: 6px;
    margin-top: 10px;
}

    .login-button:hover {
        background-color: #7f1d1d;
    }

.login-link {
    font-size: 18px;
    color: #991b1b;
    text-decoration: none !important;
    display: block;
    margin-top: 10px;
}

.lkn-senha {
    margin-left: auto;
    text-decoration: none !important;
    color: #bc0c24;
}

.modal-content.rounded-custom {
    border-radius: 16px;
}

a.login-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: white;
}

.rounded-custom {
    border-radius: 16px;
}

.modaheader {
    height: 50px;
    background: linear-gradient(to right, #f0f0f0 80% 80%);
    display: flex;
    position: relative;
    align-items: center;
}

.modal-header.rounded-top-4 {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.modal-footer {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.modal-dialog {
    max-width: 400px;
    margin: 1.75rem auto;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header {
    height: 50px;
    background: linear-gradient(to right, #f0f0f0 80% 80%);
    display: flex;
    position: relative;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}

    .modal-header::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        background-color: #bc0c24;
        z-index: 1;
        clip-path: polygon(100% 0, 100% 0, 10% 100%, 20% 100%);
        -webkit-clip-path: polygon(80% 0, 100% 0, 100% 100%, 90% 100%);
    }

.modal-content.transparent-background {
    background-color: transparent !important;
    box-shadow: none;
    border: none;
}

.modal-backdrop-blur {
    background-color: transparent !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.loading-overlay {
    background-color: transparent !important;
    backdrop-filter: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

@media (max-width: 576px) {
    .login-container {
        margin-top: 40px;
        padding: 0 16px;
    }

    .login-card {
        padding: 20px;
        min-height: 220px;
    }

    .login-title {
        font-size: 20px;
    }

    .login-link {
        font-size: 16px;
    }

    .login-button {
        font-size: 16px;
        padding: 8px;
    }
}

.btn-icon {
    background: transparent;
    border: none;
    padding: 4px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

    .btn-icon:hover {
        color: #000;
    }

@media screen and (orientation: portrait), (max-width: 640px) {
    .login-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 0 12px;
        margin-top: 40px;
    }

    .login-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        padding: 20px;
        min-height: auto;
    }

    .login-title {
        font-size: 20px;
    }

    .login-link,
    .login-button {
        font-size: 16px;
    }
}


.btn-eye {
    cursor: pointer;
    color: #495057;
    padding: 4px 6px;
    font-size: 16px;
    height: 33px;
    width: 36px;
    border-left: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-eye:hover {
        color: #000;
    }


.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}


.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

   
    .toggle-switch input[type=checkbox] {
        opacity: 0;
        width: 0;
        height: 0;
    }

   
    .toggle-switch label {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        border-radius: 20px;
        transition: 0.4s;
    }

       
        .toggle-switch label:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            border-radius: 50%;
            transition: 0.4s;
        }

   
    .toggle-switch input:checked + label {
        background-color: #4CAF50;
    }

        .toggle-switch input:checked + label:before {
            transform: translateX(20px);
        }


.toggle-text {
    font-family: 'Roboto', sans-serif; /* fonte Roboto */
    font-size: 14px;
    user-select: none;
}


.outras-opcoes {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: 14px;
    margin: 20px 0 16px;
}

    .outras-opcoes::before,
    .outras-opcoes::after {
        content: "";
        flex: 1;
        height: 1px;
        background-color: #e5e7eb;
    }


.opcoes-botoes {
    display: flex;
    gap: 12px;
}

.btn-opcao {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    text-decoration: none !important;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-opcao i {
        color: #bc0c24; 
        font-size: 16px;
    }

    .btn-opcao:hover {
        border-color: var(--color-primary);
        background-color: #fef2f2;
    }





.loading-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--color-primary);
}

