
        .dangling-element2 {
            display: inline-block;
            font-size: 15px;
            font-weight: 600;
            color: darkslategrey;
            position: relative;
            animation: sway 2s ease-in-out infinite alternate;
        }

        @keyframes sway {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(13px);
                /* Adjust the translateX value for sway */
            }
        }

        .swayofr {
            display: inline-block;
            font-size: 15px;
            font-weight: 600;
            color: darkslategrey;
            position: relative;
            animation: sway 2s ease-in-out infinite alternate;
        }

        @keyframes sway {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(13px);
                /* Adjust the translateX value for sway */
            }
        }
    
        form {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }


        input {
            width: 100%;
            max-width: 400px;
            padding: 8px;
            margin: 5px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
            text-align: center;
        }

        button {
            padding: 12px 20px;
            background: #ffcc00;
            border: none;
            cursor: pointer;
            font-weight: bold;
            font-size: 16px;
            color: #333;
            border-radius: 6px;
            transition: all 0.3s ease-in-out;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
        }

        button:hover {
            background: #ffb300;
            transform: scale(1.05);
        }

        button:disabled {
            background: gray;
            cursor: not-allowed;
            opacity: 0.6;
            box-shadow: none;
        }


        .error-msg {
            color: red;
            font-size: 12px;
            display: none;
            /* Hidden by default */
            margin-top: 5px;
        }
    