﻿    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            min-height: 100vh;
            padding: 20px;
            display: flex;
        }

        .login-container {
            flex: 1;
            display: flex;
            border-radius: 16px;
            overflow: hidden;
        }

        .image-column {
            flex-basis: 45%;
            background: url('/images/doutora-login.png') no-repeat center center;
            background-size: cover;
            border-radius: 24px;
        }

        .form-column {
            flex-basis: 50%; 
            background-color: #ffffff; 
            padding: 48px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            overflow-y: auto; 
        }

        .form-content {
            width: 100%;
            max-width: 450px;
        }

        .logo {
            max-width: 140px;
            margin: 0 auto 24px auto;
            display: block;
        }

        .form-header h1 {
            font-size: 26px;
            font-weight: 600;
            color: #511F90;
            text-align: center;
            margin-bottom: 8px;
        }

        .form-header p {
            font-size: 14px;
            color: #511F90;
            text-align: center;
            margin-bottom: 32px;
        }


        .form-group {
            margin-bottom: 20px;
        }

            .form-group label {
                display: block;
                font-size: 14px;
                color: #555;
                font-weight: 500;
                margin-bottom: 8px;
            }

            .form-group input {
                width: 100%;
                padding: 12px 16px;
                border: 1px solid #ddd;
                border-radius: 8px;
                font-size: 14px;
                font-family: 'Poppins', sans-serif;
                transition: border-color 0.3s;
            }

                .form-group input:focus {
                    outline: none;
                    border-color: #6a3093;
                }

        .options {
            display: flex;
            align-items: center;
            margin-bottom: 24px;
        }

            .options input[type="checkbox"] {
                margin-right: 8px;
                width: auto;
            }

            .options label {
                font-size: 14px;
                color: #555;
                margin: 0;
                cursor: pointer;
            }

        .submit-btn {
            width: 100%;
            padding: 14px;
            background: #6a3093;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
        }

            .submit-btn:hover {
                background-color: #5c287d;
            }

        .form-links {
          
            margin-top: 24px;
            display: flex;
            flex-direction: column; /* Define a direção como vertical */
            align-items: center; /* Centraliza os itens horizontalmente */
            gap: 16px; /* Cria um espaçamento vertical de 16px entre os links */
        }

            .form-links a {
                font-size: 14px;
                color: #555;
                text-decoration: none;
                display: block;
                transition: color 0.3s;
            }

                .form-links a.forgot-password {
                    margin-bottom: 24px;
                    color: #6a3093;
                    font-weight: 500;
                }

                .form-links a.help-link {
                    display: inline-flex;
                    align-items: center;
                    gap: 8px;
                }

                .form-links a:hover {
                    text-decoration: underline;
                }

        .alert {
            padding: 12px;
            margin-bottom: 20px;
            border: 1px solid transparent;
            border-radius: 8px;
            font-size: 14px;
        }

        .alert-danger {
            color: #721c24;
            background-color: #f8d7da;
            border-color: #f5c6cb;
        }

        .form-link-button {
            margin-bottom: 24px; /* Mantém o espaçamento que você tinha */
        }

        .link-button {
            background: none;
            border: none;
            padding: 0;
            margin: 0;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            color: #6a3093; 
            font-weight: 500;
            cursor: pointer; 
            text-decoration: none;
        }

            .link-button:hover {
                text-decoration: underline;
            }

.settings-menu-container {
    position: relative;
}

.dropdown-menu {
    display: none; /* Começa escondido */
    position: absolute;
    top: calc(100% + 10px); /* Posição abaixo do ícone */
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px Dpx rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #eee;
    padding: 8px 0;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu a,
.logout-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #424242;
    font-size: 14px;
    transition: background-color 0.2s;
    width: 100%;
}

.dropdown-menu a:hover,
.logout-button:hover {
    background-color: #f5f5f5;
}

.logout-button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    position: relative;
    text-align: left;
}

.modal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.modal-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px; 
}

.modal-actions button {
    flex: 1; 
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px; 
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: 1.5px solid transparent;
    transition: all 0.2s ease-in-out;
}

.modal-actions .btn-primary {
    background-color: #511F90; 
    color: white;
    border-color: #511F90;
}

.modal-actions .btn-primary:hover {
    background-color: #411974;
    border-color: #411974;
}

.modal-actions .btn-secondary {
    background-color: white;
    color: #6a3093;   
    border-color: #6a3093;
}

.modal-actions .btn-secondary:hover {
    background-color: #f8f5fa; 
}
@media (max-width: 992px) {

    /* 1. Remove o padding do corpo em telas pequenas */
    body {
        padding: 0;
    }

    /* 2. Remove a sombra e o arredondamento do container principal
          e faz as colunas ficarem uma em cima da outra */
    .login-container {
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
    }

    /* 3. ✅ A MÁGICA ACONTECE AQUI: Esconde a coluna da imagem */
    .image-column {
        display: none;
    }

    /* 4. Faz a coluna do formulário ocupar 100% da largura */
    .form-column {
        flex-basis: 100%;
        /* Opcional: reduzir o padding em telas menores */
        padding: 32px 24px;
        justify-content: flex-start; /* Alinha o form no topo em mobile */
    }

    /* 5. Faz o conteúdo do formulário ocupar a largura total */
    .form-content {
        max-width: 100%;
    }
}