        /* Custom CSS for animated icons and colors */
        .pop-up-content {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            border: 2px solid;
            padding: 15px;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            z-index: 9999;
        }

        .success {
            background-color: #d4edda;
            border-color: #c3e6cb;
            color: #155724;
        }

        .error {
            background-color: #f8d7da;
            border-color: #f5c6cb;
            color: #721c24;
        }

        .icon::before {
            font-size: 24px;
            display: inline-block;
            margin-right: 10px;
        }

        .success .icon::before {
            content: "\2713"; /* Unicode checkmark character */
            color: #155724;
        }

        .error .icon::before {
            content: "\2717"; /* Unicode ballot x character */
            color: #721c24;
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes scale {
            0% { transform: scale(0); }
            100% { transform: scale(1); }
        }
        .close {
            top: 10px;
            right: 15px;
            color: #fff;
            cursor: pointer;
        }

        .success-message {
            color: #155724;
            background-color: #d4edda;
            border-color: #c3e6cb;
            padding: 0.75rem;
            border: 1px solid transparent;
            border-radius: 0.25rem;
            margin-top: 10px;
            text-align: center;
        }

        .error-message {
            color: #721c24;
            background-color: #f8d7da;
            border-color: #f5c6cb;
            padding: 0.75rem;
            border: 1px solid transparent;
            border-radius: 0.25rem;
            margin-top: 10px;
            text-align: center;
        }