        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            flex-direction: column;
            transition: background 0.3s, color 0.3s;
        }

        body.dark {
            background: #121212;
            color: white;
        }

        body.light {
            background: #f5f5f5;
            color: black;
        }

        small {
            font-size: 10px;
        }

        .container {
            text-align: center;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            max-width: 350px;
            width: 90%;
            transition: background 0.3s;
        }

        body.dark .container {
            background: #1e1e1e;
        }

        body.light .container {
            background: #fff;
        }

        button {
            margin: 10px;
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            transition: background 0.3s, transform 0.2s;
        }

        body.dark button {
            background: #333;
            color: white;
        }

        body.light button {
            background: #ddd;
            color: black;
        }

        button:hover {
            transform: scale(1.05);
        }

        select {
            margin: 10px;
            padding: 10px 15px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-position: right 10px center;
            background-repeat: no-repeat;
            background-size: 12px;
        }

        body.dark select {
            background: #333 url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center;
            color: white;
        }

        body.light select {
            background: #ddd url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center;
            color: black;
        }

        #historico {
            display: none;
            margin-top: 15px;
            margin-left: 22px;
            max-width: 300px;
            text-align: left;
            transition: all 0.5s ease;
        }

        #historico.show {
            display: block;
            animation: fadeIn 0.4s ease;
        }

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

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

        .senha-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 5px 0px;
            padding: 6px;
            padding-left: 15px;
            border-radius: 10px;
            transition: opacity 0.4s, transform 0.4s;
        }

        body.dark .senha-item {
            background: #2a2a2a;
            color: white;
        }

        body.light .senha-item {
            background: #e0e0e0;
            color: black;
        }

        /* Animação para remover */
        .senha-item.removendo {
            opacity: 0;
            transform: translateX(-50px);
        }

        /* Animação para adicionar */
        .senha-item.nova {
            opacity: 0;
            transform: translateX(50px);
            animation: aparecer 0.4s forwards;
        }

        @keyframes aparecer {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        footer {
            position: fixed;
            bottom: 10px;
            text-align: center;
            width: 100%;
            font-size: 14px;
        }

        footer a {
            text-decoration: none;
            color: unset;
            font-weight: bold;
        }

        #toggleTema {
            position: fixed;
            bottom: 50px;
            left: 10px;
        }